Problems building m68k gcc cross compiler on Mandrake Linux 7.1 (x86)

ron tal tal347@hotmail.com
Tue Oct 10 12:42:00 GMT 2000


Hi,

I am trying to build binary gcc for UNIX/solaris for target=m68k-coff.

I succeed configuring the binutils, BUT failed to do "make all install".

the following is the error messages:

make[1]: Entering directory 
`/home/users/ronenl/crossrc/buildbinutils-2.10/libiberty'
test x"no" != xyes || \
  gcc -c -DHAVE_CONFIG_H -g -O2 -W -Wall -I. 
-I../../binutils-2.10/libiberty/../include  -W -Wall -Wtraditional  
../../binutils-2.10/libiberty/argv.c -o pic/argv.o
gcc -c -DHAVE_CONFIG_H -g -O2 -W -Wall -I. 
-I../../binutils-2.10/libiberty/../include  -W -Wall -Wtraditional 
../../binutils-2.10/libiberty/argv.c
../../binutils-2.10/libiberty/argv.c:38  string.h No such file or directory
../../binutils-2.10/libiberty/argv.c:39  stdlib.h No such file or directory
make[1]: Leaving directory 
`/home/users/ronenl/crossrc/buildbinutils-2.10/libiberty'


the mystery that at argv.c:37 #include <stddef.h> there is NO Error,
but the following two lines failed.

I made a search for <stddef.h> and found it in gcc-2.95.2/gcc/ginclude.

The files <stdlib.h> and <string.h> resides in newlib directory.

There is a problem and I dont know what it is.

Let me know if you can help me in here.

thanx, ronen.


>From: "Zubin Sethna" <zsethna@miva.com.au>
>To: <crossgcc@sources.redhat.com>
>Subject: Problems building m68k gcc cross compiler on Mandrake Linux 7.1 
>(x86)
>Date: Mon, 9 Oct 2000 11:27:11 +1000
>
>HI
>
>I'm trying to build the gnu tool chain for a m68k target and I've run into 
>problems building gcc. I followed the instructions from the Redhat site 
>here:
>
> http://sources.redhat.com/ecos/tools/linux-powerpc-eabi.html
>
>on building a powerpc cross-compiler but substituted m68k-elf for the 
>target name. Binutils builds ok, but during building of gcc the complier 
>says it can't find stdlib.h or unistd.h (when compiling libgcc2.c). It 
>seems to be looking for these includes in $prefix (from configure) which is 
>where the resultant executables and includes are put. The question is where 
>do I get these includes from? Do I assume correctly that they are different 
>from the host system includes?
>
>Thanks in advance for any help given.
>
>
>Zubin
>
>PS: I downloaded gcc-core-2.95.2.tar.bz2 and gcc-g++-2.95.2.tar.bz2

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

Share information about yourself, create your own public profile at 
http://profiles.msn.com .


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list