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]
Other format: [Raw text]

RE: Error in building gcc-2.95.3-glibc-2.2.4 for ARM by crosstool-0.27


Hi, Robert

Although this is not a instruction says I should do that, but I did try it,
the error is still there. In fact, I analyze the -I. options of xgcc while
compiling libgcc2.c, there is no directory pointing to glibc include, then
how can it work?

Here are the lines:
/home/honggang/crosstool-0.27/build/arm-unknown-linux-gnu/gcc-2.95.1-glibc-2
.2.4/build-gcc-core/gcc/xgcc
-B/home/honggang/crosstool-0.27/build/arm-unknown-linux-gnu/gcc/
-I/home/honggang/crosstool-0.27/result/arm-unknown-linux-gnu/gcc-2.95.3-glib
c-2.24/arm-unknow-linux-gnu/include
-I./include
-I.
-I/home/honggang/gcc-2.95.3/gcc -I/home/honggang/gcc-2.95.3/gcc/config
-I/home/honggang/gcc-2.95.3/gcc/../include
-c
-DL${name} 
/home/honggang/gcc-2.95.3/gcc/libgcc2.c
-o ${name};

You see, in all 6 -I options, there is no one pointing to glibc directory,
so even pthread.h does exist in my glibc/include directory, it still can not
find it.

Any other suggestion?

Thanks and Regards
Honggang

-----Original Message-----
From: Robert Schwebel [mailto:robert@pengutronix.de] On Behalf Of Robert
Schwebel
Sent: Monday, November 08, 2004 3:34 PM
To: Hong Gang XU
Cc: crossgcc@sources.redhat.com
Subject: Re: Error in building gcc-2.95.3-glibc-2.2.4 for ARM by
crosstool-0.27


On Mon, Nov 08, 2004 at 11:53:37AM +0800, Hong Gang XU wrote:
> /home/honggang/gcc-2.95.3/gcc/gthr-posix.h:37: pthread.h: No such file 
> or directory.

Did you extract the POSIX thread library in the glibc directory? Doesn't see
so. 

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de  Pengutronix - Linux
Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hornemannstraße 12,  31137 Hildesheim, Germany
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4


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


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