add openwatcom

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2688 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2010-11-07 07:25:49 +00:00
parent 2b84764b3e
commit bad2a876aa
6 changed files with 185 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
--- orig/build.sh 2009-10-07 10:55:38.000000000 +0200
+++ new/build.sh 2009-10-07 10:55:19.000000000 +0200
@@ -4,10 +4,10 @@
# using the GNU C/C++ compiler tools. If you already have a working
# Open Watcom compiler, you do not need to use the bootstrap process
-if [ -f setvars ]; then
- . setvars
+if [ -f ./setvars ]; then
+ . ./setvars
else
- . setvars.sh
+ . ./setvars.sh
fi
if [ ! -f $DEVDIR/build/binl/wtouch ]; then
cp -p `which touch` $DEVDIR/build/binl/wtouch

View File

@@ -0,0 +1,12 @@
--- OW18src/bld/wmake/c/mglob.c.orig 2009-02-23 18:40:32.000000000 -0500
+++ OW18src/bld/wmake/c/mglob.c 2009-10-09 19:39:05.000000000 -0400
@@ -110,6 +110,8 @@
"__UNIX__=\n"
#if defined(__386__) || defined(__i386__) || defined(__i386)
"__LINUX386__=\n"
+ #elif defined(__x86_64)
+ "__LINUX386__=\n"
#elif defined(__PPC__) || defined(__ppc__) || defined(__powerpc__)
"__LINUXPPC__=\n"
#elif defined(__MIPS__) || defined(__mips__)