From: Charles Terry Newsgroups: comp.os.msdos.djgpp Subject: Re: RSXNT kit Date: Tue, 20 Jan 1998 22:28:33 -0800 Organization: All USENET -- http://www.Supernews.com Lines: 34 Message-ID: <34C59590.3DE7@plinetl.com> References: <6a4d7e$mn21 AT crash DOT videotron DOT ab DOT ca> Reply-To: cterry AT plinet DOT com NNTP-Posting-Host: 6310 AT 206 DOT 168 DOT 149 DOT 184 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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