🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #34122

Re: argc and argv with gem

#34122
From: DAAN JITTA
Date: Fri, 16 Sep 1988 23:30
12 lines
816 bytes
Jim,
 
You probably compiled your program specifying the -VGEM or -VAPP
option to the compiler driver cc. For an unknown reason, the GEM runti
runtime startup sets ARGV to NULL. Just take a look at the source, or
at the manual at page 141 (entry crtsg.o).
 
Solution: call cc first with option "-c", and then call the linker
yourself specifying both the correct runtime startup crts0.o and the
VDI/AES libraries (-laes -lvdi). This will work!!
 
Daan Josephus Jitta ( daanjj@neabbs )
Technical Details
Message-ID: <31968@neabbs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!hp4nl!telmail!neabbs!daanjj

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!hp4nl!telmail!neabbs!daanjj
From: daanjj@neabbs.UUCP (DAAN JITTA)
Newsgroups: comp.sys.atari.st
Subject: Re: argc and argv with gem
Message-ID: <31968@neabbs.UUCP>
Date: 16 Sep 88 23:30:22 GMT
Organization: NEABBS multi-line BBS +31-20-717666 (12x), Amsterdam, Holland
Lines: 12