bug-libtool
[Top][All Lists]
Advanced

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

Re: msys/mingw warnings about string length and putenv absence with gcc


From: Roumen Petrov
Subject: Re: msys/mingw warnings about string length and putenv absence with gcc -Wall -ansi
Date: Tue, 30 Dec 2008 23:41:32 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.18) Gecko/20081114 SeaMonkey/1.1.13

Roumen Petrov wrote:
Charles Wilson wrote:
[SNIP]
If oldnames is turned off may we always define putenv as _putenv for mingw host ?

May be this impact more functions. I just remove -lmoldname from gcc (mingw) 3.4.5 specs file and link of an 2.2.6 wrapper script fail with undefined reference to `_setmode', `_stat', `_chmod', `_getcwd' and `_putenv'.

I guess that for MCVS and GCC(mingw) we may use "#define xxx _xxx" for all those functions.

P.S. except mingw32ce platform:
http://lists.gnu.org/archive/html/libtool/2008-11/msg00147.html

Roumen






reply via email to

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