It seems that in Tru64 V5 gcc cannot be used to
[p5sagit/p5-mst-13.2.git] / hints / rhapsody.sh
CommitLineData
8f1f23e8 1##
2# Rhapsody (Mac OS X Server) hints
437cf188 3# Wilfredo Sanchez <wsanchez@mit.edu>
8f1f23e8 4##
5
f556e5b9 6##
7# Paths
8##
8f1f23e8 9
f556e5b9 10# BSD paths
e32f0149 11case "$prefix" in
12'')
13 prefix='/usr/local'; # Built-in perl uses /usr
14 siteprefix='/usr/local';
15 vendorprefix='/usr/local'; usevendorprefix='define';
8f1f23e8 16
e32f0149 17 # 4BSD uses ${prefix}/share/man, not ${prefix}/man.
18 # Don't put man pages in ${prefix}/lib; that's goofy.
19 man1dir="${prefix}/share/man/man1";
20 man3dir="${prefix}/share/man/man3";
f556e5b9 21
e32f0149 22 # Where to put modules.
23 # Built-in perl uses /System/Library/Perl
24 privlib='/Local/Library/Perl';
25 sitelib='/Local/Library/Perl';
26 vendorlib='/Network/Library/Perl';
27 ;;
28esac
f556e5b9 29
30##
31# Tool chain settings
32##
33
34# Since we can build fat, the archname doesn't need the processor type
35archname='rhapsody';
8f1f23e8 36
37# nm works.
38usenm='true';
f556e5b9 39
40# Libc is in libsystem.
41libc='/System/Library/Frameworks/System.framework/System';
8f1f23e8 42
43# Optimize.
44optimize='-O3';
45
0ac8ade1 46# XXX Unclear why we require -pipe and -fno-common here.
47ccflags="${ccflags} -pipe -fno-common"
8f1f23e8 48
4e644a1e 49# cpp-precomp is problematic.
50cppflags='-traditional-cpp';
51
f556e5b9 52# Shared library extension is .dylib.
53# Bundle extension is .bundle.
8f1f23e8 54ld='cc';
55so='dylib';
56dlext='bundle';
f556e5b9 57dlsrc='dl_dyld.xs';
58usedl='define';
8f1f23e8 59cccdlflags='';
60lddlflags="${ldflags} -bundle -undefined suppress";
f556e5b9 61ldlibpthname='DYLD_LIBRARY_PATH';
8f1f23e8 62useshrplib='true';
8f1f23e8 63
f556e5b9 64##
65# System libraries
66##
67
8f1f23e8 68# vfork works
69usevfork='true';
70
71# malloc works
72usemymalloc='n';
5cf1d1f1 73
4e644a1e 74# Case-insensitive filesystems don't get along with Makefile and
75# makefile in the same place. Since Darwin uses GNU make, this dodges
76# the problem.
437cf188 77firstmakefile=GNUmakefile;