Commit | Line | Data |
1aef975c |
1 | # hints/linux.sh |
a0d0e21e |
2 | # Original version by rsanders |
3 | # Additional dlext support by Kenneth Albanowski <kjahds@kjahds.com> |
1aef975c |
4 | # |
5 | # First pass at ELF support by Andy Dougherty <doughera@lafcol.lafayette.edu> |
6 | # Fri Feb 3 14:05:00 EST 1995 |
7 | # Use sh Configure -Dcc=gcc-elf to try using gcc-elf. It might work. |
8 | # |
1aef975c |
9 | |
a0d0e21e |
10 | ccflags='-I/usr/include/bsd' |
11 | cppflags=' -I/usr/include/bsd' |
12 | d_dosuid='define' |
1aef975c |
13 | |
a0d0e21e |
14 | malloctype='void *' |
1aef975c |
15 | usemymalloc='n' |
16 | |
17 | case "$optimize" in |
18 | '') optimize='-O2' ;; |
19 | esac |
20 | |
1aef975c |
21 | case "$cc" in |
22 | *cc-elf*) |
23 | so='so' |
24 | dlext='so' |
25 | # Configure might not understand nm output for ELF. |
26 | usenm=false |
27 | ;; |
28 | *) |
29 | lddlflags='-r' |
30 | so='sa' |
31 | dlext='o' |
32 | ## If you are using DLD 3.2.4 which does not support shared libs, |
33 | ## uncomment the next two lines: |
34 | #ldflags="-static" |
35 | #so='none' |
36 | ;; |
37 | esac |
a0d0e21e |
38 | |
39 | cat <<EOM |
40 | |
1aef975c |
41 | You should take a look at hints/linux.sh. There are a some lines you |
a0d0e21e |
42 | may wish to change near the bottom. |
43 | EOM |