This is the mail archive of the
crossgcc@sourceware.org
mailing list for the crossgcc project.
See the CrossGCC FAQ for lots
more information.
Re: cross compiler
- From: Colin Paul Gloster <Colin_Paul_Gloster at ACM dot org>
- To: crossgcc at sources dot redhat dot com
- Date: Tue, 1 Aug 2006 10:18:03 +0200 (CEST)
- Subject: Re: cross compiler
- References: <20060801021530.M32224@ihep.ac.cn>
- Reply-to: crossgcc at sources dot redhat dot com
On Tue, 1 Aug 2006, Haoli Shi emailed:
"[..] but after I execute the command ./configure,
make and make install, I can't get powerpc-rtems-g++, powerpc-rtems-gccbug,
powerpc-rtems-sorttimes and so on, [..]"
It would be strange to run make followed by make install if make ended
with an error and did not produce powerpc-rtems-gcc etc. So I suspect that
powerpc-rtems-gcc etc. have been produced and installed correctly, but
that you do not seem to be aware of where they have been installed or you
have not added the directory to your PATH environment variable. If this is
the case, I suggest you determine where it has been installed to (you
could use the command
find / -name powerpc-rtems-gcc
on a UNIX(R) compatible operating system, but it may be easier to inspect
the file config.log where you ran ./configure or just run
make distclean
./configure --prefix=/where_you_want_the_crosscompiler
make
make install
(as you specifically mentioned these commands, I suppose you are not using
Dan Kegel's crosstool from HTTP://Kegel.com/crosstool/ ) then
powerpc-rtems-gcc should exist at
/where_you_want_the_crosscompiler/bin/powerpc-rtems-gcc so if you use the
BASH shell you could do
export PATH=$PATH:/where_you_want_the_crosscompiler/bin
so that you can run the program by simply typing powerpc-rtems-gcc instead
of /where_you_want_the_crosscompiler/bin/powerpc-rtems-gcc each time.
Regards,
Colin Paul Gloster
--
For unsubscribe information see http://sourceware.org/lists.html#faq