GUI and -subsystem windows
R. Wester
WESTER@ilt.fhg.de
Sun Apr 6 23:58:00 GMT 1997
Hi,
I tried to link a GUI Application (I used the V C++ class library)
with the following commands:
g++ -c f.o -o f --subsystem windows -lkernel32
gcc: windows: No such file or directory
g++ -c f.o -o f -subsystem windows -lkernel32
gcc: windows: No such file or directory
gcc: unrecognized option -subsystem
ld -o f f.o -subsystem windows -lkernel32
/cygnus/H-I386~1/BIN/LD.EXE: cannot open -kernel32: No such file
or directory
Can anybody give me a hint how to link succesfully.
Besides this I have another problem. Why does
int __stdcall *pi(int j);
compile but not
int * __stdcall *pi(int j);
which gives the error message:
syntax error before '__attribute__'
I would be very appreciative for any help.
Thanks in advance
--Rolf
wester@ilt.fhg.de
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list