From: Loren James Rittle <rittle@latour.rsch.comm.mot.com>
To: pbarada@mail.wm.sps.mot.com
Cc: gcc@gcc.gnu.org
Subject: Re: trouble building gcc-3.2 --target=m68k-linux from scratch
Date: Mon, 19 Aug 2002 16:14:00 -0000 [thread overview]
Message-ID: <200208192314.g7JNE0GV017832@latour.rsch.comm.mot.com> (raw)
In-Reply-To: <200208192246.g7JMkl909384@hyper.wm.sps.mot.com>
In article < 200208192246.g7JMkl909384@hyper.wm.sps.mot.com >,
Peter Barada <pbarada@mail.wm.sps.mot.com> writes:
>> 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.
FYI, AFAIS there are really only two such target headers being checked
incorrectly: have_pthread_h and have_thread_h. My proposed solution
should cover both although I only showed the change as it affects
have_pthread_h. How about this instead:
if [test x$host != x$target]; then
if [test x$with_headers = x]; then
have_thread_h=
have_pthread_h=
else
# set have_*thread_h with a test based on value of with_headers
fi
else
AC_CHECK_HEADER(thread.h, [have_thread_h=yes], [have_thread_h=])
AC_CHECK_HEADER(pthread.h, [have_pthread_h=yes], [have_pthread_h=])
fi
> 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)?
If an autoconf guru for gcc agrees with my analysis, then we could
submit a formal patch. However, I still don't know what actual code
should go in the shell comment above without more investigation.
Regards,
Loren
next prev parent reply other threads:[~2002-08-19 16:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-19 10:24 Peter Barada
2002-08-19 15:32 ` Loren James Rittle
2002-08-19 15:46 ` Peter Barada
2002-08-19 16:14 ` Loren James Rittle [this message]
2002-08-19 21:12 ` Dan Kegel
2002-08-20 6:53 ` Peter Barada
2002-08-20 0:13 ` Kai Henningsen
2002-08-20 1:05 ` Richard Zidlicky
2002-08-20 7:27 ` Peter Barada
2002-08-21 3:59 ` Richard Zidlicky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200208192314.g7JNE0GV017832@latour.rsch.comm.mot.com \
--to=rittle@latour.rsch.comm.mot.com \
--cc=gcc@gcc.gnu.org \
--cc=pbarada@mail.wm.sps.mot.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).