On Sun, 2009-05-17 at 09:55 +0200, Johnny Willemsen wrote: > > I think I mixed two options at our side. I am retesting with just - > > static at > > this moment. > > Seems -static doesn't work yet for ACE. When I create the ACE.dll, and want > to link it with an executable using -static, which files do I now need? Ld > complains that it can't find -lACE, do I need ACE.a, ACE.lib?
If you create dynamic / shared libraries / dlls, then the way to go is $(TARGET)-gcc -shared -o libxx.dll *.o If you create static libraries, then this is done via $(TARGET)-ar libxx.a *.o $(TARGET)-ranlib libxx.a You can load DLLs dynamically at runtime (this was in one of your tests), not so with static libraries. Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel