----------------- Strange behaviour of stock gcc of FreeBSD 7. # gcc -print-file-name=libgcc_s.so /usr/lib/libgcc_s.so # gcc -print-file-name=libgcc_s.so.1 libgcc_s.so.1 . This sould be # gcc -print-file-name=libgcc_s.so.1 /lib/libgcc_s.so.1 However gcc42 from ports behaves correctly; and # gcc42 -print-file-name=libgcc_s.so.1 /usr/local/lib/gcc-4.2.3/gcc/i386-portbld-freebsd7.0/4.2.3/../../../libgcc_s.so.1 # gcc42 -print-file-name=libgcc_s.so /usr/local/lib/gcc-4.2.3/gcc/i386-portbld-freebsd7.0/4.2.3/../../../libgcc_s.so . --- external/gcc3_specific/makefile.mk 2010-01-08 18:13:15.000000000 +0900 +++ external/gcc3_specific/makefile.mk 2010-02-07 12:17:43.000000000 +0900 @@ -43,7 +43,6 @@ .IF "$(SYSTEM_STDLIBS)" != "YES" && "$(COMID)"=="gcc3" .IF "$(OS)"!="MACOSX" -.IF "$(OS)"!="FREEBSD" .EXPORT : CC @@ -60,8 +59,6 @@ .ENDIF .ENDIF - -.ENDIF .ENDIF # "$(BUILD_SPECIAL)"=="" --- scp2/source/ooo/ure.scp 18 Mar 2008 13:35:26 -0000 1.2 +++ scp2/source/ooo/ure.scp 21 Mar 2008 09:26:48 -0000 @@ -728,7 +730,7 @@ End #endif -#if defined _gcc3 && !(defined FREEBSD || defined NETBSD \ +#if defined _gcc3 && !(defined NETBSD \ || defined MACOSX || defined SYSTEM_STDLIBS || defined(WNT)) File gid_File_Dl_GccS TXT_FILE_BODY; @@ -739,7 +741,7 @@ End #endif -#if defined _gcc3 && !(defined FREEBSD || defined NETBSD \ +#if defined _gcc3 && !(defined NETBSD \ || defined MACOSX || defined SYSTEM_STDLIBS || defined(WNT)) File gid_File_Dl_Stdcpp Dir = SCP2_URE_DL_DIR;