• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cross-platform compiling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross-platform compiling


  • Subject: Re: Cross-platform compiling
  • From: Brian K Smith <email@hidden>
  • Date: Tue, 28 Oct 2003 16:12:11 -0700

I don't think this is trivial. You should be able to do it by compiling a cross compiler version of gcc 3.3 on your PowerBook, so it is not as trivial as a compiler switch. You should download the source for gcc from ftp://ftp.gnu.org/pub/gcc (WARNING:URL typed from memory) then unarchive the tarball and find the build instructions which has a section on building a cross compiler. Any none standard math or file io libraries will have to be built with your cross compiler. I have a cross compiler built for palm os development,(which is for m68k and ARM) so I know it possible.

Good Luck,
Brian

On Tuesday, October 28, 2003, at 01:11 PM, Prasanna Krishnamoorthy wrote:

Hello all,

Forgive me if this is trivial, but I searched the list, and tried the documentation, and could not find an answer.

I run numerical simulations on x86 Linux, and would like to used XCode as my IDE. The target processor would be an AMD Athlon XP running RH 9.0. There is no GUI or anything fancy, just some simple file I/O and hardcore simulation/math. My lab has a ton of these systems, and it's much faster than running the simulations on my PowerBook :-).

Since the compiler used is GCC 3.3, I figured I might be able to change the -march flag somewhere and get the required executable file. I might have to do a static link, as the RH box does not have GCC 3.3, but that's ok I guess.

Thank in advance, and apologies if it's a stupid question.

Prasanna.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Cross-platform compiling (From: Prasanna Krishnamoorthy <email@hidden>)

  • Prev by Date: Re: Syntax-Aware Indenting and C++
  • Next by Date: Re: Yet another build styles question
  • Previous by thread: Cross-platform compiling
  • Next by thread: Re: Can XCode and PB Coexist?
  • Index(es):
    • Date
    • Thread