This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Error "stdlib.h: No such file...found" duing Build



Hi all,

I am tring to build a cross compiler targeted for
powerpc-eabi hosted on winNT4.0.
Efter installing cygwin I untared the following:
newlib-1.9.0.tar.gz
binutils-2.11.2.tar.gz
gcc-2.95.3.tar.gz


under /sources directory.

"/" is mounted as c:\\unix.

Untar of all three works fine.
Now I configure the binutils as follow:

cd ../build/binutils

/sources/binutils.../configure
--target=powerpc-unknown-eabi --prefix=/gcc-ppc -v
works fins

When I write:
make all install
I get the following error:

********************************************
$ make all install 
make[1]: Entering directory
`/build/binutils/libiberty'
if [ x"" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I/sources/binutils-2.11.2/libiberty/../incl
ude  -W -Wall -Wtraditional -pedantic 
/sources/binutils-2.11.2/libiberty/argv.c
 -o pic/argv.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I/sources/binutils-2.11.2/libiberty/../includ
e  -W -Wall -Wtraditional -pedantic
/sources/binutils-2.11.2/libiberty/argv.c
/sources/binutils-2.11.2/libiberty/argv.c:35:
string.h: No such file or director
y
/sources/binutils-2.11.2/libiberty/argv.c:36:
stdlib.h: No such file or director
y
make[1]: *** [argv.o] Error 1
make[1]: Leaving directory `/build/binutils/libiberty'
make: *** [all-libiberty] Error 2
***********************************************

What I have to do to solve this problem?
I have tried to understand the problem by viewing
similar mails on mail archive, but it didn't help me
much.

Any pointer to some documentation which can guide me
to proceed further to continue my journey, would be a
great help to me.

Any kind of help in this regard will be appreciated.
thanks in advance
/Mohammad
_________________________________________________

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]