Hello Roumen, * Roumen Petrov wrote on Sat, Jul 14, 2007 at 10:58:07PM CEST: > Env.: mingw host, linux buld, i.e. cross compilation. > > In this environment some of libraries are not ported entirely. > Possible work around is to def file with imports instead of library. > If I add def file to the source list sources it is removed in link mode. > > How to add *def file to the list of files in link command ?
You can pass -Wc,$DLLNAME.def to libtool and it will pass $DLLNAME.def through. See also -Xcompiler for a similar method that also allows passing through arguments that contain comma. Strictly speaking, this is a libtool question (and as such addressed in its manual). Cheers, Ralf
