LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cross compiling utftpd on x86 for arm (https://www.linuxquestions.org/questions/linux-software-2/cross-compiling-utftpd-on-x86-for-arm-545706/)

SachinTCS 04-13-2007 04:34 AM

Cross compiling utftpd on x86 for arm
 
I have downloaded the utftpd package utftpd-0.2.4.tar.gz.I have been able to compile the same on the x86/linux system.I did this by running ./configure and make command.

The same needs to be compiled for ARM/linux.I have installed the arm-linux-gcc compiler on my x86 machine.How do i tell ./configure to the generate the makefile for ARM/linux. Any pointers on this will be of help to me.
Please advice.

maroonbaboon 04-13-2007 09:50 PM

The usual thing is to have a full development set-up for the target machine, with its own libraries, include files etc. Then you fool the host machine into using it instead of the standard one by relocating the root directory using the 'chroot' command.

I don't think you can just switch to a different compiler and expect to get a working binary.


All times are GMT -5. The time now is 12:35 AM.