summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-09-30 21:58:08 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-09-30 21:58:08 -0700
commitb6e3f41106cfc1cded07b047b499f2569393b4a4 (patch)
treeb55b465a2a69e60cbb322f6f4419b1d61d0b9bb0
parent987e1b76ac94b1962dd35d3ecb32d6cd5b57b799 (diff)
downloadnasmbuild-b6e3f41106cfc1cded07b047b499f2569393b4a4.tar.gz
nasmbuild-b6e3f41106cfc1cded07b047b499f2569393b4a4.tar.xz
nasmbuild-b6e3f41106cfc1cded07b047b499f2569393b4a4.zip
Add the 32-bit gcc wrappers to version control
These scripts are used to force 32-bit mode when building rpms. This isn't *supposed* to be needed, but depending on the version of rpmbuild, it might actually be needed.
-rwxr-xr-xbin/32/as2
-rwxr-xr-xbin/32/c++2
-rwxr-xr-xbin/32/cc2
-rwxr-xr-xbin/32/g++2
-rwxr-xr-xbin/32/gcc2
-rwxr-xr-xbin/32/ld2
-rwxr-xr-xbin/do323
7 files changed, 15 insertions, 0 deletions
diff --git a/bin/32/as b/bin/32/as
new file mode 100755
index 0000000..fe49293
--- /dev/null
+++ b/bin/32/as
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/as --32 "$@"
diff --git a/bin/32/c++ b/bin/32/c++
new file mode 100755
index 0000000..1821878
--- /dev/null
+++ b/bin/32/c++
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/`basename $0` -m32 "$@"
diff --git a/bin/32/cc b/bin/32/cc
new file mode 100755
index 0000000..1821878
--- /dev/null
+++ b/bin/32/cc
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/`basename $0` -m32 "$@"
diff --git a/bin/32/g++ b/bin/32/g++
new file mode 100755
index 0000000..1821878
--- /dev/null
+++ b/bin/32/g++
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/`basename $0` -m32 "$@"
diff --git a/bin/32/gcc b/bin/32/gcc
new file mode 100755
index 0000000..1821878
--- /dev/null
+++ b/bin/32/gcc
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/`basename $0` -m32 "$@"
diff --git a/bin/32/ld b/bin/32/ld
new file mode 100755
index 0000000..f8e181b
--- /dev/null
+++ b/bin/32/ld
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/ld -m elf_i386 "$@"
diff --git a/bin/do32 b/bin/do32
new file mode 100755
index 0000000..45a1420
--- /dev/null
+++ b/bin/do32
@@ -0,0 +1,3 @@
+#!/bin/sh
+export PATH=`dirname $0`/32:${PATH}
+exec linux32 "$@"