compile and dynamic linking in one commandline

Joost Kraaijeveld J.Kraaijeveld@Askesis.nl
Fri Oct 10 08:33:00 GMT 2003


Hi all,

Is it possible to compile and link a source file with a dll to an
executable in one step? 

At this moment I use 2 steps:
g++ -c -I"../include" -o"../../Objects/Main.o" Main.cpp
g++ -o"../../Target/Main.exe ../../Objects/Main.o
../../Target/libObject.dll


Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
email: J.Kraaijeveld@Askesis.nl
web: www.askesis.nl 


 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2226 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20031010/3b4e14db/attachment.bin>


More information about the Cygwin mailing list