Re: compile and dynamic linking in one commandline

2003-10-13 Thread Vaillant Etienne
Hi, 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 It is possible : g++ -I"../in

Re: compile and dynamic linking in one commandline

2003-10-10 Thread Gerrit P. Haase
Joost schrieb: > Hi all, > Is it possible to compile and link a source file with a dll to an > executable in one step? Sure. > 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.dl

compile and dynamic linking in one commandline

2003-10-09 Thread Joost Kraaijeveld
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. Mo