This is the mail archive of the gcc-bugs@gcc.gnu.org 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]

[Bug libobjc/26794] Checking for gthread causes configure script to fail



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


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