[comp.lang.c++] g++ installation WOES on SCO

bernstein@wsuiar.wsu.ukans.edu (Captain VAX) (06/20/91)

I have been wrestling over the past 2 weeks with the installation of GNU
g++ under SCO System 5.3 (COFF format). I am down to (I hope) my last
problem: how do I install collect/collect2?

1) I tried installing collect as gcc-collect and then using the SCO
loader. This seems to cause a good link, but when I run, I get a bus
error.

2) I tried installing collect as gcc-collect AND collect2 as gcc-ld, but
on the final linking stage I have duplicate constructor/destructor tables
"__CTOR_LIST__" and "__DTOR_LIST__".

3) Should I undef USE_COLLECT and recompile, and use collect2 as gcc-ld?

Also, I have compiled g++ to produce COFF code. Will this permit me
source-level debugging capabilities with gdb? Should I recompile g++
and gdb to use DBX format?

Any help would be DEEPLY appreciated.

-- 
Daniel Bernstein
The Wichita State University/One Call Concepts, Inc.
Bitnet: bernstein@twsuvax
Internet: bernstein@wsuiar.wsu.ukans.edu

"I cut my deck to the Queen of Spades, but the cards were all the same."-GD
-- 
Daniel Bernstein
The Wichita State University/One Call Concepts, Inc.
Bitnet: bernstein@twsuvax
Internet: bernstein@wsuiar.wsu.ukans.edu

"I cut my deck to the Queen of Spades, but the cards were all the same."-GD