Thread View: gnu.g++.lib.bug
1 messages
1 total messages
Started by Peter R. Ham
Mon, 11 Dec 1989 18:33
pmax problems with test0
Author: Peter R. Ham
Date: Mon, 11 Dec 1989 18:33
Date: Mon, 11 Dec 1989 18:33
36 lines
1718 bytes
1718 bytes
This little test program is giving me some problems. Maybe it's not worth spending time on these little problems, but it seems like a good way to ferret out bugs and machine dependencies. In test.hello.cc, there are some macro definitions for USG and hpux, that imply that this file works using COFF. These definitions don't work for the pmax version of COFF. Has anyone actually run this test on USG, hpux, or any other COFF machine. The defines don't look correct to me. Instead of: #define a_text text_start #define a_data data_start I think that they should be: #define a_text tsize #define a_data dsize (at least on the mips). Furthermore, all of the files that include Incremental.h and use the macro DECLARE_INIT_FUNCTION, all reference an external variable called "_initfn". I can't find this variable defined anywhere. Could it be that this code depends on the behavior of the BSD linker and expects the linker to define it. The pmax linker requires that all symbols be defined exactly once, so this tactic won't work. _initfn will have to be defined somewhere else and linked in. Peter -- Peter Ham PO Box 3430 (h)(415) 322-4390 MS Computer Science Student Stanford, CA ham@cs.stanford.edu Stanford University 94309 (o)(415) 723-2067
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads