Mail Archives: djgpp/1998/01/21/17:48:16
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) :-)
- Raw text -