bug-ncurses
[Top][All Lists]
Advanced

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

Re: win32 build failing


From: Thomas Dickey
Subject: Re: win32 build failing
Date: Thu, 21 Mar 2013 19:22:47 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, Mar 21, 2013 at 07:55:26PM +0100, Michal Suchanek wrote:
> Hello,
> 
> I tried building a win32 library because the one downloaded from
> invisible island does not work for me.

I've been cross-compiling those - someone commented a while back that
there's an undefined symbol.
 
> The build fails to link executables so I am not very surprised that
> the library does not work when trying to load it into a program
> dynamically.
> 
> BTW the readme recommends to use LIB.EXE while there is dlltool:
> http://mirrors.zoreil.com/webclub.kcom.ne.jp/ma/colinp/win32/dll/make.html

I use dlltool in the cross-compiles.  Originally Juergen's build-instructions
on mingw used lib.exe, but the revised instructions are more involved.
 
> I can't tell if the libraries created would be different because the
> library I have does not work even with the mingw linker directly.
> 
> Any ideas what might be wrong?
> 
> Thanks
> 
> Michal
> 
> CC=i686-w64-mingw32-gcc CFLAGS=-m32 ./configure
> --host=amd64-gnu-linux --target=i686-w64-mingw32      --prefix=/mingw
>        --without-cxx-binding         --without-ada
> --enable-warnings         --enable-assertions
> --enable-reentrant         --with-debug         --with-normal
> --disable-home-terminfo         --enable-sp-funcs
> --enable-term-driver         --enable-interop         --with-pthread

my options are a little different - attaching the relevant scripts
(part of a large set...), in case it's helpful


-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: foo.zip
Description: Zip archive

Attachment: signature.asc
Description: Digital signature


reply via email to

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