🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2095

Re: Linking problems onder gcc 2.2.2

#2095
From: Thomas Greve
Date: Thu, 15 Oct 1992 18:04
28 lines
1588 bytes
In article <92287.163931U52468@uicvm.uic.edu> <U52468@uicvm.uic.edu> writes:
>  I'm having problems linking under gcc/os/2.  First, gcc won't link by itself.
>Fine, I use gcc -c and link386.. This works.. sometimes..  I have had, as of
>yet, no success linking c++ programs.  The linker always reports this error:
>
>Unresolved external entry:
>  __CTOR_LIST__
>  __DTOR_LIST__
>
>I searched the object files I was linking and did not find these strings.  I
>did find them, once each, in libc.lib and a number of times in the c++
>library file.  This is confusing!   What am i doing wrong??
You have to `collect' your objects first. Look into the samples...
>
>  Also, I have some object files I would like to turn into a library.  How
>can I do this??
There is a glib-something Tool, which is probably for this. As gcc/2 produces
std-obj format, you might also use the `lib' utility from the os2-toolkit.

Or you could switch to emx-gcc, which provides unix-tools for all this.



-- 
				- Thomas

   greve@rs1.thch.uni-bonn.de
   unt145@dbnrhrz1
Technical Details
Message-ID: <1992Oct15.180449.12406@olymp.informatik.uni-bonn.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!ira.uka.de!Germany.EU.net!olymp!rs1.thch.uni-bonn.de!greve
References: <92287.163931U52468@uicvm.uic.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer,comp.os.os2.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!ira.uka.de!Germany.EU.net!olymp!rs1.thch.uni-bonn.de!greve
From: greve@rs1.thch.uni-bonn.de (Thomas Greve)
Subject: Re: Linking problems onder gcc 2.2.2
Message-ID: <1992Oct15.180449.12406@olymp.informatik.uni-bonn.de>
Sender: usenet@olymp.informatik.uni-bonn.de
Organization: University of Bonn, phys. Chemistry
References: <92287.163931U52468@uicvm.uic.edu>
Date: Thu, 15 Oct 1992 18:04:49 GMT
Lines: 28