jw@sics.se (Johan Widen) (06/06/89)
I would like to bring up g++ on our Encore. Furthermore, I suspect that the assembler generated by gcc is not totally acceptable to the Encore assembler. I thus wonder if anyone has succeeded in implementing the GNU COFF encapsulation on the Encore? (Another motivation is that I want to perform BSD style incremental linking. This is supported by the GNU linker, but not by the Encore linker.) An obvious problem with using COFF encapsulation is that the Encore supplied debuggers become unusable. A solution to this would be to have a program that translated an already linked file from COFF encapsulated format to real COFF. Someone at Apollo mentioned such a program in one of the GNU news groups. (I should mention that I am aware of an approach to make g++ generate code acceptable to a COFF linker. A kit for this, said to work for the i386, is available for anonymous ftp at a.cs.uiuc.edu.) -- 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
grunwald@flute.cs.uiuc.edu (Dirk Grunwald) (06/09/89)
We've been running g++ on our encore for a while with no problems. I modified the `collect' program distributed with g++ to accept COFF files. You need to specify -DNO_GNU_LD when you compile g++ & also compile collect. However, this doesn't give you sufficient debugging information -- the -g option is a little flakey & gdb won't grok the g++ constructs. I debug things on a Sun & then run them on the Encore. -- Dirk Grunwald -- Univ. of Illinois (grunwald@flute.cs.uiuc.edu)