This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
AIX 4.1 shared library support, egcs1.1b
- To: egcs at cygnus dot com
- Subject: AIX 4.1 shared library support, egcs1.1b
- From: Klaus Wiehler <k dot wiehler at tu-harburg dot de>
- Date: Thu, 10 Sep 1998 09:52:31 +0200
Hi out there,
I have still not managed to build a simple shared library.
(actually I'm trying to build a shared kde tool kit...)
g++ -c function.c (containing a dummy function)
g++ -shared -o libtest.a function.o (.. this should produce a shared
lib)
g++ -c main.cc (calling the dummy)
g++ -o test main.o -L$cwd -ltest
will compile but is complaining at run time:
0509-037 System error - error data is: test
0509-022 Cannot load library ..
0509-026 System error: The file access permissions do not allow the
specified action.
BTW gcc 2.7.2 is producing a shared lib which can be loaded!
also dump -H produces a "good" result - I really don't know what's going
on?
keep movin'
klaus
PS:
I browsed already the mailing lists but didn't find any solution which
works
--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Klaus Wiehler, http://www.ti1.tu-harburg.de/~wiehler
eMail: k.wiehler@tu-harburg.de, Tel: +49 (0)40 7718-3536, Fax: -2911
Technische Uni Hamburg-Harburg
Arbeitsbereich Technische Informatik, Raum 117
Harburger Schlosstrasse 20
21071 Hamburg, Germany