public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Building a cross-compiler for powerpc-eabi
@ 2007-06-15 10:16 Timo Kerstan
  2007-06-15 12:58 ` Rask Ingemann Lambertsen
  2007-06-15 19:40 ` Rask Ingemann Lambertsen
  0 siblings, 2 replies; 10+ messages in thread
From: Timo Kerstan @ 2007-06-15 10:16 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

Hello there,

Can anyone tell me how to properly do this?
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...


With kind regards
Timo Kerstan

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4120 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Building a cross-compiler for powerpc-eabi
  2007-06-15 10:16 Building a cross-compiler for powerpc-eabi Timo Kerstan
@ 2007-06-15 12:58 ` Rask Ingemann Lambertsen
  2007-06-15 14:29   ` Timo Kerstan
  2007-06-15 15:04   ` Timo Kerstan
  2007-06-15 19:40 ` Rask Ingemann Lambertsen
  1 sibling, 2 replies; 10+ messages in thread
From: Rask Ingemann Lambertsen @ 2007-06-15 12:58 UTC (permalink / raw)
  To: Timo Kerstan; +Cc: gcc-help

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Building a cross-compiler for powerpc-eabi
  2007-06-15 12:58 ` Rask Ingemann Lambertsen
@ 2007-06-15 14:29   ` Timo Kerstan
  2007-06-15 15:17     ` Segher Boessenkool
  2007-06-15 15:04   ` Timo Kerstan
  1 sibling, 1 reply; 10+ messages in thread
From: Timo Kerstan @ 2007-06-15 14:29 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 2335 bytes --]

Hi,

i did everything you described below an get the following message.  
I'm building the cross compiler on Mac OS X....

gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 - 
o size size.o bucomm.o version.o filemode.o  ../bfd/.libs/libbfd.a ../ 
libiberty/libiberty.a ./../intl/libintl.a
/usr/bin/ld: Undefined symbols:
_libiconv
_libiconv_close
_libiconv_open
_libiconv_set_relocation_prefix
collect2: ld returned 1 exit status
make[4]: *** [size] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-binutils] Error 2
make: *** [all] Error 2

Right now i'm building binutils explicitly and will try to compile  
the rest as a combined tree...

Am 15.06.2007 um 14:16 schrieb Rask Ingemann Lambertsen:

> 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 #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4120 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Building a cross-compiler for powerpc-eabi
  2007-06-15 12:58 ` Rask Ingemann Lambertsen
  2007-06-15 14:29   ` Timo Kerstan
@ 2007-06-15 15:04   ` Timo Kerstan
  2007-06-15 15:51     ` Rask Ingemann Lambertsen
  1 sibling, 1 reply; 10+ messages in thread
From: Timo Kerstan @ 2007-06-15 15:04 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 2628 bytes --]

Binutils built correctly and is working. I added it to the path...

First he complained about config.cache... He told me to remove it and  
run over....
Now there's a different problem compiling gcc, newlib and gdb as a  
combined tree... The make target all seems not to be defined in the  
libc folder of newlib...
I'm not very well known to make and that configure scripts....

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 #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4120 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Building a cross-compiler for powerpc-eabi
  2007-06-15 14:29   ` Timo Kerstan
@ 2007-06-15 15:17     ` Segher Boessenkool
  0 siblings, 0 replies; 10+ messages in thread
From: Segher Boessenkool @ 2007-06-15 15:17 UTC (permalink / raw)
  To: Timo Kerstan; +Cc: gcc-help

> i did everything you described below an get the following message. I'm 
> building the cross compiler on Mac OS X....
>
> gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 
> -o size size.o bucomm.o version.o filemode.o  ../bfd/.libs/libbfd.a 
> ../libiberty/libiberty.a ./../intl/libintl.a
> /usr/bin/ld: Undefined symbols:
> _libiconv
> _libiconv_close
> _libiconv_open
> _libiconv_set_relocation_prefix
> collect2: ld returned 1 exit status

[don't top-post]

Try configuring with --disable-nls, you won't have message
translations that way but the toolchain will build at least
(unless you hit some other problem...)


Segher

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Building a cross-compiler for powerpc-eabi
  2007-06-15 15:04   ` Timo Kerstan
@ 2007-06-15 15:51     ` Rask Ingemann Lambertsen
  0 siblings, 0 replies; 10+ messages in thread
From: Rask Ingemann Lambertsen @ 2007-06-15 15:51 UTC (permalink / raw)
  To: Timo Kerstan; +Cc: gcc-help

On Fri, Jun 15, 2007 at 04:41:07PM +0200, Timo Kerstan wrote:
> Binutils built correctly and is working. I added it to the path...
> 
> First he complained about config.cache... He told me to remove it and  
> run over....
> Now there's a different problem compiling gcc, newlib and gdb as a  
> combined tree... The make target all seems not to be defined in the  
> libc folder of newlib...
> I'm not very well known to make and that configure scripts....
> 
> 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

   You need to run make from the top level of your build tree, i.e. the same
directory in which you ran configure. Then Makefile will be created in each
directory as needed. I suggest you configure again with --disable-nls. I've
always used --disable-nls.

   And please don't top-post.

-- 
Rask Ingemann Lambertsen

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Building a cross-compiler for powerpc-eabi
  2007-06-15 10:16 Building a cross-compiler for powerpc-eabi Timo Kerstan
  2007-06-15 12:58 ` Rask Ingemann Lambertsen
@ 2007-06-15 19:40 ` Rask Ingemann Lambertsen
  2007-06-16  9:14   ` Timo Kerstan
  1 sibling, 1 reply; 10+ messages in thread
From: Rask Ingemann Lambertsen @ 2007-06-15 19:40 UTC (permalink / raw)
  To: Timo Kerstan; +Cc: gcc-help

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 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...

   It works for me with a combined tree. Here's exactly how I did:

$ cd ~/src
$ wget http://ftp.download-by.net/gnu/gnu/binutils/binutils-2.17.tar.bz2 -O - | tar -jxf -
$ wget http://ftp.download-by.net/gnu/gnu/gcc/gcc-4.1.2/gcc-core-4.1.2.tar.bz2 -O - | tar -jxf -
$ wget http://ftp.download-by.net/gnu/gnu/gcc/gcc-4.1.2/gcc-g++-4.1.2.tar.bz2 -O - | tar -jxf -
$ wget http://ftp.download-by.net/gnu/gnu/gcc/gcc-4.1.2/gcc-objc-4.1.2.tar.bz2 -O - | tar -jxf -
$ wget ftp://sources.redhat.com/pub/newlib/newlib-1.15.0.tar.gz -O - | tar -zxf -
$ mkdir combined
$ cd combined
$ ln -s ../gcc-4.1.2/* .
$ ln -s ../binutils-2.17/* .
[several complaints from ln about existing links]
$ ln -s ../newlib-1.15.0/* .
[several complaints from ln about existing links]
$ cd ../..
$ mkdir testbuild
$ cd testbuild
$ ../src/combined/configure --target=powerpc-eabi --disable-nls --with-newlib --prefix=/usr/local/gcc
$ time nice make
[...]

real    132m26.081s
user    68m57.928s
sys     57m32.501s

-- 
Rask Ingemann Lambertsen

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Building a cross-compiler for powerpc-eabi
  2007-06-15 19:40 ` Rask Ingemann Lambertsen
@ 2007-06-16  9:14   ` Timo Kerstan
  2007-06-16 22:39     ` Timo Kerstan
  0 siblings, 1 reply; 10+ messages in thread
From: Timo Kerstan @ 2007-06-16  9:14 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 1940 bytes --]


> 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 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...
>
>    It works for me with a combined tree. Here's exactly how I did:
>
> $ cd ~/src
> $ wget http://ftp.download-by.net/gnu/gnu/binutils/ 
> binutils-2.17.tar.bz2 -O - | tar -jxf -
> $ wget http://ftp.download-by.net/gnu/gnu/gcc/gcc-4.1.2/gcc- 
> core-4.1.2.tar.bz2 -O - | tar -jxf -
> $ wget http://ftp.download-by.net/gnu/gnu/gcc/gcc-4.1.2/gcc-g+ 
> +-4.1.2.tar.bz2 -O - | tar -jxf -
> $ wget http://ftp.download-by.net/gnu/gnu/gcc/gcc-4.1.2/gcc- 
> objc-4.1.2.tar.bz2 -O - | tar -jxf -
> $ wget ftp://sources.redhat.com/pub/newlib/newlib-1.15.0.tar.gz -O  
> - | tar -zxf -
> $ mkdir combined
> $ cd combined
> $ ln -s ../gcc-4.1.2/* .
> $ ln -s ../binutils-2.17/* .
> [several complaints from ln about existing links]
> $ ln -s ../newlib-1.15.0/* .
> [several complaints from ln about existing links]
> $ cd ../..
> $ mkdir testbuild
> $ cd testbuild
> $ ../src/combined/configure --target=powerpc-eabi --disable-nls -- 
> with-newlib --prefix=/usr/local/gcc
> $ time nice make
> [...]
>
> real    132m26.081s
> user    68m57.928s
> sys     57m32.501s
>
> -- 
> Rask Ingemann Lambertsen

/Users/morpheus/Documents/Software/gcc/testbuild/./binutils/ar rc ../ 
libc.a *.o
/Users/morpheus/Documents/Software/gcc/testbuild/./binutils/ranlib  
libc.a
ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a libg.a
rm -rf tmp
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

There it is again.... I did it exactly like you did. I'm wondering if  
the make tools on OS X could be the problem.... I'm using the

Timo



[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4120 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Building a cross-compiler for powerpc-eabi
  2007-06-16  9:14   ` Timo Kerstan
@ 2007-06-16 22:39     ` Timo Kerstan
  2007-06-18 11:47       ` Timo Kerstan
  0 siblings, 1 reply; 10+ messages in thread
From: Timo Kerstan @ 2007-06-16 22:39 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 2085 bytes --]


>
>> 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 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...
>>
>>    It works for me with a combined tree. Here's exactly how I did:
>>
>> $ cd ~/src
>> $ wget http://ftp.download-by.net/gnu/gnu/binutils/ 
>> binutils-2.17.tar.bz2 -O - | tar -jxf -
>> $ wget http://ftp.download-by.net/gnu/gnu/gcc/gcc-4.1.2/gcc- 
>> core-4.1.2.tar.bz2 -O - | tar -jxf -
>> $ wget http://ftp.download-by.net/gnu/gnu/gcc/gcc-4.1.2/gcc-g+ 
>> +-4.1.2.tar.bz2 -O - | tar -jxf -
>> $ wget http://ftp.download-by.net/gnu/gnu/gcc/gcc-4.1.2/gcc- 
>> objc-4.1.2.tar.bz2 -O - | tar -jxf -
>> $ wget ftp://sources.redhat.com/pub/newlib/newlib-1.15.0.tar.gz -O  
>> - | tar -zxf -
>> $ mkdir combined
>> $ cd combined
>> $ ln -s ../gcc-4.1.2/* .
>> $ ln -s ../binutils-2.17/* .
>> [several complaints from ln about existing links]
>> $ ln -s ../newlib-1.15.0/* .
>> [several complaints from ln about existing links]
>> $ cd ../..
>> $ mkdir testbuild
>> $ cd testbuild
>> $ ../src/combined/configure --target=powerpc-eabi --disable-nls -- 
>> with-newlib --prefix=/usr/local/gcc
>> $ time nice make
>> [...]
>>
>> real    132m26.081s
>> user    68m57.928s
>> sys     57m32.501s
>>
>> -- 
>> Rask Ingemann Lambertsen
>
> /Users/morpheus/Documents/Software/gcc/testbuild/./binutils/ar  
> rc ../libc.a *.o
> /Users/morpheus/Documents/Software/gcc/testbuild/./binutils/ranlib  
> libc.a
> ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a libg.a
> rm -rf tmp
> 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
>
> There it is again.... I did it exactly like you did. I'm wondering  
> if the make tools on OS X could be the problem.... I'm using the
>
> Timo
>
>

I forgot to say I'm using the XCode 2.4.1 environment....

Timo


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4120 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Building a cross-compiler for powerpc-eabi
  2007-06-16 22:39     ` Timo Kerstan
@ 2007-06-18 11:47       ` Timo Kerstan
  0 siblings, 0 replies; 10+ messages in thread
From: Timo Kerstan @ 2007-06-18 11:47 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 2318 bytes --]


>
>>
>>> 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 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...
>>>
>>>    It works for me with a combined tree. Here's exactly how I did:
>>>
>>> $ cd ~/src
>>> $ wget http://ftp.download-by.net/gnu/gnu/binutils/ 
>>> binutils-2.17.tar.bz2 -O - | tar -jxf -
>>> $ wget http://ftp.download-by.net/gnu/gnu/gcc/gcc-4.1.2/gcc- 
>>> core-4.1.2.tar.bz2 -O - | tar -jxf -
>>> $ wget http://ftp.download-by.net/gnu/gnu/gcc/gcc-4.1.2/gcc-g+ 
>>> +-4.1.2.tar.bz2 -O - | tar -jxf -
>>> $ wget http://ftp.download-by.net/gnu/gnu/gcc/gcc-4.1.2/gcc- 
>>> objc-4.1.2.tar.bz2 -O - | tar -jxf -
>>> $ wget ftp://sources.redhat.com/pub/newlib/newlib-1.15.0.tar.gz - 
>>> O - | tar -zxf -
>>> $ mkdir combined
>>> $ cd combined
>>> $ ln -s ../gcc-4.1.2/* .
>>> $ ln -s ../binutils-2.17/* .
>>> [several complaints from ln about existing links]
>>> $ ln -s ../newlib-1.15.0/* .
>>> [several complaints from ln about existing links]
>>> $ cd ../..
>>> $ mkdir testbuild
>>> $ cd testbuild
>>> $ ../src/combined/configure --target=powerpc-eabi --disable-nls -- 
>>> with-newlib --prefix=/usr/local/gcc
>>> $ time nice make
>>> [...]
>>>
>>> real    132m26.081s
>>> user    68m57.928s
>>> sys     57m32.501s
>>>
>>> -- 
>>> Rask Ingemann Lambertsen
>>
>> /Users/morpheus/Documents/Software/gcc/testbuild/./binutils/ar  
>> rc ../libc.a *.o
>> /Users/morpheus/Documents/Software/gcc/testbuild/./binutils/ranlib  
>> libc.a
>> ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a libg.a
>> rm -rf tmp
>> 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
>>
>> There it is again.... I did it exactly like you did. I'm wondering  
>> if the make tools on OS X could be the problem.... I'm using the
>>
>> Timo
>>
>>
>
> I forgot to say I'm using the XCode 2.4.1 environment....
>
> Timo
>

Finally I found the problem.... It was the Apple make included in  
XCode 2.4.1. I Installed gmake 3.8.1 via Macports and everything now  
works fine...

Timo


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4120 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-06-18 10:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-15 10:16 Building a cross-compiler for powerpc-eabi Timo Kerstan
2007-06-15 12:58 ` Rask Ingemann Lambertsen
2007-06-15 14:29   ` Timo Kerstan
2007-06-15 15:17     ` Segher Boessenkool
2007-06-15 15:04   ` Timo Kerstan
2007-06-15 15:51     ` Rask Ingemann Lambertsen
2007-06-15 19:40 ` Rask Ingemann Lambertsen
2007-06-16  9:14   ` Timo Kerstan
2007-06-16 22:39     ` Timo Kerstan
2007-06-18 11:47       ` Timo Kerstan

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).