This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
"Michael K. Elwood" wrote: > >I'm kinda newbie for Linux and I have to build a cross compiler. My > >target is: sparc-sun-solaris2. I had the same trouble as Douglas > >(unistd.h and stdlib.h not found). Thanx to Joćo I fixed that problem: > > > >$ cd <gcc-src-dir>/gcc-2.95.2 > >$ ln -s <newlib-src-dir>/newlib-1.8.2/newlib newlib > >$ ln -s <newlib-src-dir>/newlib-1.8.2/libgloss libgloss > > > >But I get another one (pthread.h is not found). I read FAQ before > >posting here but I didn't find a solution. I really don't understand why > >it doesn't work because I followed step by step the FAQ > >(http://www.objsw.com). The OS is Mandrake7.1, the sources directory is > >/usr/srccompiler and the target directory is /usr/ccompiler). > > You really should be using the headers from solaris, not the newlib headers. > Newlib is mainly used for embedded systems without a full environment; > Solaris certainly doesn't qualify as this type of system. There is a nice > discussion about this in the gcc manual. > > Best regards, > > MKE > > ------ > Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com I keep hearing a lot of people refer to a 'gcc manual', exactly what and where is this manual that you are referring to. All of the documentation that I have been able to find does not talk about this issue or only barely touches upon it. Thanks, Bill ------ 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] |