🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Can't get gcc2.1 to work

#1085
From: Samuel A. Figueroa
Date: Tue, 18 Aug 1992 15:24
34 lines
1587 bytes
I recently downloaded the gcc2.1 binaries (the one that uses the native
OS/2 linker), and while I am able to compile the "Hello world" sample
program without any problems, I can't figure out how to link it.  The
result of the two commands:

   GCC -c SAMPLE1.C
   LINK386 SAMPLE1;

is as follows:


Operating System/2 LX (Linear Executable) Linker
Version 2.00.000 Feb 25 1992
Copyright (C) IBM Corporation 1988-1992.
Copyright (C) Microsoft Corp. 1988-1992.
All rights reserved.


D:\GNU\LIB\LIBC.lib(gnulib3.obj) : error L2029: '___CTOR_LIST__' : unresolved external
D:\GNU\LIB\LIBC.lib(gnulib3.obj) : error L2029: '___DTOR_LIST__' : unresolved external

LINK386 : warning L4071: application type not specified; assuming WINDOWCOMPAT

There were 2 errors detected


Could someone please tell me what I am doing wrong?  As far as I know, I
installed gcc correctly according to the installation instructions (except
that I installed it on the D: drive instead of the C: drive; I copied the
SAMPLE1.C program to the C: drive and compiled it from there).
------------
Sam Figueroa (figueroa@cs.nyu.edu)
This is not a .signature virus.
Do NOT copy me into your .signature file!
Technical Details
Message-ID: <9208181524.AA17209@SPUNKY.CS.NYU.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!sgigate!rutgers!cmcl2!SPUNKY.CS.NYU.EDU!figueroa

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!sgigate!rutgers!cmcl2!SPUNKY.CS.NYU.EDU!figueroa
From: figueroa@SPUNKY.CS.NYU.EDU (Samuel A. Figueroa)
Newsgroups: comp.os.os2.programmer
Subject: Can't get gcc2.1 to work
Message-ID: <9208181524.AA17209@SPUNKY.CS.NYU.EDU>
Date: 18 Aug 92 15:24:16 GMT
Sender: daemon@cmcl2.nyu.edu (Mr Background)
Organization: New York University
Lines: 34