2010/9/22 John E. / TDM <[email protected]>

>  On 9/22/2010 6:00 AM, Ruben Van Boxem wrote:
> > I also noticed TDM manages to release without the .la files. Would
> > this not create problems with libtool build systems?
>
> If libtool required a .la file for every "-l" option, no one would ever
> adopt it. I delete the .la files to avoid relocation problems, and let
> GCC handle the dependencies among its component target system libraries.
>

Well, I deleted the .la files and the process seems to clear up somewhat.
I'm still getting these kinds of errors:

Creating library file:
.libs/libppl.dll.am:/development/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../x86_64-w64-mingw32/lib/dllcrt2.o:crtdll.c:(.text+0x50):
> multiple definition of `_CRT_INIT'
> m:/development/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../x86_64-w64-mingw32/lib/dllcrt2.o:crtdll.c:(.text+0x50):
> first defined here
> m:/development/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../x86_64-w64-mingw32/lib/dllcrt2.o:crtdll.c:(.text+0x3b0):
> multiple definition of `DllMainCRTStartup'
> m:/development/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../x86_64-w64-mingw32/lib/dllcrt2.o:crtdll.c:(.text+0x3b0):
> first defined here
> m:/development/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../x86_64-w64-mingw32/lib/dllcrt2.o:crtdll.c:(.CRT$XIAA+0x0):
> multiple definition of `pcinit'
> m:/development/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../x86_64-w64-mingw32/lib/dllcrt2.o:crtdll.c:(.CRT$XIAA+0x0):
> first defined here
>

In two cases:
1. I turn off CFLAGS="-flto" LFLAGS="-flto -fwhopr=2", and it happens in PPL
(this means the same options that worked when using sezero's toolchain to
build).
2. I turn on lto stuff, and it already happend in GMP. libiconv and expat
are fine though.

Is this a configuration fault in the crt? This is my configure line for
that:

> ../../src/mingw-w64/mingw-w64-crt/configure --host=$HOST --build=$BUILD \
>                                             --prefix=$PREFIX
> --with-sysroot=$PREFIX \
>                                             --disable-lib32 \
>                                             CFLAGS="-O2 $BUILD_CFLAGS"
> LFLAGS="$BUILD_LFLAGS"
>

I know host and build need to be adapted or cross builds, but seeing as it's
all x86_64-w64-mingw32, I haven't gotten to it yet. Any thoughts? Thanks

Ruben
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to