diff options
author | lloyd <[email protected]> | 2006-11-24 00:52:35 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-11-24 00:52:35 +0000 |
commit | 57b8df8e242e29d8a9ac41151b168ea003aa0478 (patch) | |
tree | 08a339a8513e86e0cf2d5ef6fc3bbe9bc9ca9463 /misc/config/cc | |
parent | ff09684721049b11e1b8cd735d41e15b7cea24c3 (diff) |
Various small improvements for x86-64 architectures, and better support
for the EKOpath C/C++ compiler.
Diffstat (limited to 'misc/config/cc')
-rw-r--r-- | misc/config/cc/ekopath | 10 | ||||
-rw-r--r-- | misc/config/cc/gcc | 3 |
2 files changed, 9 insertions, 4 deletions
diff --git a/misc/config/cc/ekopath b/misc/config/cc/ekopath index 82e208bd9..abf0b5b1c 100644 --- a/misc/config/cc/ekopath +++ b/misc/config/cc/ekopath @@ -13,6 +13,8 @@ check_opt_flags "-O2" lang_flags "-D_REENTRANT -ansi -Wno-long-long" warning_flags "-W -Wall" +ar_command "pathCC -ar -o" + so_obj_flags "-fPIC" debug_flags "-g" @@ -23,14 +25,14 @@ default -> "$(CXX) -shared -fPIC -Wl,-soname,$(SONAME)" </so_link_flags> <mach_opt> -i386 -> "-mcpu=anyx86" athlon -> "-mcpu=athlon" +pentium4 -> "-mcpu=pentium4" + opteron -> "-mcpu=opteron" em64t -> "-mcpu=em64t" -athlon64 -> "-mcpu=athlon64" -pentium4 -> "-mcpu=pentium4" +core2duo -> "-mcpu=core" -# Reasonable default +ia32 -> "-mcpu=anyx86" amd64 -> "-mcpu=athlon64" </mach_opt> diff --git a/misc/config/cc/gcc b/misc/config/cc/gcc index 4108b0f0c..f448dc913 100644 --- a/misc/config/cc/gcc +++ b/misc/config/cc/gcc @@ -42,6 +42,9 @@ alpha-ev7 -> "-mcpu=ev6" ppc601 -> "-mpowerpc -mcpu=601" sparc64-ultra3 -> "-mcpu=v9 -mtune=ultrasparc3" +core2duo -> "-march=nocona -momit-leaf-frame-pointer" +em64t -> "-march=nocona -momit-leaf-frame-pointer" + # Default family options (SUBMODEL is substitued with the real submodel) # Anything after the quotes is what should be *removed* from the submodel name # before it's put into SUBMODEL. |