🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Linking Red Book Example with gcc 2.1

#207
From: "Alan McAdoo"
Date: Mon, 03 Aug 1992 01:30
16 lines
1093 bytes
I am trying to compile and link the examples from Red Book 1, namely
the programm (SWAPSIZE), using only gcc 2.1 and OS/2 utilities.

The source swapsize.c compiles, but I cannot get it to link correctly.
- SWAPSIZE.DEF calls for two unknown libraries : OS2386 & DDE4MBS ?
- also it calls for "STUB"  "OS2STUB.EXE" : what does this mean ?

If I omit the libraries spec., then I get an unresolved "__ltoa",
which is a called routine (can this be found somewhere else ?).
Please help a struggling programmer (without documentation) !.
Come on IBM, put the on-line manuals on Internet or let us buy them for
a reasonable price ($300)..

Thanks, Alan McAdoo

Standard Disclaimer etc.
Technical Details
Message-ID: <199208030031.AA10315@tuna.wang.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!darwin.sura.net!mips!sdd.hp.com!usc!rpi!bu.edu!wang!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!darwin.sura.net!mips!sdd.hp.com!usc!rpi!bu.edu!wang!news
From: ALAN.MCADOO@OFFICE.WANG.COM ("Alan McAdoo")
Newsgroups: comp.os.os2.programmer
Subject: Linking Red Book Example with gcc 2.1
Message-ID: <199208030031.AA10315@tuna.wang.com>
Date: 3 Aug 92 01:30:03 GMT
Sender: news@wang.com
Organization: Mail to News Gateway at Wang Labs
Lines: 16