This is the mail archive of the mailing list for the GCC project.

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: trouble building gcc-3.2 --target=m68k-linux from scratch

>> [...] 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

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

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)?


Peter Barada                         
Wizard                                         781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola)   781-270-0193 (fax)

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