bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mingw host and def-files


From: Ralf Wildenhues
Subject: Re: mingw host and def-files
Date: Mon, 16 Jul 2007 07:30:44 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]