[Bug 195407] Re: mingw-4.2 requires shared lib{gcc, stdc++} for cross-dll exceptions

Luca Falavigna dktrkranz at ubuntu.com
Sat Jan 17 09:49:50 GMT 2009


I get this error trying to compile your test case:

dktrkranz at utumno:~$ make
g++ -fPIC -shared library.cpp -o liblibrary.so
g++ -Wl,-rpath,. -L. -llibrary main.cpp -o main
i586-mingw32msvc-g++ -shared library.cpp -o liblibrary.dll
i586-mingw32msvc-g++ -L. -llibrary main.cpp -o main.exe
i586-mingw32msvc-g++ -shared library.cpp -shared-libgcc -o liblibrary-shared.dll
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make: *** [liblibrary-shared.dll] Error 1
dktrkranz at utumno:~$

** Changed in: mingw32 (Ubuntu)
       Status: Confirmed => New

-- 
mingw-4.2 requires shared lib{gcc,stdc++} for cross-dll exceptions
https://bugs.launchpad.net/bugs/195407
You received this bug notification because you are a member of Ubuntu
Sponsors for universe, which is a direct subscriber.



More information about the Ubuntu-universe-sponsors mailing list