exporting symbols, help with export list
Robert Schweikert
Robert.Schweikert@abaqus.com
Mon Aug 2 20:29:00 GMT 2004
[SNIP}
On Mon, 2004-08-02 at 16:10, H. J. Lu wrote:
>
> By default, all symbols are global. You need to list the symbols you
> don't want to export. You can use
>
> local: *;
> global:
> x1;
> x2;
> ...
>
> H.J.
Using a file of the format above results in the following error:
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld:xportScript_3.txt:3: parse error in VERSION script
collect2: ld returned 1 exit status
However, using the following
VERS_1.1 {
global:
_ZN1a8getValueEv;
_ZN1a8setValueEi;
_ZN1aC1Ev;
_ZN1aC2Ev;
local: *;
};
works. I'll see if I can incorporate this into our build system.
Thanks,
Robert
--
Robert Schweikert <Robert.Schweikert@abaqus.com>
ABAQUS
More information about the Binutils
mailing list