[Ecls-list] ecl-0.9e msvc 7.1 linker error (windows).

Goffioul Michael goffioul at imec.be
Thu Jan 20 08:19:15 UTC 2005


> I try to build ECL (ecl-0.9e-fix-1.tgz.gz)
> under MSVC 7.1 (VS.NET 2003) on my Windows 2000 box today.
> 
> Linking failed twice on "ecl_min.exe" and "ecl.dll",
> because there is a mixture of libc and libcd (debug)
> libraries used inside *.obj files.

Does it help if you add /NODEFAULTLIB to the link command of gmp.lib
in msvc\gmp\Makefile.msvc6 (around line 567)? So it should look like:

gmp.lib: mpn_$(MPN_TYPE).lib $(GMP_ALL_OBJS)
	link -lib /NOLOGO /NODEFAULTLIB /OUT:$@ $(GMP_ALL_OBJS) mpn_$(MPN_TYPE).lib

Michael.




More information about the ecl-devel mailing list