This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Setup.exe build woes


On May 24 11:22, Corinna Vinschen wrote:
> What happened to setup.exe?
> 
> The last time I built it is a year ago or so, but now I can't build it
> anymore without manual intervention.  I used the bootstrap.sh script,
> followed by `make'.  I have all mingw packages from the distro
> installed, but that doesn't help.
> 
> See what happens when trying to link setup.exe:
> 
>   g++-3 -mno-cygwin -Werror -Wall -Wno-uninitialized -Wpointer-arith \
>                     -Wcomments -Wcast-align -Wwrite-strings \
> 	-g -O2 \
> 	-mwindows -static -o setup.exe \
> 	AntiVirus.o archive.o [...] win32.o window.o \
> 	csu_util/MD5Sum.o csu_util/rfc1738.o csu_util/version_compare.o \
> 	libmd5-rfc/md5.o  \
> 	libgetopt++/.libs/libgetopt++.a -lgcrypt /usr/lib/libgpg-error.a \
> 	-L/usr/lib /usr/lib/libintl.a /usr/lib/libiconv.a -lshlwapi \
> 	-lcomctl32 -lole32 -lwsock32 -lnetapi32 -luuid /usr/lib/liblzma.a \
> 	-lbz2 -lz -lmingw32
> 
> Why on earth does the configury pull in files from /usr/lib instead of
> from /usr/lib/mingw?

I just found that this isn't configure, but libtool.  Adding an early
"-L/usr/lib/mingw" fixes the problem, but where is the right place to
add it?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]