From: Oscar F. <of...@wa...> - 2003-11-14 22:18:27
|
"Pascal Buhler" <pb...@tr...> writes: > Yes usually as a dll. I am not using dllwrap that I know of. > Here is the basic configuration. > > CFLAGS =3D -Wall -O2 -fno-exceptions -fno-rtti > CXXFLAGS =3D -Wall -O2 -fno-exceptions -fno-rtti > LINK =3D g++ > LFLAGS > =3D -Wl,-s -Wl,-subsystem,windows -shared -Wl,--export-all-symbols -Wl,--= out-i > mplib,libsomelib.a IIRC, -Wl,--out-implib requires lots of resources. Try to avoid it. Import libraries are not mandatory for MinGW, you can link against .dll's as you link against .so's in Linux. > For the first 20 minutes cpu is at 100% and the memory usage peaks at aro= und > 1GB (not just g++, but I have no other applications running) after that c= pu > and memory usage drops and it starts to create the library. This produces a dej=E0-vu senstation here. --=20 Oscar |