Commit | Line | Data |
39e571d4 |
1 | # hints file for dos/djgpp v2.xx |
2 | # Original by Laszlo Molnar <molnarl@cdata.tvnet.hu> |
3 | |
4 | # 971015 - archname changed from 'djgpp' to 'dos-djgpp' |
9731c6ca |
5 | # 971210 - threads support |
39e571d4 |
6 | |
7 | archname='dos-djgpp' |
8 | archobjs='djgpp.o' |
9 | path_sep=\; |
c4f23d77 |
10 | startsh="#! /bin/sh" |
39e571d4 |
11 | |
12 | cc='gcc' |
13 | ld='gcc' |
14 | usrinc="$DJDIR/include" |
15 | |
16 | libpth="$DJDIR/lib" |
17 | libc="$libpth/libc.a" |
18 | |
19 | so='none' |
20 | usedl='n' |
21 | |
22 | firstmakefile='GNUmakefile' |
23 | exe_ext='.exe' |
24 | |
25 | randbits=31 |
39e571d4 |
26 | lns='cp' |
27 | |
28 | usenm='true' |
39e571d4 |
29 | |
30 | d_link='undef' # these are empty functions in libc.a |
31 | d_symlink='undef' |
32 | d_fork='undef' |
33 | d_pipe='undef' |
34 | |
35 | startperl='#!perl' |
36 | |
37 | case "X$optimize" in |
38 | X) |
9731c6ca |
39 | optimize="-O2 -malign-loops=2 -malign-jumps=2 -malign-functions=2" |
39e571d4 |
40 | ;; |
41 | esac |
42 | ldflags='-s' |
43 | usemymalloc='n' |
44 | timetype='time_t' |
45 | |
46 | prefix=$DJDIR |
47 | privlib=$prefix/lib/perl5 |
48 | archlib=$privlib |
49 | sitelib=$privlib/site |
50 | sitearch=$sitelib |
51 | |
9e48b294 |
52 | eagain='EAGAIN' |
53 | rd_nodata='-1' |
54 | |
e5c9fcd0 |
55 | if [ "X$usethreads" = "X$define" ]; then |
9731c6ca |
56 | set `echo X "$libswanted "| sed -e 's/ c / gthreads c /'` |
57 | shift |
58 | libswanted="$*" |
59 | fi |