This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How to export functions from a static library linked to anexecutable ?
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: Nicolas ANTONIAZZI <nicolas dot antoniazzi at gmail dot com>, GCC Help <gcc-help at gcc dot gnu dot org>
- Date: Sun, 17 Apr 2005 15:44:38 -0500
- Subject: Re: How to export functions from a static library linked to anexecutable ?
- References: <cf2d07b3050416192223b6d2e2@mail.gmail.com>
Ni Nicolas,
Use --whole-archive to bring in all functions in your libA.a library archive.
HTH,
--Eljay