diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-09 21:41:11 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-09 21:41:11 +0000 |
commit | a6fdcbb2354d94f60ee40aba178a367a19985e5d (patch) | |
tree | 4ab6bf8dba606356735a973fb895568471fd5a29 /ltcf-cxx.sh | |
parent | f78cf493057d08da63ac3237c13b0cf14ccdda50 (diff) | |
download | gcc-a6fdcbb2354d94f60ee40aba178a367a19985e5d.tar.gz |
* ltcf-c.sh (aix4): Improve shared library configuration; require
exporting symbols.
* ltcf-cxx.sh (aix4): Define.
* ltconfig (aix4): Define library and soname specs appropriate for
AIX. Define command to create export symbols list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37347 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'ltcf-cxx.sh')
-rw-r--r-- | ltcf-cxx.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh index c134a429486..cefa0085624 100644 --- a/ltcf-cxx.sh +++ b/ltcf-cxx.sh @@ -135,8 +135,12 @@ case "$host_os" in ld_shlibs=no ;; aix4*) - # FIXME: insert proper C++ library support - ld_shlibs=no + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec=' ' + build_libtool_need_lc=yes ;; chorus*) case "$cc_basename" in |