From: heath AT v-wave DOT com (Heath Shoup) Newsgroups: comp.os.msdos.djgpp Subject: Re: RSXNT kit Date: 21 Jan 1998 22:23:21 GMT Organization: none Lines: 48 Message-ID: <6a5sgp$o1q1@crash.videotron.ab.ca> References: <6a4d7e$mn21 AT crash DOT videotron DOT ab DOT ca> <34C59590 DOT 3DE7 AT plinetl DOT com> NNTP-Posting-Host: the-brig.v-wave.com Mime-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <34C59590 DOT 3DE7 AT plinetl DOT com>, cterry AT plinetl DOT com says... > >Heath Shoup wrote: >> >> Does anyone have this thing working? I followed the installation instructions >> to a tee ( I think :-) ) and when I try the test code it belches this at me. >> >I had similar Messages trying to set up the old version RSXDK so maybe >this will help. > >> C:\winstuff>gcc -Zwin32 test.c -o test.exe >> gcc.exe: unrecognized option `-Zwin32' >The Zwin32 option is defined in the file spec in your default library >directory >either your library path doesn't point to the rsx... library or the new >spec file isn't >there. This is the first thing. The option tells the linker which >libraries to link and >the start address. >> test.c:1: parse error before `WinMain' >> test.c:1: parse error before `hInstance' > >This in my experience came from the macro for WINAPI. >The Windows.h header file defines this. The problem could be that your >header file was >already had packed statments in it and you ran the RSX conversion on >them? >To tell run your file thru cpp.exe and see what you get. >Warning- The output is about 8000 lines. > >> So if anyone knows where I can get help or better yet.. if you can help please >> point me in the right direction.. > >Hope this helps. > >Charles Terry Well I have suceeded in getting rid of the -Zwin32 error but all the others are still there. As for the header file I have no idea what the RSX conversion is or how to run it so I don't think I have done that. As for running it through gpp.exe.. I did that and it did absolutely nothing, no output whatsoever. Unless I keep the -Zwin32 in which case it tells me that -Zwin32 is an invalid option. So now I am stuck again.. HELP (Please) :-)