[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: linker-script.m4?
From: |
Simon Josefsson |
Subject: |
Re: linker-script.m4? |
Date: |
Mon, 02 Mar 2009 10:31:11 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.90 (gnu/linux) |
The gnulib manual would also be amended to describe how to use the
module, along the following lines.
You need to add to configure.ac this line:
gl_LINKER_SCRIPT([$srcdir/lib/shishi.vers])
And in Makefile.am add something like this:
if HAVE_LD_VERSION_SCRIPT
libshishi_la_LDFLAGS += -Wl,--version-script=$(srcdir)/shishi.vers
endif
The version script file is documented in the LD manual, but a short
example would be:
SHISHI_0.0 {
global:
shishi*;
local:
*;
};
The content needs to be adapted to your particular library.
/Simon
- linker-script.m4?, Simon Josefsson, 2009/03/02
- Re: linker-script.m4?,
Simon Josefsson <=
- Re: linker-script.m4?, Simon Josefsson, 2009/03/02
- Re: linker-script.m4?, Ralf Wildenhues, 2009/03/02
- Re: linker-script.m4?, Simon Josefsson, 2009/03/02
- Re: linker-script.m4?, Paolo Bonzini, 2009/03/02
- Re: exported symbols of shared libraries, Bruno Haible, 2009/03/02
- Re: exported symbols of shared libraries, Bruno Haible, 2009/03/02
- Re: linker-script.m4?, Bruno Haible, 2009/03/02