summaryrefslogtreecommitdiff
path: root/hints/dos_djgpp.sh
diff options
context:
space:
mode:
authorMolnar Laszlo <molnarl@cdata.tvnet.hu>1997-11-21 11:58:26 +0100
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-12-17 14:10:50 +0000
commit39e571d41067215a80f26089b260f1418caeb36b (patch)
treee0bca433f79179f69a7b158d5bcd0759cc98e18c /hints/dos_djgpp.sh
parent1f70e1ea8280242937e42514e140f4e467e09404 (diff)
downloadperl-39e571d41067215a80f26089b260f1418caeb36b.tar.gz
Major changes to the DOS/djgpp port (including threading):
Subject: Re: dos-djgpp port not in perl 5.004_54 p4raw-id: //depot/perl@373
Diffstat (limited to 'hints/dos_djgpp.sh')
-rw-r--r--hints/dos_djgpp.sh63
1 files changed, 63 insertions, 0 deletions
diff --git a/hints/dos_djgpp.sh b/hints/dos_djgpp.sh
new file mode 100644
index 0000000000..85455c3852
--- /dev/null
+++ b/hints/dos_djgpp.sh
@@ -0,0 +1,63 @@
+# hints file for dos/djgpp v2.xx
+# Original by Laszlo Molnar <molnarl@cdata.tvnet.hu>
+
+# 971015 - archname changed from 'djgpp' to 'dos-djgpp'
+
+archname='dos-djgpp'
+archobjs='djgpp.o'
+path_sep=\;
+startsh="#!sh"
+
+cc='gcc'
+ld='gcc'
+usrinc="$DJDIR/include"
+
+libpth="$DJDIR/lib"
+libc="$libpth/libc.a"
+
+so='none'
+usedl='n'
+
+firstmakefile='GNUmakefile'
+exe_ext='.exe'
+
+randbits=31
+
+ln='cp' # no REAL ln on dos
+lns='cp'
+
+usenm='true'
+d_bincompat3='undef'
+
+d_link='undef' # these are empty functions in libc.a
+d_symlink='undef'
+d_fork='undef'
+d_pipe='undef'
+
+startperl='#!perl'
+
+case "X$optimize" in
+ X)
+ optimize="-O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2"
+ ;;
+esac
+ldflags='-s'
+usemymalloc='n'
+timetype='time_t'
+
+prefix=$DJDIR
+privlib=$prefix/lib/perl5
+archlib=$privlib
+sitelib=$privlib/site
+sitearch=$sitelib
+
+: set up the translation script tr
+
+cat >../UU/tr <<EOSC
+$startsh
+case "\$1\$2" in
+'[A-Z][a-z]') exec tr.exe '[:upper:]' '[:lower:]';;
+'[a-z][A-Z]') exec tr.exe '[:lower:]' '[:upper:]';;
+esac
+exec tr.exe "\$@"
+EOSC