diff options
author | lloyd <[email protected]> | 2009-11-19 17:34:29 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-11-19 17:34:29 +0000 |
commit | ac3db1c524fdecbc069a5e1323d93e4a3b933152 (patch) | |
tree | bf9fdf29ca9ea268119f3fc58eb9dcd6a955ddf2 /src/build-data/cc/xlc.txt | |
parent | f3d64d76c0c8161973a83152d730c8123b20277f (diff) |
Remove unecessary quote characters in the cc info files (were required by
configure.pl, but configure.py's parser is smart enough to deal with them
with or without quotes).
Add support for shared library generation with IBM xlC (untested).
Drop bcc - this was for the Borland's old compiler and almost certainly is
not right for the current Embarcadero C++Builder. Support for that should
be added (though I don't have access to this compiler personally).
Diffstat (limited to 'src/build-data/cc/xlc.txt')
-rw-r--r-- | src/build-data/cc/xlc.txt | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/build-data/cc/xlc.txt b/src/build-data/cc/xlc.txt index 521624395..e9ae41c1a 100644 --- a/src/build-data/cc/xlc.txt +++ b/src/build-data/cc/xlc.txt @@ -1,17 +1,17 @@ -macro_name "IBM_XLC" +macro_name IBM_XLC -binary_name "xlC" +binary_name xlC compile_option "-c " output_to_option "-o " -add_include_dir_option "-I" -add_lib_dir_option "-L" -add_lib_option "-l" +add_include_dir_option -I +add_lib_dir_option -L +add_lib_option -l lib_opt_flags "-O2" check_opt_flags "-O2" lang_flags "" -debug_flags "-g" +debug_flags -g no_debug_flags "" dll_import_flags "" @@ -27,3 +27,7 @@ power5 -> "-qarch=pwr5" cellppu -> "-qarch=cell" </mach_opt> + +<so_link_flags> +default -> "$(CXX) -qmkshrobj" +</so_link_flags> |