libtool
[Top][All Lists]
Advanced

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

Re: problem when cross compiling with mingw32ce


From: Ralf Wildenhues
Subject: Re: problem when cross compiling with mingw32ce
Date: Mon, 27 Oct 2008 22:18:43 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Vincent,

* Vincent Torri wrote on Mon, Oct 27, 2008 at 06:27:21PM CET:
> On Wed, 22 Oct 2008, Ralf Wildenhues wrote:
>>
>> Since this is a dummy library only, the prudent thing for libtool to do
>> would be just to drop instances of -lm.  This is already done for some
>> other hosts.

> currently, i'm not searching a wonderful patch, but a workaround for that 
> problem. I'm unfortunately using more and more c++ because of the win32  
> api which sometimes requires c++ parts of code. Hence i don't have any 
> DLL at all.
>
> if you don't even have the time to write a workaround, please tell me  
> where i should look in ltmain.sh, so that i can least try to find that  
> workaround myself.

It would help if you posted, for a library where this fails, the output
of the './libtool --mode=link' line with --debug added as first
argument; also, please post the output of
  ./libtool --tag=CXX --config

(I'm suspecting that -lm gets pulled in through C++ postdeps; however I
fail to see without data why func_mode_link doesn't weed it out again.)

Thanks,
Ralf




reply via email to

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