LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-13-2007, 05:34 AM   #1
SachinTCS
LQ Newbie
 
Registered: Apr 2007
Posts: 3

Rep: Reputation: 0
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.
 
Old 04-13-2007, 10:50 PM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross compiling utftpd on arm linux SachinTCS Linux - Software 1 04-13-2007 11:03 PM
Cross compiling utftpd for arm SachinTCS Linux - Desktop 1 04-13-2007 03:11 AM
How to check ARM Cross-Compiler MKSrivastava Debian 1 02-07-2006 03:39 AM
cross compiling packages like PWLIB for ARM Anurag_Arjun Programming 0 01-18-2006 01:16 AM


All times are GMT -5. The time now is 03:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration