[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libtool build of development source on mingw : libstdc++.dll.a: No such
From: |
John W. Eaton |
Subject: |
libtool build of development source on mingw : libstdc++.dll.a: No such file or directory |
Date: |
Sat, 21 Nov 2009 21:14:52 -0500 |
On 22-Nov-2009, Tatsuro MATSUOKA wrote:
| Hello
|
| This is first time try to build octave on mingw using libtool.
|
| I have encounter the error at linking libcruft.
|
| *****************
| libtool: link: g++ -shared-libgcc -D_DLL -DPIC -shared -nostdlib ..........
| ....../mingw/lib/gcc/mingw32/4.4.0/libstdc++.dll.a -lmingw32 -lgcc_s -lgcc
-lmoldname -lmingwex
| -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc_s -lgcc
-lmoldname -lmingwex
| -lmsvcrt c:/programs/mingw/bin/../lib/gcc/mingw32/4.4.0/crtend.o -mieee-fp
-o
| .libs/libcruft-3-3-50+.dll -Wl,--enable-auto-image-base -Xlinker --out-implib
-Xlinker
| .libs/libcruft.dll.a
| g++.exe: c:/Programs/MinGW/lib/gcc/mingw32/4.4.0/libstdc++.dll.a: No such
file or directory
| make[2]: *** [libcruft.la] Error 1
| make[2]: Leaving directory `/home/octaves/OctBuild/octave-develop/libcruft'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/octaves/OctBuild/octave-develop'
| make: *** [all] Error 2
| ********************
|
| There is no c:/Programs/MinGW/lib/gcc/mingw32/4.4.0/libstdc++.dll.a.
| The library file'libstdc++_s.a' is the correct library file for shared
building for MinGW gcc
| complier.
What is adding .../mingw/lib/gcc/mingw32/4.4.0/libstdc++.dll.a to
the link command, what was really there in place of the ...? There is
no mention of libstdc++ in the Octave Makefile.am files, so that is
coming from somewhere else. Most likely it is libtool or GCC. So
which one is it, and why?
jwe