public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Der Herr Hofrat <der.herr@hofr.at>
To: gcc-help@gcc.gnu.org
Subject: multiple cross compilers
Date: Fri, 28 Sep 2001 06:12:00 -0000	[thread overview]
Message-ID: <200109281314.f8SDEqn28880@kanga.hofr.at> (raw)

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

                 reply	other threads:[~2001-09-28  6:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200109281314.f8SDEqn28880@kanga.hofr.at \
    --to=der.herr@hofr.at \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).