public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* configure: error: unable to detect exception model
@ 2001-11-16 14:23 Josef Zlomek
  2001-11-16 15:02 ` Andreas Jaeger
  2001-11-26  4:44 ` Josef Zlomek
  0 siblings, 2 replies; 18+ messages in thread
From: Josef Zlomek @ 2001-11-16 14:23 UTC (permalink / raw)
  To: gcc

Hi,

when I try to make cfg-branch I get this error:

checking for exception model to use... configure: error: unable to detect exception model
make: *** [configure-target-libstdc++-v3] Error 1

Do You know how to solve it?

Thanks.
-- 
      Josef Zlomek
      zlomek@matfyz.cz
      zlomj9am@artax.karlin.mff.cuni.cz

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: configure: error: unable to detect exception model
  2001-11-16 14:23 configure: error: unable to detect exception model Josef Zlomek
@ 2001-11-16 15:02 ` Andreas Jaeger
  2001-11-16 15:07   ` Josef Zlomek
  2001-11-26  4:49   ` Andreas Jaeger
  2001-11-26  4:44 ` Josef Zlomek
  1 sibling, 2 replies; 18+ messages in thread
From: Andreas Jaeger @ 2001-11-16 15:02 UTC (permalink / raw)
  To: Josef Zlomek; +Cc: gcc

Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz> writes:

> Hi,
>
> when I try to make cfg-branch I get this error:
>
> checking for exception model to use... configure: error: unable to detect exception model
> make: *** [configure-target-libstdc++-v3] Error 1
>
> Do You know how to solve it?

Update again from CVS.  This should be fixed by:

2001-11-25  Andreas Jaeger  <aj@suse.de>

	* toplev.c (rest_of_compilation): Call
	find_exception_handler_labels.
	Patch by Jan Hubicka <jh@suse.cz>.

Check config.log for details of the problem,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: configure: error: unable to detect exception model
  2001-11-16 15:02 ` Andreas Jaeger
@ 2001-11-16 15:07   ` Josef Zlomek
  2001-11-16 17:17     ` Andreas Jaeger
  2001-11-26  6:43     ` Josef Zlomek
  2001-11-26  4:49   ` Andreas Jaeger
  1 sibling, 2 replies; 18+ messages in thread
From: Josef Zlomek @ 2001-11-16 15:07 UTC (permalink / raw)
  To: gcc

> > when I try to make cfg-branch I get this error:
> >
> > checking for exception model to use... configure: error: unable to detect exception model
> > make: *** [configure-target-libstdc++-v3] Error 1
> 
> Update again from CVS.  This should be fixed by:

Done, the error is still there.

> Check config.log for details of the problem,

configure:3662: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system
configure: failed program was:
#line 3655 "configure"
#include "confdefs.h"
#include <stdlib.h>
int main() {
char* tmp; strtoull("gnu", &tmp, 10);
; return 0; }
configure:3690: checking for c header strategy to use
configure:3747: checking for thread model used by GCC
configure:3800: checking for exception model to use
configure:3826: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system

But g++ IS installed on the system.

Josef

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: configure: error: unable to detect exception model
  2001-11-16 15:07   ` Josef Zlomek
@ 2001-11-16 17:17     ` Andreas Jaeger
  2001-11-16 17:50       ` Josef Zlomek
  2001-11-26  6:47       ` Andreas Jaeger
  2001-11-26  6:43     ` Josef Zlomek
  1 sibling, 2 replies; 18+ messages in thread
From: Andreas Jaeger @ 2001-11-16 17:17 UTC (permalink / raw)
  To: Josef Zlomek; +Cc: gcc

Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz> writes:

>> > when I try to make cfg-branch I get this error:
>> >
>> > checking for exception model to use... configure: error: unable to detect exception model
>> > make: *** [configure-target-libstdc++-v3] Error 1
>> 
>> Update again from CVS.  This should be fixed by:
>
> Done, the error is still there.

This time it's a different error ;-)

>> Check config.log for details of the problem,
>
> configure:3662: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system
> configure: failed program was:
> #line 3655 "configure"
> #include "confdefs.h"
> #include <stdlib.h>
> int main() {
> char* tmp; strtoull("gnu", &tmp, 10);
> ; return 0; }
> configure:3690: checking for c header strategy to use
> configure:3747: checking for thread model used by GCC
> configure:3800: checking for exception model to use
> configure:3826: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system
>
> But g++ IS installed on the system.

Which commands did you issue exactly?

configure looks in this case for g++ only in the build environment.
If you enabled C++ during bootstrap, everything should work - and if
you disabled C++, libstdc++ should never be build.  Therefore please
tell us what you did so that we can help.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: configure: error: unable to detect exception model
  2001-11-16 17:17     ` Andreas Jaeger
@ 2001-11-16 17:50       ` Josef Zlomek
  2001-11-16 21:21         ` Andreas Jaeger
  2001-11-26  7:04         ` Josef Zlomek
  2001-11-26  6:47       ` Andreas Jaeger
  1 sibling, 2 replies; 18+ messages in thread
From: Josef Zlomek @ 2001-11-16 17:50 UTC (permalink / raw)
  To: gcc

> > configure:3662: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system
> > configure: failed program was:
> > #line 3655 "configure"
> > #include "confdefs.h"
> > #include <stdlib.h>
> > int main() {
> > char* tmp; strtoull("gnu", &tmp, 10);
> > ; return 0; }
> > configure:3690: checking for c header strategy to use
> > configure:3747: checking for thread model used by GCC
> > configure:3800: checking for exception model to use
> > configure:3826: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system
> >
> > But g++ IS installed on the system.
> 
> Which commands did you issue exactly?

I got the CVS version.
Then "./configure" in the main dir - OK
Then "make" - it made gcc, then started configuring something else and wrote the error

Josef
-- 
      Josef Zlomek
      zlomek@matfyz.cz
      zlomj9am@artax.karlin.mff.cuni.cz

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: configure: error: unable to detect exception model
  2001-11-16 17:50       ` Josef Zlomek
@ 2001-11-16 21:21         ` Andreas Jaeger
  2001-11-16 21:53           ` Josef Zlomek
                             ` (2 more replies)
  2001-11-26  7:04         ` Josef Zlomek
  1 sibling, 3 replies; 18+ messages in thread
From: Andreas Jaeger @ 2001-11-16 21:21 UTC (permalink / raw)
  To: Josef Zlomek; +Cc: gcc

Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz> writes:

>> > configure:3662: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system
>> > configure: failed program was:
>> > #line 3655 "configure"
>> > #include "confdefs.h"
>> > #include <stdlib.h>
>> > int main() {
>> > char* tmp; strtoull("gnu", &tmp, 10);
>> > ; return 0; }
>> > configure:3690: checking for c header strategy to use
>> > configure:3747: checking for thread model used by GCC
>> > configure:3800: checking for exception model to use
>> > configure:3826: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system
>> >
>> > But g++ IS installed on the system.
>> 
>> Which commands did you issue exactly?
>
> I got the CVS version.
> Then "./configure" in the main dir - OK
> Then "make" - it made gcc, then started configuring something else and wrote the error

That's not how you should build GCC (according to
http://gcc.gnu.org/install/).  Use a separate build directory and
issue make bootstrap.  For example I run from a separate build dir
(most options are not needed and you can use the default):

/cvs/gcc/configure --prefix=/opt/gcc-3.1-devel --enable-shared \
	 --enable-threads=posix  --enable-clocale=gnu  \
         --with-gnu-as --with-gnu-ld --disable-nls --with-system-zlib
(make  bootstrap && make -k check) 2>&1|tee make-out

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: configure: error: unable to detect exception model
  2001-11-16 21:21         ` Andreas Jaeger
@ 2001-11-16 21:53           ` Josef Zlomek
  2001-11-26  7:28             ` Josef Zlomek
  2001-11-20 16:15           ` Josef Zlomek
  2001-11-26  7:23           ` Andreas Jaeger
  2 siblings, 1 reply; 18+ messages in thread
From: Josef Zlomek @ 2001-11-16 21:53 UTC (permalink / raw)
  To: Andreas Jaeger; +Cc: gcc

> > I got the CVS version.
> > Then "./configure" in the main dir - OK
> > Then "make" - it made gcc, then started configuring something else and wrote the error
> 
> That's not how you should build GCC (according to
> http://gcc.gnu.org/install/).  Use a separate build directory and
> issue make bootstrap.  For example I run from a separate build dir
> (most options are not needed and you can use the default):
> 
> /cvs/gcc/configure --prefix=/opt/gcc-3.1-devel --enable-shared \
> 	 --enable-threads=posix  --enable-clocale=gnu  \
>          --with-gnu-as --with-gnu-ld --disable-nls --with-system-zlib
> (make  bootstrap && make -k check) 2>&1|tee make-out

Thanks, I'll try it.

Josef Zlomek

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: configure: error: unable to detect exception model
  2001-11-16 21:21         ` Andreas Jaeger
  2001-11-16 21:53           ` Josef Zlomek
@ 2001-11-20 16:15           ` Josef Zlomek
       [not found]             ` <hod723p5ve.fsf@gee.suse.de>
  2001-11-28  2:00             ` Josef Zlomek
  2001-11-26  7:23           ` Andreas Jaeger
  2 siblings, 2 replies; 18+ messages in thread
From: Josef Zlomek @ 2001-11-20 16:15 UTC (permalink / raw)
  To: Andreas Jaeger; +Cc: gcc

> >> > configure: failed program was:
> >> > #line 3655 "configure"
> >> > #include "confdefs.h"
> >> > #include <stdlib.h>
> >> > int main() {
> >> > char* tmp; strtoull("gnu", &tmp, 10);
> >> > ; return 0; }
> >> > configure:3690: checking for c header strategy to use
> >> > configure:3747: checking for thread model used by GCC
> >> > configure:3800: checking for exception model to use
> >> > configure:3826: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system
> >> >
> >> > But g++ IS installed on the system.
> >> 
> >> Which commands did you issue exactly?
> >
> > I got the CVS version.
> > Then "./configure" in the main dir - OK
> > Then "make" - it made gcc, then started configuring something else and wrote the error
> 
> That's not how you should build GCC (according to
> http://gcc.gnu.org/install/).  Use a separate build directory and
> issue make bootstrap.  For example I run from a separate build dir
> (most options are not needed and you can use the default):
> 
> /cvs/gcc/configure --prefix=/opt/gcc-3.1-devel --enable-shared \
> 	 --enable-threads=posix  --enable-clocale=gnu  \
>          --with-gnu-as --with-gnu-ld --disable-nls --with-system-zlib
> (make  bootstrap && make -k check) 2>&1|tee make-out

I have built gcc into separate dir but it still does not work. I used configure without options.

Josef
-- 
      Josef Zlomek
      zlomek@matfyz.cz
      zlomj9am@artax.karlin.mff.cuni.cz

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: configure: error: unable to detect exception model
       [not found]             ` <hod723p5ve.fsf@gee.suse.de>
@ 2001-11-20 16:20               ` Josef Zlomek
  2001-11-28  2:08                 ` Josef Zlomek
  0 siblings, 1 reply; 18+ messages in thread
From: Josef Zlomek @ 2001-11-20 16:20 UTC (permalink / raw)
  To: Andreas Jaeger; +Cc: gcc

> Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz> writes:
> 
> > I have built gcc into separate dir but it still does not work. I used configure without options.
> 
> What exactly fails this time?  It might be a bug on the branch but I
> had no problems yesterday...

I'll try to get newest CVS version again.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* configure: error: unable to detect exception model
  2001-11-16 14:23 configure: error: unable to detect exception model Josef Zlomek
  2001-11-16 15:02 ` Andreas Jaeger
@ 2001-11-26  4:44 ` Josef Zlomek
  1 sibling, 0 replies; 18+ messages in thread
From: Josef Zlomek @ 2001-11-26  4:44 UTC (permalink / raw)
  To: gcc

Hi,

when I try to make cfg-branch I get this error:

checking for exception model to use... configure: error: unable to detect exception model
make: *** [configure-target-libstdc++-v3] Error 1

Do You know how to solve it?

Thanks.
-- 
      Josef Zlomek
      zlomek@matfyz.cz
      zlomj9am@artax.karlin.mff.cuni.cz

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: configure: error: unable to detect exception model
  2001-11-16 15:02 ` Andreas Jaeger
  2001-11-16 15:07   ` Josef Zlomek
@ 2001-11-26  4:49   ` Andreas Jaeger
  1 sibling, 0 replies; 18+ messages in thread
From: Andreas Jaeger @ 2001-11-26  4:49 UTC (permalink / raw)
  To: Josef Zlomek; +Cc: gcc

Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz> writes:

> Hi,
>
> when I try to make cfg-branch I get this error:
>
> checking for exception model to use... configure: error: unable to detect exception model
> make: *** [configure-target-libstdc++-v3] Error 1
>
> Do You know how to solve it?

Update again from CVS.  This should be fixed by:

2001-11-25  Andreas Jaeger  <aj@suse.de>

	* toplev.c (rest_of_compilation): Call
	find_exception_handler_labels.
	Patch by Jan Hubicka <jh@suse.cz>.

Check config.log for details of the problem,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: configure: error: unable to detect exception model
  2001-11-16 15:07   ` Josef Zlomek
  2001-11-16 17:17     ` Andreas Jaeger
@ 2001-11-26  6:43     ` Josef Zlomek
  1 sibling, 0 replies; 18+ messages in thread
From: Josef Zlomek @ 2001-11-26  6:43 UTC (permalink / raw)
  To: gcc

> > when I try to make cfg-branch I get this error:
> >
> > checking for exception model to use... configure: error: unable to detect exception model
> > make: *** [configure-target-libstdc++-v3] Error 1
> 
> Update again from CVS.  This should be fixed by:

Done, the error is still there.

> Check config.log for details of the problem,

configure:3662: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system
configure: failed program was:
#line 3655 "configure"
#include "confdefs.h"
#include <stdlib.h>
int main() {
char* tmp; strtoull("gnu", &tmp, 10);
; return 0; }
configure:3690: checking for c header strategy to use
configure:3747: checking for thread model used by GCC
configure:3800: checking for exception model to use
configure:3826: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system

But g++ IS installed on the system.

Josef

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: configure: error: unable to detect exception model
  2001-11-16 17:17     ` Andreas Jaeger
  2001-11-16 17:50       ` Josef Zlomek
@ 2001-11-26  6:47       ` Andreas Jaeger
  1 sibling, 0 replies; 18+ messages in thread
From: Andreas Jaeger @ 2001-11-26  6:47 UTC (permalink / raw)
  To: Josef Zlomek; +Cc: gcc

Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz> writes:

>> > when I try to make cfg-branch I get this error:
>> >
>> > checking for exception model to use... configure: error: unable to detect exception model
>> > make: *** [configure-target-libstdc++-v3] Error 1
>> 
>> Update again from CVS.  This should be fixed by:
>
> Done, the error is still there.

This time it's a different error ;-)

>> Check config.log for details of the problem,
>
> configure:3662: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system
> configure: failed program was:
> #line 3655 "configure"
> #include "confdefs.h"
> #include <stdlib.h>
> int main() {
> char* tmp; strtoull("gnu", &tmp, 10);
> ; return 0; }
> configure:3690: checking for c header strategy to use
> configure:3747: checking for thread model used by GCC
> configure:3800: checking for exception model to use
> configure:3826: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system
>
> But g++ IS installed on the system.

Which commands did you issue exactly?

configure looks in this case for g++ only in the build environment.
If you enabled C++ during bootstrap, everything should work - and if
you disabled C++, libstdc++ should never be build.  Therefore please
tell us what you did so that we can help.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: configure: error: unable to detect exception model
  2001-11-16 17:50       ` Josef Zlomek
  2001-11-16 21:21         ` Andreas Jaeger
@ 2001-11-26  7:04         ` Josef Zlomek
  1 sibling, 0 replies; 18+ messages in thread
From: Josef Zlomek @ 2001-11-26  7:04 UTC (permalink / raw)
  To: gcc

> > configure:3662: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system
> > configure: failed program was:
> > #line 3655 "configure"
> > #include "confdefs.h"
> > #include <stdlib.h>
> > int main() {
> > char* tmp; strtoull("gnu", &tmp, 10);
> > ; return 0; }
> > configure:3690: checking for c header strategy to use
> > configure:3747: checking for thread model used by GCC
> > configure:3800: checking for exception model to use
> > configure:3826: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system
> >
> > But g++ IS installed on the system.
> 
> Which commands did you issue exactly?

I got the CVS version.
Then "./configure" in the main dir - OK
Then "make" - it made gcc, then started configuring something else and wrote the error

Josef
-- 
      Josef Zlomek
      zlomek@matfyz.cz
      zlomj9am@artax.karlin.mff.cuni.cz

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: configure: error: unable to detect exception model
  2001-11-16 21:21         ` Andreas Jaeger
  2001-11-16 21:53           ` Josef Zlomek
  2001-11-20 16:15           ` Josef Zlomek
@ 2001-11-26  7:23           ` Andreas Jaeger
  2 siblings, 0 replies; 18+ messages in thread
From: Andreas Jaeger @ 2001-11-26  7:23 UTC (permalink / raw)
  To: Josef Zlomek; +Cc: gcc

Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz> writes:

>> > configure:3662: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system
>> > configure: failed program was:
>> > #line 3655 "configure"
>> > #include "confdefs.h"
>> > #include <stdlib.h>
>> > int main() {
>> > char* tmp; strtoull("gnu", &tmp, 10);
>> > ; return 0; }
>> > configure:3690: checking for c header strategy to use
>> > configure:3747: checking for thread model used by GCC
>> > configure:3800: checking for exception model to use
>> > configure:3826: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system
>> >
>> > But g++ IS installed on the system.
>> 
>> Which commands did you issue exactly?
>
> I got the CVS version.
> Then "./configure" in the main dir - OK
> Then "make" - it made gcc, then started configuring something else and wrote the error

That's not how you should build GCC (according to
http://gcc.gnu.org/install/ ).  Use a separate build directory and
issue make bootstrap.  For example I run from a separate build dir
(most options are not needed and you can use the default):

/cvs/gcc/configure --prefix=/opt/gcc-3.1-devel --enable-shared \
	 --enable-threads=posix  --enable-clocale=gnu  \
         --with-gnu-as --with-gnu-ld --disable-nls --with-system-zlib
(make  bootstrap && make -k check) 2>&1|tee make-out

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: configure: error: unable to detect exception model
  2001-11-16 21:53           ` Josef Zlomek
@ 2001-11-26  7:28             ` Josef Zlomek
  0 siblings, 0 replies; 18+ messages in thread
From: Josef Zlomek @ 2001-11-26  7:28 UTC (permalink / raw)
  To: Andreas Jaeger; +Cc: gcc

> > I got the CVS version.
> > Then "./configure" in the main dir - OK
> > Then "make" - it made gcc, then started configuring something else and wrote the error
> 
> That's not how you should build GCC (according to
> http://gcc.gnu.org/install/ ).  Use a separate build directory and
> issue make bootstrap.  For example I run from a separate build dir
> (most options are not needed and you can use the default):
> 
> /cvs/gcc/configure --prefix=/opt/gcc-3.1-devel --enable-shared \
> 	 --enable-threads=posix  --enable-clocale=gnu  \
>          --with-gnu-as --with-gnu-ld --disable-nls --with-system-zlib
> (make  bootstrap && make -k check) 2>&1|tee make-out

Thanks, I'll try it.

Josef Zlomek

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: configure: error: unable to detect exception model
  2001-11-20 16:15           ` Josef Zlomek
       [not found]             ` <hod723p5ve.fsf@gee.suse.de>
@ 2001-11-28  2:00             ` Josef Zlomek
  1 sibling, 0 replies; 18+ messages in thread
From: Josef Zlomek @ 2001-11-28  2:00 UTC (permalink / raw)
  To: Andreas Jaeger; +Cc: gcc

> >> > configure: failed program was:
> >> > #line 3655 "configure"
> >> > #include "confdefs.h"
> >> > #include <stdlib.h>
> >> > int main() {
> >> > char* tmp; strtoull("gnu", &tmp, 10);
> >> > ; return 0; }
> >> > configure:3690: checking for c header strategy to use
> >> > configure:3747: checking for thread model used by GCC
> >> > configure:3800: checking for exception model to use
> >> > configure:3826: /tmp/zlomj9am/gcc/gcc/xgcc -B/tmp/zlomj9am/gcc/gcc/ -nostdinc++  -L/tmp/zlomj9am/gcc/i686-pc-linux-gnu/libstdc++-v3/srcxgcc: conftest.C: C++ compiler not installed on this system
> >> >
> >> > But g++ IS installed on the system.
> >> 
> >> Which commands did you issue exactly?
> >
> > I got the CVS version.
> > Then "./configure" in the main dir - OK
> > Then "make" - it made gcc, then started configuring something else and wrote the error
> 
> That's not how you should build GCC (according to
> http://gcc.gnu.org/install/ ).  Use a separate build directory and
> issue make bootstrap.  For example I run from a separate build dir
> (most options are not needed and you can use the default):
> 
> /cvs/gcc/configure --prefix=/opt/gcc-3.1-devel --enable-shared \
> 	 --enable-threads=posix  --enable-clocale=gnu  \
>          --with-gnu-as --with-gnu-ld --disable-nls --with-system-zlib
> (make  bootstrap && make -k check) 2>&1|tee make-out

I have built gcc into separate dir but it still does not work. I used configure without options.

Josef
-- 
      Josef Zlomek
      zlomek@matfyz.cz
      zlomj9am@artax.karlin.mff.cuni.cz

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: configure: error: unable to detect exception model
  2001-11-20 16:20               ` Josef Zlomek
@ 2001-11-28  2:08                 ` Josef Zlomek
  0 siblings, 0 replies; 18+ messages in thread
From: Josef Zlomek @ 2001-11-28  2:08 UTC (permalink / raw)
  To: Andreas Jaeger; +Cc: gcc

> Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz> writes:
> 
> > I have built gcc into separate dir but it still does not work. I used configure without options.
> 
> What exactly fails this time?  It might be a bug on the branch but I
> had no problems yesterday...

I'll try to get newest CVS version again.

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2001-11-28 10:08 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-16 14:23 configure: error: unable to detect exception model Josef Zlomek
2001-11-16 15:02 ` Andreas Jaeger
2001-11-16 15:07   ` Josef Zlomek
2001-11-16 17:17     ` Andreas Jaeger
2001-11-16 17:50       ` Josef Zlomek
2001-11-16 21:21         ` Andreas Jaeger
2001-11-16 21:53           ` Josef Zlomek
2001-11-26  7:28             ` Josef Zlomek
2001-11-20 16:15           ` Josef Zlomek
     [not found]             ` <hod723p5ve.fsf@gee.suse.de>
2001-11-20 16:20               ` Josef Zlomek
2001-11-28  2:08                 ` Josef Zlomek
2001-11-28  2:00             ` Josef Zlomek
2001-11-26  7:23           ` Andreas Jaeger
2001-11-26  7:04         ` Josef Zlomek
2001-11-26  6:47       ` Andreas Jaeger
2001-11-26  6:43     ` Josef Zlomek
2001-11-26  4:49   ` Andreas Jaeger
2001-11-26  4:44 ` Josef Zlomek

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