| Line | |
|---|
| 1 | # hints/amigaos.sh
|
|---|
| 2 | #
|
|---|
| 3 | # talk to [email protected] if you want to change this file.
|
|---|
| 4 | #
|
|---|
| 5 | # misc stuff
|
|---|
| 6 | archname='m68k-amigaos'
|
|---|
| 7 | cc='gcc'
|
|---|
| 8 | firstmakefile='GNUmakefile'
|
|---|
| 9 | usenm='true'
|
|---|
| 10 | d_fork='undef' # available but ENOSYS
|
|---|
| 11 |
|
|---|
| 12 | usemymalloc='n'
|
|---|
| 13 | useperlio='true'
|
|---|
| 14 | d_eofnblk='define'
|
|---|
| 15 | groupstype='int'
|
|---|
| 16 |
|
|---|
| 17 | # libs
|
|---|
| 18 |
|
|---|
| 19 | libpth="$prefix/lib /local/lib"
|
|---|
| 20 | glibpth="$libpth"
|
|---|
| 21 | xlibpth="$libpth"
|
|---|
| 22 |
|
|---|
| 23 | # This should remove unwanted libraries instead of limiting the set
|
|---|
| 24 | # to just these few. E.g. what about Berkeley DB?
|
|---|
| 25 | libswanted='gdbm m dld'
|
|---|
| 26 | so=' '
|
|---|
| 27 | libs='-lm'
|
|---|
| 28 |
|
|---|
| 29 | # compiler & linker flags
|
|---|
| 30 | # Respect command-line values.
|
|---|
| 31 |
|
|---|
| 32 | ccflags="$ccflags -DAMIGAOS"
|
|---|
| 33 | case "$optimize" in
|
|---|
| 34 | '') optimize='-O2 -fomit-frame-pointer';;
|
|---|
| 35 | esac
|
|---|
| 36 | dlext='o'
|
|---|
| 37 | # Are these two different from the defaults?
|
|---|
| 38 | cccdlflags='none'
|
|---|
| 39 | ccdlflags='none'
|
|---|
| 40 | lddlflags='-oformat a.out-amiga -r'
|
|---|
| 41 |
|
|---|
| 42 | # uncomment the following settings if you are compiling for an 68020+ system
|
|---|
| 43 | # and want a residentable executable instead of dynamic loading
|
|---|
| 44 |
|
|---|
| 45 | # usedl='n'
|
|---|
| 46 | # ccflags='-DAMIGAOS -mstackextend -m68020 -resident32'
|
|---|
| 47 | # ldflags='-m68020 -resident32'
|
|---|
| 48 |
|
|---|
| 49 | # AmigaOS always reports only two links to directories, even if they
|
|---|
| 50 | # contain subdirectories. Consequently, we use this variable to stop
|
|---|
| 51 | # File::Find using the link count to determine whether there are
|
|---|
| 52 | # subdirectories to be searched. This will generate a harmless message:
|
|---|
| 53 | # Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
|
|---|
| 54 | # Propagating recommended variable dont_use_nlink
|
|---|
| 55 | dont_use_nlink='define'
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.