Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
307c285079 | ||
![]() |
d982028b92 | ||
![]() |
ffadfd4c1e | ||
![]() |
c6e08d6c44 |
29
lib/buildit
29
lib/buildit
@@ -17,6 +17,11 @@ then
|
|||||||
CXX=clang++
|
CXX=clang++
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "$CC" ]
|
||||||
|
then
|
||||||
|
CC=clang
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z $MACOSX_DEPLOYMENT_TARGET ]
|
if [ -z $MACOSX_DEPLOYMENT_TARGET ]
|
||||||
then
|
then
|
||||||
MACOSX_DEPLOYMENT_TARGET=10.6
|
MACOSX_DEPLOYMENT_TARGET=10.6
|
||||||
@@ -29,7 +34,7 @@ fi
|
|||||||
|
|
||||||
case $TRIPLE in
|
case $TRIPLE in
|
||||||
*-apple-*)
|
*-apple-*)
|
||||||
if [ -z $RC_BUILDIT ]
|
if [ -z $RC_XBS ]
|
||||||
then
|
then
|
||||||
RC_CFLAGS="-arch i386 -arch x86_64"
|
RC_CFLAGS="-arch i386 -arch x86_64"
|
||||||
fi
|
fi
|
||||||
@@ -45,16 +50,24 @@ case $TRIPLE in
|
|||||||
-Wl,-unexported_symbols_list,libc++unexp.exp \
|
-Wl,-unexported_symbols_list,libc++unexp.exp \
|
||||||
/usr/lib/libSystem.B.dylib"
|
/usr/lib/libSystem.B.dylib"
|
||||||
else
|
else
|
||||||
EXTRA_FLAGS="-std=c++0x"
|
EXTRA_FLAGS="-std=c++0x "
|
||||||
LDSHARED_FLAGS="-o libc++.1.dylib \
|
RE_EXPORT_FILE="libc++abi.exp"
|
||||||
|
if [ -n "$SDKROOT" ]
|
||||||
|
then
|
||||||
|
EXTRA_FLAGS+="-isysroot ${SDKROOT}"
|
||||||
|
RE_EXPORT_FILE="libc++sjlj-abi.exp"
|
||||||
|
CXX=`xcrun -sdk "${SDKROOT}" -find clang++`
|
||||||
|
CC=`xcrun -sdk "${SDKROOT}" -find clang`
|
||||||
|
fi
|
||||||
|
LDSHARED_FLAGS="-o libc++.1.dylib \
|
||||||
-dynamiclib -nodefaultlibs \
|
-dynamiclib -nodefaultlibs \
|
||||||
-current_version ${RC_ProjectSourceVersion} -compatibility_version 1 \
|
-current_version ${RC_ProjectSourceVersion} -compatibility_version 1 \
|
||||||
-install_name /usr/lib/libc++.1.dylib \
|
-install_name /usr/lib/libc++.1.dylib \
|
||||||
${SDKROOT}/usr/lib/libc++abi.dylib \
|
${SDKROOT}/usr/lib/libc++abi.dylib \
|
||||||
-lSystem \
|
-lSystem \
|
||||||
-Wl,-unexported_symbols_list,libc++unexp.exp \
|
-Wl,-unexported_symbols_list,libc++unexp.exp \
|
||||||
-Wl,-reexported_symbols_list,libc++abi.exp \
|
-Wl,-reexported_symbols_list,${RE_EXPORT_FILE} \
|
||||||
-Wl,-force_symbols_not_weak_list,notweak.exp"
|
-Wl,-force_symbols_not_weak_list,notweak.exp "
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@@ -66,7 +79,7 @@ case $TRIPLE in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -z $RC_BUILDIT ]
|
if [ -z $RC_XBS ]
|
||||||
then
|
then
|
||||||
rm -f libc++.1.$SOEXT*
|
rm -f libc++.1.$SOEXT*
|
||||||
fi
|
fi
|
||||||
@@ -78,11 +91,11 @@ for FILE in ../src/*.cpp; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
cc *.o $RC_CFLAGS $LDSHARED_FLAGS
|
$CC *.o $RC_CFLAGS $LDSHARED_FLAGS $EXTRA_FLAGS
|
||||||
|
|
||||||
#libtool -static -o libc++.a *.o
|
#libtool -static -o libc++.a *.o
|
||||||
|
|
||||||
if [ -z $RC_BUILDIT ]
|
if [ -z $RC_XBS ]
|
||||||
then
|
then
|
||||||
rm *.o
|
rm *.o
|
||||||
fi
|
fi
|
||||||
|
159
lib/libc++sjlj-abi.exp
Normal file
159
lib/libc++sjlj-abi.exp
Normal file
@@ -0,0 +1,159 @@
|
|||||||
|
___cxa_allocate_exception
|
||||||
|
___cxa_end_catch
|
||||||
|
___cxa_demangle
|
||||||
|
___cxa_current_exception_type
|
||||||
|
___cxa_call_unexpected
|
||||||
|
___cxa_free_exception
|
||||||
|
___cxa_get_exception_ptr
|
||||||
|
___cxa_get_globals
|
||||||
|
___cxa_get_globals_fast
|
||||||
|
___cxa_guard_abort
|
||||||
|
___cxa_guard_acquire
|
||||||
|
___cxa_guard_release
|
||||||
|
___cxa_rethrow
|
||||||
|
___cxa_pure_virtual
|
||||||
|
___cxa_begin_catch
|
||||||
|
___cxa_throw
|
||||||
|
___cxa_vec_cctor
|
||||||
|
___cxa_vec_cleanup
|
||||||
|
___cxa_vec_ctor
|
||||||
|
___cxa_vec_delete
|
||||||
|
___cxa_vec_delete2
|
||||||
|
___cxa_vec_delete3
|
||||||
|
___cxa_vec_dtor
|
||||||
|
___cxa_vec_new
|
||||||
|
___cxa_vec_new2
|
||||||
|
___cxa_vec_new3
|
||||||
|
___dynamic_cast
|
||||||
|
___gxx_personality_sj0
|
||||||
|
#__ZTIDi
|
||||||
|
#__ZTIDn
|
||||||
|
#__ZTIDs
|
||||||
|
#__ZTIPDi
|
||||||
|
#__ZTIPDn
|
||||||
|
#__ZTIPDs
|
||||||
|
#__ZTIPKDi
|
||||||
|
#__ZTIPKDn
|
||||||
|
#__ZTIPKDs
|
||||||
|
__ZTSPm
|
||||||
|
__ZTSPl
|
||||||
|
__ZTSPj
|
||||||
|
__ZTSPi
|
||||||
|
__ZTSPh
|
||||||
|
__ZTSPf
|
||||||
|
__ZTSPe
|
||||||
|
__ZTSPd
|
||||||
|
__ZTSPc
|
||||||
|
__ZTSPb
|
||||||
|
__ZTSPa
|
||||||
|
__ZTSPKc
|
||||||
|
__ZTSPKy
|
||||||
|
__ZTSPKx
|
||||||
|
__ZTSPKw
|
||||||
|
__ZTSPKv
|
||||||
|
__ZTSPKt
|
||||||
|
__ZTSPKs
|
||||||
|
__ZTSPKm
|
||||||
|
__ZTSPKl
|
||||||
|
__ZTSPKi
|
||||||
|
__ZTSPKh
|
||||||
|
__ZTSPs
|
||||||
|
__ZTSPt
|
||||||
|
__ZTSPv
|
||||||
|
__ZTSPw
|
||||||
|
__ZTSPKa
|
||||||
|
__ZTSPx
|
||||||
|
__ZTSPy
|
||||||
|
__ZTSPKd
|
||||||
|
__ZTSPKe
|
||||||
|
__ZTSPKj
|
||||||
|
__ZTSPKb
|
||||||
|
__ZTSPKf
|
||||||
|
__ZTSv
|
||||||
|
__ZTSt
|
||||||
|
__ZTSs
|
||||||
|
__ZTSm
|
||||||
|
__ZTSl
|
||||||
|
__ZTSj
|
||||||
|
__ZTSi
|
||||||
|
__ZTSh
|
||||||
|
__ZTSf
|
||||||
|
__ZTSe
|
||||||
|
__ZTSd
|
||||||
|
__ZTSc
|
||||||
|
__ZTSw
|
||||||
|
__ZTSx
|
||||||
|
__ZTSy
|
||||||
|
__ZTSb
|
||||||
|
__ZTSa
|
||||||
|
__ZTIPKh
|
||||||
|
__ZTIPKf
|
||||||
|
__ZTIPKe
|
||||||
|
__ZTIPKd
|
||||||
|
__ZTIPKc
|
||||||
|
__ZTIPKb
|
||||||
|
__ZTIPKa
|
||||||
|
__ZTIPy
|
||||||
|
__ZTIPx
|
||||||
|
__ZTIPw
|
||||||
|
__ZTIPv
|
||||||
|
__ZTIPt
|
||||||
|
__ZTIPs
|
||||||
|
__ZTIPm
|
||||||
|
__ZTIPl
|
||||||
|
__ZTIPj
|
||||||
|
__ZTIPi
|
||||||
|
__ZTIPKi
|
||||||
|
__ZTIPKj
|
||||||
|
__ZTIPKl
|
||||||
|
__ZTIPKm
|
||||||
|
__ZTIPKs
|
||||||
|
__ZTIPKt
|
||||||
|
__ZTIPKv
|
||||||
|
__ZTIPKw
|
||||||
|
__ZTIPKx
|
||||||
|
__ZTIPKy
|
||||||
|
__ZTIPa
|
||||||
|
__ZTIPb
|
||||||
|
__ZTIPc
|
||||||
|
__ZTIPd
|
||||||
|
__ZTIPe
|
||||||
|
__ZTIPf
|
||||||
|
__ZTIPh
|
||||||
|
__ZTVN10__cxxabiv129__pointer_to_member_type_infoE
|
||||||
|
__ZTVN10__cxxabiv116__enum_type_infoE
|
||||||
|
__ZTVN10__cxxabiv117__array_type_infoE
|
||||||
|
__ZTVN10__cxxabiv117__class_type_infoE
|
||||||
|
__ZTVN10__cxxabiv117__pbase_type_infoE
|
||||||
|
__ZTVN10__cxxabiv119__pointer_type_infoE
|
||||||
|
__ZTVN10__cxxabiv120__function_type_infoE
|
||||||
|
__ZTVN10__cxxabiv120__si_class_type_infoE
|
||||||
|
__ZTVN10__cxxabiv121__vmi_class_type_infoE
|
||||||
|
__ZTVN10__cxxabiv123__fundamental_type_infoE
|
||||||
|
__ZTIa
|
||||||
|
__ZTIb
|
||||||
|
__ZTIc
|
||||||
|
__ZTId
|
||||||
|
__ZTIe
|
||||||
|
__ZTIf
|
||||||
|
__ZTIh
|
||||||
|
__ZTIi
|
||||||
|
__ZTIj
|
||||||
|
__ZTIl
|
||||||
|
__ZTIm
|
||||||
|
__ZTIs
|
||||||
|
__ZTIt
|
||||||
|
__ZTSN10__cxxabiv129__pointer_to_member_type_infoE
|
||||||
|
__ZTSN10__cxxabiv123__fundamental_type_infoE
|
||||||
|
__ZTSN10__cxxabiv121__vmi_class_type_infoE
|
||||||
|
__ZTSN10__cxxabiv120__si_class_type_infoE
|
||||||
|
__ZTSN10__cxxabiv120__function_type_infoE
|
||||||
|
__ZTSN10__cxxabiv119__pointer_type_infoE
|
||||||
|
__ZTSN10__cxxabiv117__pbase_type_infoE
|
||||||
|
__ZTSN10__cxxabiv117__class_type_infoE
|
||||||
|
__ZTSN10__cxxabiv117__array_type_infoE
|
||||||
|
__ZTSN10__cxxabiv116__enum_type_infoE
|
||||||
|
__ZTIy
|
||||||
|
__ZTIx
|
||||||
|
__ZTIw
|
||||||
|
__ZTIv
|
Reference in New Issue
Block a user