diff options
author | Jay Freeman <saurik@saurik.com> | 2008-04-10 07:40:35 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-04-10 07:40:35 +0000 |
commit | 0b7e5b99eea225c8afb92f628b5b05ce03ac8688 (patch) | |
tree | 57ee142fd4276525f89dfdef3c2906ca395f84a3 /data | |
parent | 7f2727984020f3288243313538a20349623bcc45 (diff) |
Added gcc and csu for native development.
git-svn-id: http://svn.telesphoreo.org/trunk@207 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data')
-rw-r--r-- | data/csu/_metadata/description | 1 | ||||
l--------- | data/csu/_metadata/license | 1 | ||||
l--------- | data/csu/_metadata/maintainer | 1 | ||||
-rw-r--r-- | data/csu/_metadata/name | 1 | ||||
-rw-r--r-- | data/csu/_metadata/priority | 1 | ||||
-rw-r--r-- | data/csu/_metadata/section | 1 | ||||
-rw-r--r-- | data/csu/_metadata/version | 1 | ||||
-rw-r--r-- | data/csu/csu-232.tgz | bin | 0 -> 41702 bytes | |||
-rw-r--r-- | data/csu/make.sh | 4 | ||||
l--------- | data/iphone-gcc/_metadata/csu.dep | 1 | ||||
l--------- | data/iphone-gcc/_metadata/odcctools.dep | 1 | ||||
-rw-r--r-- | data/iphone-gcc/libstdc++.diff | 12 | ||||
-rw-r--r-- | data/iphone-gcc/llvm-gcc-4.2.tgz (renamed from data/iphone-gcc/llvm-gcc-4.2-47984.tgz) | bin | 54950805 -> 55018581 bytes | |||
-rw-r--r-- | data/iphone-gcc/macros.diff | 115 | ||||
-rwxr-xr-x | data/iphone-gcc/make.sh | 11 | ||||
-rw-r--r-- | data/iphone-gcc/typo.diff | 12 | ||||
-rw-r--r-- | data/iphone-gcc/warning.diff | 11 |
17 files changed, 24 insertions, 150 deletions
diff --git a/data/csu/_metadata/description b/data/csu/_metadata/description new file mode 100644 index 000000000..572164c81 --- /dev/null +++ b/data/csu/_metadata/description @@ -0,0 +1 @@ +library loading and support stubs diff --git a/data/csu/_metadata/license b/data/csu/_metadata/license new file mode 120000 index 000000000..9e5e5e89d --- /dev/null +++ b/data/csu/_metadata/license @@ -0,0 +1 @@ +../../../licenses/apsl-2.0
\ No newline at end of file diff --git a/data/csu/_metadata/maintainer b/data/csu/_metadata/maintainer new file mode 120000 index 000000000..0fa66e077 --- /dev/null +++ b/data/csu/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/saurik
\ No newline at end of file diff --git a/data/csu/_metadata/name b/data/csu/_metadata/name new file mode 100644 index 000000000..1e3497578 --- /dev/null +++ b/data/csu/_metadata/name @@ -0,0 +1 @@ +Csu diff --git a/data/csu/_metadata/priority b/data/csu/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/csu/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/csu/_metadata/section b/data/csu/_metadata/section new file mode 100644 index 000000000..e0eb96881 --- /dev/null +++ b/data/csu/_metadata/section @@ -0,0 +1 @@ +Development diff --git a/data/csu/_metadata/version b/data/csu/_metadata/version new file mode 100644 index 000000000..7c022aedd --- /dev/null +++ b/data/csu/_metadata/version @@ -0,0 +1 @@ +232 diff --git a/data/csu/csu-232.tgz b/data/csu/csu-232.tgz Binary files differnew file mode 100644 index 000000000..ddf069b20 --- /dev/null +++ b/data/csu/csu-232.tgz diff --git a/data/csu/make.sh b/data/csu/make.sh new file mode 100644 index 000000000..1f03aa693 --- /dev/null +++ b/data/csu/make.sh @@ -0,0 +1,4 @@ +pkg:extract +cd * +pkg: mkdir -p /usr/lib +cp -a *.o "${PKG_DEST}"/usr/lib diff --git a/data/iphone-gcc/_metadata/csu.dep b/data/iphone-gcc/_metadata/csu.dep new file mode 120000 index 000000000..0eb86ccea --- /dev/null +++ b/data/iphone-gcc/_metadata/csu.dep @@ -0,0 +1 @@ +../../csu
\ No newline at end of file diff --git a/data/iphone-gcc/_metadata/odcctools.dep b/data/iphone-gcc/_metadata/odcctools.dep new file mode 120000 index 000000000..fb5710172 --- /dev/null +++ b/data/iphone-gcc/_metadata/odcctools.dep @@ -0,0 +1 @@ +../../odcctools
\ No newline at end of file diff --git a/data/iphone-gcc/libstdc++.diff b/data/iphone-gcc/libstdc++.diff deleted file mode 100644 index e327b8d00..000000000 --- a/data/iphone-gcc/libstdc++.diff +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru llvm-gcc-4.2-47984/configure llvm-gcc-4.2-47984+iPhone/configure ---- llvm-gcc-4.2-47984/configure 2008-01-22 01:38:56.000000000 +0000 -+++ llvm-gcc-4.2-47984+iPhone/configure 2008-03-06 12:37:33.000000000 +0000 -@@ -1211,7 +1211,7 @@ - # APPLE LOCAL begin ARM darwin target - arm-*-darwin*) - noconfigdirs="$noconfigdirs target-libgomp target-libobjc" -- noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libssp" -+ noconfigdirs="$noconfigdirs target-libssp" - # LLVM LOCAL begin - noconfigdirs="$noconfigdirs target-boehm-gc target-libffi" - noconfigdirs="$noconfigdirs target-libjava" diff --git a/data/iphone-gcc/llvm-gcc-4.2-47984.tgz b/data/iphone-gcc/llvm-gcc-4.2.tgz Binary files differindex 766f31734..dad1d7808 100644 --- a/data/iphone-gcc/llvm-gcc-4.2-47984.tgz +++ b/data/iphone-gcc/llvm-gcc-4.2.tgz diff --git a/data/iphone-gcc/macros.diff b/data/iphone-gcc/macros.diff deleted file mode 100644 index 938485df0..000000000 --- a/data/iphone-gcc/macros.diff +++ /dev/null @@ -1,115 +0,0 @@ -diff -ru llvm-gcc-4.2-47984/gcc/config/arm/lib1funcs.asm llvm-gcc-4.2-47984+iPhone/gcc/config/arm/lib1funcs.asm ---- llvm-gcc-4.2-47984/gcc/config/arm/lib1funcs.asm 2007-11-09 02:30:15.000000000 +0000 -+++ llvm-gcc-4.2-47984+iPhone/gcc/config/arm/lib1funcs.asm 2008-03-06 10:32:22.000000000 +0000 -@@ -232,11 +232,7 @@ - .endm - - .macro FUNC_END name --#if defined(__MACH__) -- SIZE (__$0) --#else - SIZE (__\name) --#endif - .endm - - .macro DIV_FUNC_END name -@@ -249,26 +245,15 @@ - #else - ARM_LDIV0 \name - #endif --#if defined(__MACH__) -- FUNC_END $0 --#else - cfi_end LSYM(Lend_div0) - FUNC_END \name --#endif - .endm - - .macro THUMB_FUNC_START name --#if defined(__MACH__) -- .globl SYM ($0) -- TYPE ($0) -- .thumb_func --SYM ($0): --#else - .globl SYM (\name) - TYPE (\name) - .thumb_func - SYM (\name): --#endif - .endm - /* APPLE LOCAL end ARM MACH assembler */ - -@@ -288,15 +273,6 @@ - - /* APPLE LOCAL begin ARM MACH assembler */ - .macro FUNC_START name --#if defined(__MACH__) -- .text -- .globl SYM (__$0) -- TYPE (__$0) -- FUNC_ALIGN -- THUMB_CODE -- THUMB_FUNC --SYM (__$0): --#else - .text - .globl SYM (__\name) - TYPE (__\name) -@@ -304,7 +280,6 @@ - THUMB_CODE - THUMB_FUNC - SYM (__\name): --#endif - .endm - - /* Special function that will always be coded in ARM assembly, even if -@@ -323,47 +298,26 @@ - .arm - /* A hook to tell gdb that we've switched to ARM mode. Also used to call - directly from other local arm routines. */ --#if defined(__MACH__) --_L__$0: --#else - _L__\name: --#endif - .endm - #define EQUIV .thumb_set - /* Branch directly to a function declared with ARM_FUNC_START. - Must be called in arm mode. */ - .macro ARM_CALL name --#if defined(__MACH__) -- bl _L__$0 --#else - bl _L__\name --#endif - .endm - #else - .macro ARM_FUNC_START name --#if defined(__MACH__) -- .text -- .globl SYM (__$0) -- TYPE (__$0) -- .align 0 -- .arm --SYM (__$0): --#else - .text - .globl SYM (__\name) - TYPE (__\name) - .align 0 - .arm - SYM (__\name): --#endif - .endm - #define EQUIV .set - .macro ARM_CALL name --#if defined(__MACH__) -- bl SYM (__$0) --#else -- bl __\name --#endif -+ bl SYM (__\name) - .endm - #endif - diff --git a/data/iphone-gcc/make.sh b/data/iphone-gcc/make.sh new file mode 100755 index 000000000..9d8e4e221 --- /dev/null +++ b/data/iphone-gcc/make.sh @@ -0,0 +1,11 @@ +shopt -s extglob +pkg:extract +mkdir llvm-gcc-bld +cd llvm-gcc-bld +PKG_CONF=../llvm-gcc-4.2/configure pkg:configure \ + --enable-languages="c,c++,objc,obj-c++" \ + --enable-wchar_t="no" \ + --with-gxx-include-dir="/usr/include/c++/4.0.0" +make -j3 +pkg:install +pkg: rm -f /usr/lib/libgcc_s.1.dylib diff --git a/data/iphone-gcc/typo.diff b/data/iphone-gcc/typo.diff deleted file mode 100644 index 4bf4daf82..000000000 --- a/data/iphone-gcc/typo.diff +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru llvm-gcc-4.2-47984/gcc/llvm-abi.h llvm-gcc-4.2-47984+iPhone/gcc/llvm-abi.h ---- llvm-gcc-4.2-47984/gcc/llvm-abi.h 2008-03-06 02:50:05.000000000 +0000 -+++ llvm-gcc-4.2-47984+iPhone/gcc/llvm-abi.h 2008-03-06 12:37:55.000000000 +0000 -@@ -206,7 +206,7 @@ - // should be returned using the aggregate shadow (sret) convention, 0 otherwise. - // X may be evaluated more than once. - #ifndef LLVM_SHOULD_RETURN_VECTOR_AS_SHADOW --#define LLVM_SHOULD_RETURN_VECTOR_AS_SHADOW(X) 0 -+#define LLVM_SHOULD_RETURN_VECTOR_AS_SHADOW(X,Y) 0 - #endif - - /// DefaultABI - This class implements the default LLVM ABI where structures are diff --git a/data/iphone-gcc/warning.diff b/data/iphone-gcc/warning.diff deleted file mode 100644 index a3134e0ef..000000000 --- a/data/iphone-gcc/warning.diff +++ /dev/null @@ -1,11 +0,0 @@ -diff -ru llvm-gcc-4.2-47984/gcc/config/darwin.h llvm-gcc-4.2-47984+iPhone/gcc/config/darwin.h ---- llvm-gcc-4.2-47984/gcc/config/darwin.h 2008-02-08 18:58:15.000000000 +0000 -+++ llvm-gcc-4.2-47984+iPhone/gcc/config/darwin.h 2008-03-06 12:38:16.000000000 +0000 -@@ -1038,6 +1038,7 @@ - /* Macros defining the various PIC cases. */ - - /* APPLE LOCAL mdynamic-no-pic */ -+#undef MACHO_DYNAMIC_NO_PIC_P - #define MACHO_DYNAMIC_NO_PIC_P (TARGET_MACHO_DYNAMIC_NO_PIC) - /* APPLE LOCAL begin mach-o cleanup */ - #undef MACHOPIC_INDIRECT |