[sco.opendesktop] Problem in compiling/linking with libg++ 1.39.0 on SCO UNIX

dimitri@cui.unige.ch (Dimitri Konstantas) (06/11/91)

I am trying to port G++ on the SCO machine and I have problems with the
libg++ 1.39.0.
I installed the patches for coff (posted for 1.37 version) and I compiled
the gcc, gas and g++. They all seem to work.
Now when I compile the libg++ (1.39.0) and I try to link it with a "hello
world" program, I get a core dump when using libg++ I/O.
(in a statement  cout << " ...". )

If I link with the 1.37. version of libg++ all seem to work fine.

Any idea what might be wrong?

thanks for the help

dimitri

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Dimitri Konstantas 			| UUCP : mcvax!cernvax!cui!dimitri
Centre Universitaire d'Informatique 	| EARN : dimitri@cgeuge51.bitnet
University of Geneva			| X400 : dimitri@cui.unige.ch
12 rue du Lac				| Tel. : +41 (22) 787-6586
CH-1207 Geneva,SUISE			| Fax. : +41 (22) 735-3905
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

dawes@suphys.physics.su.OZ.AU (David Dawes) (06/12/91)

In article <5720@cui.unige.ch> dimitri@cui.unige.ch (Dimitri Konstantas) writes:
>
>I am trying to port G++ on the SCO machine and I have problems with the
>libg++ 1.39.0.
>I installed the patches for coff (posted for 1.37 version) and I compiled
>the gcc, gas and g++. They all seem to work.
>Now when I compile the libg++ (1.39.0) and I try to link it with a "hello
>world" program, I get a core dump when using libg++ I/O.
>(in a statement  cout << " ...". )
>
>If I link with the 1.37. version of libg++ all seem to work fine.
>
>Any idea what might be wrong?

When using the coff patches, you must replace the standard gnulib3.o with
the one supplied with the patches to g++.

David
--
------------------------------------------------------------------------------
 David Dawes (dawes@physics.su.oz.au)    DoD#210      | Phone: +61 2 692 2639
 School of Physics, University of Sydney, Australia   | Fax:   +61 2 660 2903
------------------------------------------------------------------------------