summaryrefslogtreecommitdiffstats
path: root/gnu/objc
diff options
context:
space:
mode:
authorroot2006-04-24 09:03:08 -0500
committerroot2006-04-24 09:03:08 -0500
commit84d8b510ac289af0a43bfa9e110844af27a90196 (patch)
treed7093929b954dd2f71114bff270755e18f737eb1 /gnu/objc
initial commit from stable 0.3
Diffstat (limited to 'gnu/objc')
-rwxr-xr-xgnu/objc/BUILD13
-rwxr-xr-xgnu/objc/DEPENDS1
-rwxr-xr-xgnu/objc/DETAILS21
-rwxr-xr-xgnu/objc/FINAL3
-rw-r--r--gnu/objc/HISTORY22
-rwxr-xr-xgnu/objc/INSTALL8
-rwxr-xr-xgnu/objc/POST_REMOVE2
-rwxr-xr-xgnu/objc/PRE_BUILD9
-rwxr-xr-xgnu/objc/SOLO0
-rw-r--r--gnu/objc/specs_objc15
10 files changed, 94 insertions, 0 deletions
diff --git a/gnu/objc/BUILD b/gnu/objc/BUILD
new file mode 100755
index 0000000000..cc72076214
--- /dev/null
+++ b/gnu/objc/BUILD
@@ -0,0 +1,13 @@
+cd $SOURCE_DIRECTORY.bld &&
+$SOURCE_DIRECTORY/configure \
+ --host=$HOST \
+ --prefix=${INSTALL_ROOT}/usr \
+ --infodir=${INSTALL_ROOT}/usr/share/info \
+ --mandir=${INSTALL_ROOT}/usr/share/man \
+ --enable-threads=posix \
+ --with-system-zlib \
+ --enable-languages=objc \
+ $OPTS &&
+
+make CFLAGS="$CFLAGS" BOOT_CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
+ profiledbootstrap
diff --git a/gnu/objc/DEPENDS b/gnu/objc/DEPENDS
new file mode 100755
index 0000000000..826e93ed42
--- /dev/null
+++ b/gnu/objc/DEPENDS
@@ -0,0 +1 @@
+depends gcc
diff --git a/gnu/objc/DETAILS b/gnu/objc/DETAILS
new file mode 100755
index 0000000000..9bdf77b68f
--- /dev/null
+++ b/gnu/objc/DETAILS
@@ -0,0 +1,21 @@
+ SPELL=objc
+ VERSION=3.4.4
+ SOURCE=gcc-core-$VERSION.tar.bz2
+ SOURCE2=gcc-$SPELL-$VERSION.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/gcc-$VERSION
+ SOURCE_URL[0]=$GNU_URL/gcc/gcc-$VERSION/$SOURCE
+ SOURCE_URL[1]=ftp://gcc.gnu.org/pub/gcc/releases/gcc-$VERSION/$SOURCE
+ SOURCE2_URL[0]=$GNU_URL/gcc/gcc-$VERSION/$SOURCE2
+ SOURCE2_URL[1]=ftp://gcc.gnu.org/pub/gcc/releases/gcc-$VERSION/$SOURCE2
+ MD5[0]=470a59e9c33ca5377f2afc1a091bd453
+ MD5[1]=2d0be32389ec6f40f9243a281d85f641
+ LICENSE[0]=GPL
+ LICENSE[1]=GPL
+ WEB_SITE=http://gcc.gnu.org/
+ ENTERED=20040704
+ UPDATED=20040704
+ DOCS="$DOCS INSTALL"
+ SHORT="the GNU Objective-C compiler"
+cat << EOF
+The GNU Objective-C compiler and runtime library.
+EOF
diff --git a/gnu/objc/FINAL b/gnu/objc/FINAL
new file mode 100755
index 0000000000..14a9914fe6
--- /dev/null
+++ b/gnu/objc/FINAL
@@ -0,0 +1,3 @@
+rm_source_dir $SOURCE_DIRECTORY.bld &&
+local SPECSDIR=${INSTALL_ROOT}/usr/lib/gcc/$HOST/$VERSION &&
+cat $SPECSDIR/specs-local/* > $SPECSDIR/specs
diff --git a/gnu/objc/HISTORY b/gnu/objc/HISTORY
new file mode 100644
index 0000000000..622a2f2e15
--- /dev/null
+++ b/gnu/objc/HISTORY
@@ -0,0 +1,22 @@
+2005-06-03 David Brown <dmlb2000@excite.com>
+ * DETAILS: updated 3.4.4
+
+2005-05-18 Arwed v. Merkatz <v.merkatz@gmx.net>
+ * PRE_BUILD: return 1 if the current gcc isn't the same version
+
+2004-12-01 Eric Sandall <eric@sandall.us>
+ * DETAILS: Updated to 3.4.3
+ Added LICENSE[1] for objc
+
+2004-09-09 Arwed v. Merkatz <v.merkatz@gmx.net>
+ * DETAILS: updated to 3.4.2
+
+2004-07-06 Arwed v. Merkatz <v.merkatz@gmx.net>
+ * DEPENDS: added dependency on gcc so they're built in correct order
+ on a system-update
+
+2004-07-04 Arwed v. Merkatz <v.merkatz@gmx.net>
+ * BUILD, DETAILS, FINAL, HISTORY, INSTALL, POST_REMOVE, PRE_BUILD,
+ SOLO, specs_objc:
+ new spell for the objective-c compiler and runtime library
+
diff --git a/gnu/objc/INSTALL b/gnu/objc/INSTALL
new file mode 100755
index 0000000000..37e5d19c53
--- /dev/null
+++ b/gnu/objc/INSTALL
@@ -0,0 +1,8 @@
+make -C gcc lang.install-common lang.install-man &&
+install -c gcc/cc1obj ${INSTALL_ROOT}/usr/libexec/gcc/$HOST/$VERSION/ &&
+make -C $HOST/libobjc/ install &&
+
+# specs file stuff
+local SPECSDIR=${INSTALL_ROOT}/usr/lib/gcc/$HOST/$VERSION &&
+mkdir -p $SPECSDIR/specs-local &&
+cp $SCRIPT_DIRECTORY/specs_objc $SPECSDIR/specs-local
diff --git a/gnu/objc/POST_REMOVE b/gnu/objc/POST_REMOVE
new file mode 100755
index 0000000000..2ab4140f07
--- /dev/null
+++ b/gnu/objc/POST_REMOVE
@@ -0,0 +1,2 @@
+local SPECSDIR=${INSTALL_ROOT}/usr/lib/gcc/$HOST/$VERSION &&
+cat $SPECSDIR/specs-local/* > $SPECSDIR/specs
diff --git a/gnu/objc/PRE_BUILD b/gnu/objc/PRE_BUILD
new file mode 100755
index 0000000000..8ca8b81fd8
--- /dev/null
+++ b/gnu/objc/PRE_BUILD
@@ -0,0 +1,9 @@
+if [ "$(installed_version gcc)" != "$VERSION" ]; then
+ message "${PROBLEM_COLOR}Installed version of gcc is $(installed_version gcc), not $VERSION!"
+ message "Update gcc first.${DEFAULT_COLOR}"
+ return 1;
+fi
+default_pre_build &&
+cd $BUILD_DIRECTORY &&
+unpack $SOURCE2 ${MD5[1]} &&
+mk_source_dir $SOURCE_DIRECTORY.bld
diff --git a/gnu/objc/SOLO b/gnu/objc/SOLO
new file mode 100755
index 0000000000..e69de29bb2
--- /dev/null
+++ b/gnu/objc/SOLO
diff --git a/gnu/objc/specs_objc b/gnu/objc/specs_objc
new file mode 100644
index 0000000000..8b9e19f33e
--- /dev/null
+++ b/gnu/objc/specs_objc
@@ -0,0 +1,15 @@
+@objective-c:
+%{E|M|MM:%(trad_capable_cpp) -lang-objc %(cpp_options) %(cpp_debug_options)} %{!E:%{!M:%{!MM: %{traditional|ftraditional|traditional-cpp: %eGNU Objective C no longer supports traditional compilation} %{save-temps|no-integrated-cpp:cc1obj -E %(cpp_options) -o %{save-temps:%b.mi} %{!save-temps:%g.mi} \n cc1obj -fpreprocessed %{save-temps:%b.mi} %{!save-temps:%g.mi} %(cc1_options) %{print-objc-runtime-info} %{gen-decls}} %{!save-temps:%{!no-integrated-cpp: cc1obj %(cpp_unique_options) %(cc1_options) %{print-objc-runtime-info} %{gen-decls}}} %{!fsyntax-only:%(invoke_as)}}}}
+
+@objc-cpp-output:
+%{!M:%{!MM:%{!E:cc1obj -fpreprocessed %i %(cc1_options) %{print-objc-runtime-info} %{gen-decls} %{!fsyntax-only:%(invoke_as)}}}}
+
+@objective-c-header:
+%{E|M|MM:cc1obj -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp} %(cpp_options) %(cpp_debug_options)} %{!E:%{!M:%{!MM: %{traditional|ftraditional|traditional-cpp: %eGNU Objective C no longer supports traditional compilation} %{save-temps|no-integrated-cpp:cc1obj -E %(cpp_options) -o %{save-temps:%b.mi} %{!save-temps:%g.mi} \n cc1obj -fpreprocessed %b.mi %(cc1_options) %{print-objc-runtime-info} %{gen-decls} -o %g.s %{!o*:--output-pch=%i.gch} %W{o*:--output-pch=%*}%V} %{!save-temps:%{!no-integrated-cpp: cc1obj %(cpp_unique_options) %(cc1_options) %{print-objc-runtime-info} %{gen-decls} -o %g.s %{!o*:--output-pch=%i.gch} %W{o*:--output-pch=%*}%V}}}}}
+
+.m:
+@objective-c
+
+.mi:
+@objc-cpp-output
+