public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* multiple cross compilers
@ 2001-09-28  6:12 Der Herr Hofrat
  0 siblings, 0 replies; only message in thread
From: Der Herr Hofrat @ 2001-09-28  6:12 UTC (permalink / raw)
  To: gcc-help

HI !

 I built a cross-compiler for mpc860 (target ppc-linux -mcpu=860 -msoft-float) 
 and a second one for 6xx ppc cpu - the problem is that both want to have there
 as/ar/ranlib/etc in the directory TARGET/bin/ but that is ppc-linux in both 
 cases so I can't have them installed at the same time. 

 what I did is put the mpc860 stuff into a mpc860-linux directory renaming all
 the cross-compiler stuff to mpc860-linux-gcc etc. passing this via Makefile or
 env's when compiling - but this does not work at all. if I then link the
 mpc860-linux directory to ppc-linux without that I change my naming sheme
 then all goes fine !

 I have not found any way to tell gcc while building for a cross-compiler where
 to search for the tools - the only flag associated with this problem seems to
 be --target=ppc-linux and that seems to be used as the directory name to 
 search for the tools . Any idea how to pass a diferent directory for search
 at configure/compile time ?

thx !
hofrat

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-28  6:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-28  6:12 multiple cross compilers Der Herr Hofrat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).