aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-08-03 21:34:52 +0000
committerlloyd <[email protected]>2009-08-03 21:34:52 +0000
commit9700187e8dcfbff01fad30325efdf2276435b1df (patch)
treeff02214dd59e746db6e8ab95d90bb73eb27719a3 /src
parente8ecf5e024c0e5fae5a5ea7cf6e04cb08b74b844 (diff)
Add compiler settings for the Open64 (http://www.open64.net/) compiler,
based on the SGI Pro64 and Pathscale EKOpath compilers. Only tested on an x86-64 system running Linux (v4.2.1). Miscompiles a few of the block ciphers (segvs, didn't bother to diagnose further; recompile with -O1 to fix), other than that seems OK.
Diffstat (limited to 'src')
-rw-r--r--src/build-data/cc/open6430
1 files changed, 30 insertions, 0 deletions
diff --git a/src/build-data/cc/open64 b/src/build-data/cc/open64
new file mode 100644
index 000000000..b7c1e9e99
--- /dev/null
+++ b/src/build-data/cc/open64
@@ -0,0 +1,30 @@
+realname "Open64"
+
+binary_name "openCC"
+
+compile_option "-c "
+output_to_option "-o "
+add_include_dir_option "-I"
+add_lib_dir_option "-L"
+add_lib_option "-l"
+
+lib_opt_flags "-O3 -OPT:alias=TYPED"
+check_opt_flags "-O3 -OPT:alias=TYPED"
+debug_flags "-g3"
+no_debug_flags "-fomit-frame-pointer"
+shared_flags "-fPIC"
+lang_flags "-ansi -LANG:ansi-for-init-scope=ON"
+warning_flags "-Wall -W"
+
+dll_import_flags ""
+dll_export_flags ""
+
+makefile_style unix
+
+<so_link_flags>
+default -> "$(CXX) -shared -Wl,-soname,$(SONAME)"
+</so_link_flags>
+
+<mach_abi_linking>
+amd64 -> "-m64"
+</mach_abi_linking>