trouble building gcc-3.2 --target=m68k-linux from scratch
Peter Barada
pbarada@mail.wm.sps.mot.com
Mon Aug 19 15:46:00 GMT 2002
>> [...] gthr-posix.h:37:21: pthread.h: No such file or directory
>
>> Configure created ghtr-default.h with '#include <pthread.h>' since it
>> found a pthread.h that can be used, but that was by using the *host*
>> compiler to find [phtread.h], not the *target* compiler. [...]
>
>Hi Peter,
>
>Oops. This is related to a recent change in the default compiler
>configuration. I believe that all cross ports are actually latently
>affected by the underlying issue you found.
>
>Seems that the test would have to be written to set have_pthread_h
>using a check based on the headers to be used by the installed
>compiler (i.e. path provided with --with-headers). Perhaps (formed
>via cut-n-paste of other constructs in configure.in):
The config is done --without-headers, so the test for any target
header should be written to fail since --without-headers is on the
configure line. Of course I don't know if that will mess up anything
else.
Is there anyway to get this 'fixed' for gcc-3.2.1 so those of use
doing cross-compilation don't get bit again(even if its just a
documentation change)?
Thanx...
--
Peter Barada Peter.Barada@motorola.com
Wizard 781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola) 781-270-0193 (fax)
More information about the Gcc
mailing list