[Bug target/31173] Error when cross-compiling gcc-4.1.2 for ARM

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 14 16:35:00 GMT 2007



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-03-14 16:35 -------
                 ../.././gcc/gthr-posix.h:43:21: error: pthread.h: No such file
or directory
                 ../.././gcc/gthr-posix.h:44:20: error: unistd.h: No such file
or directory


That just means you don't have glibc headers installed yet.
Either try with --disable-threads for a stage1 cross compiler or just use cross
tool: 
http://kegel.com/crosstool/


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31173



More information about the Gcc-bugs mailing list