bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: can't compile gettext-0.17 on Mingw on Windows XP (using gcc-3.4.5)


From: haibin zhang
Subject: Re: can't compile gettext-0.17 on Mingw on Windows XP (using gcc-3.4.5)
Date: Tue, 19 Jan 2010 14:50:29 +0800 (CST)

Hi Bruno,

Thank you very much, I compiled gettext-0.17 successfully on Mingw (using 
gcc-3.4.5) .

The following is my configuratin parameter, I think you can add it to 
README.woe32 so that the people know how to compile gettext on Mingw.

./configure --prefix=/mingw --enable-threads=win32 --disable-java 
--without-included-libxml CFLAGS="-O2 -I/mingw/include/glib-2.0 
-I/mingw/lib/glib-2.0/include"  CXXFLAGS="-O2 -I/mingw/include/glib-2.0 
-I/mingw/lib/glib-2.0/include" LDFLAGS="-L/mingw/lib -lglib-2.0"

Thanks again.

Zhang HaiBin 

--- 10年1月18日,周一, Bruno Haible <address@hidden> 写道:

> 发件人: Bruno Haible <address@hidden>
> 主题: Re: can't compile  gettext-0.17 on Mingw on Windows XP (using gcc-3.4.5)
> 收件人: "haibin zhang" <address@hidden>
> 抄送: address@hidden
> 日期: 2010年1月18日,周一,上午10:02
> Hi,
> 
> haibin zhang wrote:
> > How to configure to use USE_WIN32_THREADS?
> 
> $ ./configure --help | grep thread
>   --enable-threads={posix|solaris|pth|win32}
>                
>           specify multithreading
> API
>   --disable-threads   
>    build without multithread safety
> 
> > The following is my configuration parameters:
> > 
> > ./configure --prefix=/mingw --disable-java
> --without-included-glib --without-included-libxml
> CFLAGS="-O2 -Id:/msys/mingw/include/glib-2.0
> -Id:/msys/mingw/lib/glib-2.0/include"  CXXFLAGS=-O2
> LDFLAGS="-Ld:/msys/mingw/lib -lglib-2.0"
> 
> The MSYS environment is not something that I recommend. See
> README.woe32 for
> the recommended (and tested) way of building mingw
> binaries.
> 
> Bruno
> 


      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/




reply via email to

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