bug-libtool
[Top][All Lists]
Advanced

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

Re: AC_PROG_NM when compiling for mingw


From: Ralf Wildenhues
Subject: Re: AC_PROG_NM when compiling for mingw
Date: Thu, 23 Apr 2009 23:31:18 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Bruno,

thanks for the bug report.

* Bruno Haible wrote on Thu, Apr 23, 2009 at 10:54:08PM CEST:
> My preferred way to compile for mingw is from the cygwin environment, through
> the following commands:
[...]
> But in this situation, the AC_PROG_NM macro does not set NM to the value
> /usr/bin/nm, as expected. Rather, I see this:
> 
>   checking for BSD- or MS-compatible name lister (nm)... (cached) no
>   checking for i586-pc-mingw32-dumpbin... link -dump -symbols
>   checking the name lister (link -dump -symbols) interface... (cached) BSD nm
> 
> Two things are wrong here:
>   1) the non-recognition of the 'nm' program,
>   2) the use of the wrong 'link' program. In the Cygwin environment, 'link'
>      is the POSIX 'link' command [1] from coreutils, not the Microsoft Visual
>      Studio linker.

I think both have been fixed in a post-2.2.6a patch, at least (2) has.
You can try git Libtool or set NM as a workaround.

Cheers,
Ralf




reply via email to

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