21 Jun
                
                    2009
                
            
            
                21 Jun
                
                '09
                
            
            
            
        
    
                12:09 p.m.
            
        Stephen Feyrer wrote:
Hi.
I'm trying to cross compile dovecot.
My desktop machine is an AMD64 box with bells and whistles. The ARM based machine is a network attached storage box. When I run "make" always get x86_64 binaries. My OS is Gentoo, so I have been able to build using emerge a variety of other programs from source. What am I doing wrong here. (Gentoo doesn't have Dovecot for the arm)
I run: ./configure --prefix=/opt --target=armv5tel-softfloat-linux-gnueabi host=armv5tel-softfloat-linux-gnueabi --build=x86_64-pc-linux-gnu --cache-file=config.cache
This was due to a typo that I missed.
Ths host sections should have read --host=armv5tel-softfloat-linux-gnueabi
I am sorry I did not spot this earlier.
-- Stephen.