Hi all,It is possible :
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
g++ -I"../include" -o"../../Target/Main.exe" Main.cpp -lObject -L"../../Target/"
Etienne
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/