3 platform
="${SBCL_SOFTWARE_TYPE}-${SBCL_MACHINE_TYPE}"
6 if [ -x "`which cc`" ]; then
15 Darwin-X86-64
) args
="-arch x86_64" ;;
16 Darwin-X86
) args
="-arch i386" ;;
17 SunOS-X86-64
) args
=-m64 ;;
18 Linux-X86
) args
="-m32" ;;
19 Linux-PowerPC
) args
="-m32" ;;
20 FreeBSD-X86
) args
="-m32" ;;
23 while [ $# -gt 0 ]; do
29 FreeBSD-X86-64
) new
=-fPIC ;;
30 Linux-ARM
) new
=-fPIC ;;
31 Linux-MIPS
) new
=-fPIC ;;
32 Linux-X86-64
) new
=-fPIC ;;
33 Linux-PowerPC
) new
=-fPIC ;;
34 NetBSD-PowerPC
) new
=-fPIC ;;
35 NetBSD-X86-64
) new
=-fPIC ;;
36 OpenBSD-PowerPC
) new
=-fPIC ;;
37 OpenBSD-X86-64
) new
=-fPIC ;;
38 SunOS-SPARC
) new
=-fPIC ;;
39 SunOS-X86
) new
=-fPIC ;;
40 SunOS-X86-64
) new
=-fPIC ;;
41 DragonFly-X86-64
)new
=-fPIC ;;
42 DragonFly-X86
) new
=-fPIC ;;
48 Darwin-
*) new
=-bundle ;;
59 if [ x
"$new" != x
]; then