This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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] |
make[8]: Nothing to be done for `all'. Making all in machine Making all in powerpc make[9]: Nothing to be done for `all'. Making all in . make[9]: Nothing to be done for `all-am'. Making all in . make[8]: Nothing to be done for `all-am'. Making all in libm Making all in math make[8]: Nothing to be done for `all'. Making all in common make[8]: Nothing to be done for `all'. make[8]: Nothing to be done for `all-am'. Making all in . make[7]: Nothing to be done for `all-am'. Making all in libc make[4]: *** No rule to make target `all'. Stop. make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-target-newlib] Error 2 make: *** [all] Error 2
On Fri, Jun 15, 2007 at 09:50:42AM +0200, Timo Kerstan wrote:Hello there,
Can anyone tell me how to properly do this?
I suggest you create a combined source tree. This is easiest if you get
the sources using cvs and svn, because then binutils, gdb, newlib and the
simulator are already in a combined tree. But since you probably have the
source tarballs, try something like this:
mkdir src cd src tar -jxf gcc-xxx.tar.bz2 tar -jxf newlib-xxx.tar.bz2 tar -jxf binutils-xxx.tar.bz2 tar -jxf gdb-xxx.tar.bz2 ... mkdir combined cd combined ln -s ../gcc-xxx/* . ln -s ../newlib-xxx/* ln -s ../binutils-xxx/* ln -s ../gdb-xxx/* ... cd ../.. mkdir build cd build ../src/combined/configure --target=powerpc-eabi --prefix=... \ --with-newlib --enable-sim ... make make install
There is some overlap (e.g. libiberty) between the source packages, and
normally you want to use what's in the gcc sources. But I've had a case
where libiberty from gcc was too old to compile binutils and then it should
be OK to use the one from the binutils instead.
Btw, the target powerpc-eabisim defaults to a setup suitable for producing
binaries to run on the simulator.
I tried this http://www.ifp.uiuc.edu/~nakazato/tips/xgcc.html
But it doesn't work using binutils 2.17, gcc 4.1.2 and newlib 1.15.0...
How do you know it doesn't work[1]?
[1] Always post the error message or something like that.
-- Rask Ingemann Lambertsen
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |