This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: trouble building gcc-3.2 --target=m68k-linux from scratch
- From: Peter Barada <pbarada at mail dot wm dot sps dot mot dot com>
- To: rittle at latour dot rsch dot comm dot mot dot com
- Cc: gcc at gcc dot gnu dot org, Peter dot Barada at motorola dot com
- Date: Mon, 19 Aug 2002 18:46:47 -0400
- Subject: Re: trouble building gcc-3.2 --target=m68k-linux from scratch
- References: <200208192232.g7JMWgjJ017723@latour.rsch.comm.mot.com>
>> [...] 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)