LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 05-16-2009, 04:51 PM   #1
deathalele
Member
 
Registered: May 2008
Location: deep dark north wales
Distribution: Zenwalk
Posts: 162

Rep: Reputation: 30
compile app for arm processor on i686 computer


I have i i686 processor and want to compile a basic hello world program for my ipod touch which uses the arm processor.

I'm thinking i should be able to do this with gcc and a long list of flags.


thanks in advance
 
Old 05-16-2009, 06:04 PM   #2
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
Quote:
Originally Posted by deathalele View Post
I have i i686 processor and want to compile a basic hello world program for my ipod touch which uses the arm processor.

I'm thinking i should be able to do this with gcc and a long list of flags.


thanks in advance
Your thinking is wrong - you need a cross-compiler.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile Code for ARM-Processor toredo Linux - Embedded & Single-board computer 15 03-02-2012 02:56 AM
par2 for arm processor steve51184 Linux - Software 8 02-04-2009 01:18 PM
Compile the linux2.6.14.1 for arm must ues the arm-linux-gcc-3.4.4? frankyue Linux - Embedded & Single-board computer 2 12-20-2008 07:28 AM
Installing Ubuntu on i686 processor Delpheno Ubuntu 4 08-12-2008 04:32 PM
video grabbing application for ARM processor ravi_chobey Linux - Embedded & Single-board computer 3 08-07-2008 09:46 AM


All times are GMT -5. The time now is 06:29 AM.

Main Menu
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