This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libobjc/26794] Checking for gthread causes configure script to fail
- From: "issac dot trotts at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Mar 2006 08:25:04 -0000
- Subject: [Bug libobjc/26794] Checking for gthread causes configure script to fail
- References: <bug-26794-12392@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #19 from issac dot trotts at gmail dot com 2006-03-22 08:25 -------
Subject: Re: Checking for gthread causes configure script to fail
On 22 Mar 2006 06:55:53 -0000, pinskia at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
>
>
> ------- Comment #18 from pinskia at gcc dot gnu dot org 2006-03-22 06:55 -------
> (In reply to comment #17)
> > Subject: Re: Checking for gthread causes configure script to fail
> >
> > I did this:
> >
> > $ cd ~/downloads/gcc-3.4.6
> > $ ./configure --enable-threads && make
> > $ cd libobjc
> > $ ./configure
>
> Oh that is the issue, libobjc is configured automatically and is done correctly
> from the toplevel so you messing up by not following the instructions.
>
> All you need to do to configure GCC and build all of GCC is:
> > $ cd ~/downloads/gcc-3.4.6
> > $ ./configure --enable-threads && make
>
> Though really you should be configuring in a different directory than the
> source directory.
OK, I just read the directions in the INSTALL directory and came up with this:
cd ~/downloads
mkdir objdir
cd objdir
../gcc-3.4.6/configure --enable-languages=c,objc --enable-threads
--enable-objc-gc
make bootstrap
It configured and built without any problems.
Thanks very much for your help, and sorry about the false alarm.
Issac
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26794