Re: More about cross compiling
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