This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
GUI and -subsystem windows
- To: gnu-win32 at cygnus dot com
- Subject: GUI and -subsystem windows
- From: "R. Wester" <WESTER at ilt dot fhg dot de>
- Date: Mon, 7 Apr 1997 08:57:26 +0100
- Organization: Fraunhofer ILT, Aachen, Germany
- Reply-To: WESTER at ilt dot fhg dot de
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".