Path: 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 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 )