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] |
> > Sigh. I tried building glibc-2.2.5 with gcc-3.3 for sh4, but > it failed with error > sh4-linux/include/pthread.h:163: error: parse error before > "__thread". This is a known issue; Andreas Schwab <schwab at > suse dot de> wrote in > http://gcc.gnu.org/ml/gcc-help/2003-03/msg00167.html > that it is fixed in the latest glibc. Heres what I did to fix it so I can continue to use 2.2.5 $> perl -pi -e s'/__thread/__thread_param/' ../glibc-2.2.5/linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h $> perl -pi -e s'/__thread/__thread_param/' ../glibc-2.2.5/linuxthreads/sysdeps/pthread/pthread.h Hope this works. It does for me. ------ 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] |