devdaily home | apple | java | perl | unix | directory | blog

What this is

This file is included in the DevDaily.com "Bourne Shell Source Code Warehouse" project. The intent of this project is to help you "Learn Bourne Shell by Example" TM.

Other links

The source code

# hints/amigaos.sh
#
# talk to pueschel@imsdd.meb.uni-bonn.de if you want to change this file.
#
# misc stuff
archname='m68k-amigaos'
cc='gcc'
firstmakefile='GNUmakefile'
usenm='true'
d_fork='undef' # available but ENOSYS

usemymalloc='n'
useperlio='true'
d_eofnblk='define'
groupstype='int'

# libs

libpth="$prefix/lib /local/lib"
glibpth="$libpth"
xlibpth="$libpth"

# This should remove unwanted libraries instead of limiting the set
# to just these few.  E.g. what about Berkeley DB?
libswanted='gdbm m dld'
so=' '
libs='-lm'

# compiler & linker flags
# Respect command-line values.

ccflags="$ccflags -DAMIGAOS"
case "$optimize" in
'') optimize='-O2 -fomit-frame-pointer';;
esac
dlext='o'
# Are these two different from the defaults?
cccdlflags='none'
ccdlflags='none'
lddlflags='-oformat a.out-amiga -r'

# uncomment the following settings if you are compiling for an 68020+ system
# and want a residentable executable instead of dynamic loading

# usedl='n'
# ccflags='-DAMIGAOS -mstackextend -m68020 -resident32'
# ldflags='-m68020 -resident32'

# AmigaOS always reports only two links to directories, even if they
# contain subdirectories.  Consequently, we use this variable to stop
# File::Find using the link count to determine whether there are
# subdirectories to be searched.  This will generate a harmless message:
# Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
#	Propagating recommended variable dont_use_nlink
dont_use_nlink='define'




Copyright 1998-2008 Alvin Alexander
All Rights Reserved.
 
devdaily.com is based in louisville, kentucky, and this web site is hosted by godaddy.com