🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.misc
Article #17703

Re: Need help on GNU/GCC compiler for OS/2

#17703
From: Colin Jensen
Date: Fri, 05 Mar 1993 02:03
25 lines
2050 bytes
In article <1993Mar4.044754.17560@math.ucla.edu> nzhong@oak.math.ucla.edu (Ning Zhong) writes:
>It was at the last step "ld *******" where my machine told me "ABNORMAL PROGRAM
>TERMINATION, SYS1808  The process has stopped. The software diagnostic code is 
>0006"   which I guess it meant it can't find the "ld". So what was wrong?
>Doesn't the GCC package for OS2 has a linker? Where is that "ld"? It isn't in
>the GCCBIN.ZIP.
>
>I did try "gcc -c sample1.c" and then "link386 sample1.obj" though, and it 
>worked. 

As you suspect, there is no ld packaged with gcc.  For now, just use
link386 to do your linking (and if you're using C++, be sure to invoke
collect.exe in the same manner as sample2 and sample3 that are provided
with the compiler).  In the next release, everything will be handled
automatically.

>And a final question, what "-l"
>option should I use to compile a C++ program?

Not sure what you mean by this... what are you tring to invoke?
-- 
Colin Jensen			ljensen@netcom.netcom.com
  ``I've never understood this strange urge to #define the basic types. Is 
  anyone out there using a compiler where USHORT would be anything other than 
  "unsigned short"?''  - Walter Bright
Technical Details
Message-ID: <1993Mar5.020318.24479@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!gatech!howland.reston.ans.net!wupost!decwrl!netcomsv!netcom.com!ljensen
References: <1993Mar4.044754.17560@math.ucla.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,32d7bf4e17ba2c91
X-Google-Attributes: gid11318c,public
X-Google-Thread: 1044c2,32d7bf4e17ba2c91
X-Google-Attributes: gid1044c2,public
X-Google-Thread: 10121b,32d7bf4e17ba2c91
X-Google-Attributes: gid10121b,public
X-Google-ArrivalTime: 1993-03-05 16:39:33 PST
Newsgroups: comp.os.os2.misc,comp.os.os2.programmer,gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!gatech!howland.reston.ans.net!wupost!decwrl!netcomsv!netcom.com!ljensen
From: ljensen@netcom.com (Colin Jensen)
Subject: Re: Need help on GNU/GCC compiler for OS/2
Message-ID: <1993Mar5.020318.24479@netcom.com>
Organization: Netcom - Online Communication Services (408 241-9760 guest)
References: <1993Mar4.044754.17560@math.ucla.edu>
Date: Fri, 5 Mar 1993 02:03:18 GMT
Lines: 25