I'd suggest HBMK_OPTIONS=-cpp for temporary solution. Otherwise I have no idea how to solve that, but to be honest I begin to give up maintaing the zillions of combinations and working around strange issues of strange tool releases. Probably we should focus on some combinations which can be made work using reasonable effort and which can be easily reproduced by most users.
First of all there exist no proper DWARF2 MinGW release, so this will give a continues stream of problems on the user side. Current method of unzipping some stuff while overwriting some files isn't very obvious/safe thing to do. Overall this 4.6.0 QT release looks like a smaller disaster. At least they could have made a "unified" release and not separate mingw and msvc version with same target dir, but colliding content. Plus the mess with this MinGW requirement... Brgds, Viktor On 2009 Dec 3, at 22:46, Bisz István wrote: > Hi, > > The error: undefined reference to `__gxx_personality_v0', listed below is > solved temporally with the force of the –cpp mode in postins.bat: > > FROM: > > echo ! Making shared version of Harbour binaries... > "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared > "-o%HB_BIN_INSTALL%\hbrun-dll" "%~dp0..\utils\hbrun\hbrun.hbp" > "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared > "-o%HB_BIN_INSTALL%\hbmk2-dll" "%~dp0..\utils\hbmk2\hbmk2.hbp" > "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared > "-o%HB_BIN_INSTALL%\hbtest-dll" "%~dp0..\utils\hbtest\hbtest.hbp" > "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared > "-o%HB_BIN_INSTALL%\hbi18n-dll" "%~dp0..\utils\hbi18n\hbi18n.hbp" > "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared > "-o%HB_BIN_INSTALL%\hbformat-dll" "%~dp0..\utils\hbformat\hbformat.hbp" > > :_NO_DLL_BIN > > if "%HB_PLATFORM%" == "dos" goto _NO_ICON_BIN > if "%HB_PLATFORM%" == "linux" goto _NO_ICON_BIN > > rem ; We build this here, because GNU Make wouldn't add the icon. > echo ! Making hbrun with application icon... > "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN "-o%HB_BIN_INSTALL%\hbrun" > "%~dp0..\utils\hbrun\hbrun.hbp" > > TO: > > echo ! Making shared version of Harbour binaries... > "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared –cpp > "-o%HB_BIN_INSTALL%\hbrun-dll" "%~dp0..\utils\hbrun\hbrun.hbp" > "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared –cpp > "-o%HB_BIN_INSTALL%\hbmk2-dll" "%~dp0..\utils\hbmk2\hbmk2.hbp" > "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared –cpp > "-o%HB_BIN_INSTALL%\hbtest-dll" "%~dp0..\utils\hbtest\hbtest.hbp" > "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared –cpp > "-o%HB_BIN_INSTALL%\hbi18n-dll" "%~dp0..\utils\hbi18n\hbi18n.hbp" > "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared –cpp > "-o%HB_BIN_INSTALL%\hbformat-dll" "%~dp0..\utils\hbformat\hbformat.hbp" > > :_NO_DLL_BIN > > if "%HB_PLATFORM%" == "dos" goto _NO_ICON_BIN > if "%HB_PLATFORM%" == "linux" goto _NO_ICON_BIN > > rem ; We build this here, because GNU Make wouldn't add the icon. > echo ! Making hbrun with application icon... > "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN –cpp > "-o%HB_BIN_INSTALL%\hbrun" "%~dp0..\utils\hbrun\hbrun.hbp" > > Best regards, > István > > ________________________________________________________________________________________________________________- > > ! Making shared version of Harbour binaries... > c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbcmplib.o):hbcmplib.c:(.eh_frame+0x11): > undefined reference to `__gxx_personality_v0' > c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbmain.o):hbmain.c:(.eh_frame+0x11): > undefined reference to `__gxx_personality_v0' > c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbgenerr.o):hbgenerr.c:(.eh_frame+0x11): > undefined reference to `__gxx_personality_v0' > c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbopt.o):hbopt.c:(.eh_frame+0x11): > undefined reference to `__gxx_personality_v0' > c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbdead.o):hbdead.c:(.eh_frame+0x11): > undefined reference to `__gxx_personality_v0' > c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbstripl.o):hbstripl.c:(.eh_frame+0x11): > more undefined references to `__gxx_personality_v0' follow > collect2: ld returned 1 exit status > hbmk2: Error: Running linker. 1 > c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbcmplib.o):hbcmplib.c:(.eh_frame+0x11): > undefined reference to `__gxx_personality_v0' > c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbmain.o):hbmain.c:(.eh_frame+0x11): > undefined reference to `__gxx_personality_v0' > c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbgenerr.o):hbgenerr.c:(.eh_frame+0x11): > undefined reference to `__gxx_personality_v0' > c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbopt.o):hbopt.c:(.eh_frame+0x11): > undefined reference to `__gxx_personality_v0' > c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbdead.o):hbdead.c:(.eh_frame+0x11): > undefined reference to `__gxx_personality_v0' > c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbstripl.o):hbstripl.c:(.eh_frame+0x11): > more undefined references to `__gxx_personality_v0' follow > collect2: ld returned 1 exit status > hbmk2: Error: Running linker. 1 > c:/harbour/mingw/lib/win/mingw/libhbmainstd.a(mainstd.o):mainstd.c:(.eh_frame+0x11): > undefined reference to `__gxx_personality_v0' > collect2: ld returned 1 exit status > hbmk2: Error: Running linker. 1 > c:/harbour/mingw/lib/win/mingw/libhbmainstd.a(mainstd.o):mainstd.c:(.eh_frame+0x11): > undefined reference to `__gxx_personality_v0' > collect2: ld returned 1 exit status > hbmk2: Error: Running linker. 1 > c:/harbour/mingw/lib/win/mingw/libhbmainstd.a(mainstd.o):mainstd.c:(.eh_frame+0x11): > undefined reference to `__gxx_personality_v0' > collect2: ld returned 1 exit status > hbmk2: Error: Running linker. 1 > ! Making hbrun with application icon... > c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbcmplib.o):hbcmplib.c:(.eh_frame+0x11): > undefined reference to `__gxx_personality_v0' > c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbmain.o):hbmain.c:(.eh_frame+0x11): > undefined reference to `__gxx_personality_v0' > c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbgenerr.o):hbgenerr.c:(.eh_frame+0x11): > undefined reference to `__gxx_personality_v0' > c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbopt.o):hbopt.c:(.eh_frame+0x11): > undefined reference to `__gxx_personality_v0' > c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbdead.o):hbdead.c:(.eh_frame+0x11): > undefined reference to `__gxx_personality_v0' > c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbstripl.o):hbstripl.c:(.eh_frame+0x11): > more undefined references to `__gxx_personality_v0' follow > collect2: ld returned 1 exit status > hbmk2: Error: Running linker. 1 > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour