[gnu.g++.lib.bug] libg++-1.36.1/src/gnulib3.c breaks on Sequent Symmetry

jw@sics.se (Johan Widen) (11/11/89)

In version 1.36.1 of libg++ the code in gnulib3.c makes the incorrect
assumption that all i386 machines has COFF linkers. The Sequent Symmetry
under DYNIX uses a.out format.

The following change fixes the problem for the Sequent Symmetry, but does
not provide a general solution. Maybe it's time for a config.libg++ script?

*** gnulib3.c~	Tue Nov  7 12:06:29 1989
--- gnulib3.c	Fri Nov 10 20:56:12 1989
***************
*** 18,24 ****
  extern void __do_global_cleanup ();
  extern void on_exit(void*, void*);
  
! #if defined(i386)
  #define COFF
  #endif
  
--- 18,24 ----
  extern void __do_global_cleanup ();
  extern void on_exit(void*, void*);
  
! #if defined(i386) && ! defined(sequent)
  #define COFF
  #endif
  
--
Johan Widen
SICS, PO Box 1263, S-164 28 KISTA, SWEDEN	Internet: jw@sics.se
Tel: +46 8 752 15 32	Ttx: 812 61 54 SICS S	Fax: +46 8 751 72 30