• 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: More about cross compiling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More about cross compiling


  • Subject: Re: More about cross compiling
  • From: Prachi Gauriar <email@hidden>
  • Date: Wed, 27 Oct 2004 11:41:53 -0400


On Oct 24, 2004, at 9:56 PM, Jeff Laing wrote:

As far as I know, this is no magic command-line switch that can be passed to
gcc to have it generate code targetting a different CPU.

From the gcc man page:
-b machine
The argument machine specifies the target machine for compilation.


The value to use for machine is the same as was specified as the
machine type when configuring GCC as a cross-compiler. For exam-
ple, if a cross-compiler was configured with 'configure i386v', mean-
ing to compile for an 80386 running System V, then you would spec-
ify '-b i386v' to run that cross compiler.


Obviously, you would have to configure and build gcc with the appropriate options.

-Prachi

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: More about cross compiling
      • From: Philipp DonzĂ© <email@hidden>
References: 
 >RE: More about cross compiling (From: Jeff Laing <email@hidden>)

  • Prev by Date: Running a binary from terminal
  • Next by Date: Re: XCode makes easy things hard...
  • Previous by thread: RE: More about cross compiling
  • Next by thread: Re: More about cross compiling
  • Index(es):
    • Date
    • Thread