This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Setting up a build tree for a new architecture


J. Johnston writes:
 > "H. Peter Anvin" wrote:
 > > [...]
 > > I have added my new platform, i386-pc-com32, to config.sub, and since
 > > newlib seems to insist on calling i386-pc-com32-<toolname> for all the
 > > tools (gcc, ld, ar, ...) I set up symlinks for them.
 > > [...]
 > 
 > [...]
 > Note you can override the tools used when you issue the make command.  There are a
 > number of them, all ending in _FOR_TARGET:
 > 
 >   CC_FOR_TARGET, AS_FOR_TARGET, LD_FOR_TARGET, RANLIB_FOR_TARGET, AR_FOR_TARGET, NM_FOR_TARGET
 > 
 > e.g. make all-target-newlib CC_FOR_TARGET=i386-elf-gcc AS_FOR_TARGET=i386-elf-as ...

I wonder if newlib should obey --program-prefix, etc.
[if it doesn't already].

Maybe what one wants is --build-program-prefix.  Ugh.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]