This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: linker option
- From: Michael S. Zick <mszick at goquest dot com>
- To: "Sumesh UdayaKumaran" <sumesh_uk at hotmail dot com>,binutils at sources dot redhat dot com
- Date: Fri, 13 Jun 2003 16:17:29 -0500
- Subject: Re: linker option
- References: <BAY1-F104iyhGvDpEDi00008753@hotmail.com>
On Friday 13 June 2003 10:42 am, Sumesh UdayaKumaran wrote:
> Hi
> I was wondering if some one knew what was the linker option in gcc
> which can be used to statically link just the required procedures from a
> library.
Use an archive (filename.a) - that is the default action.
> And did this have support for function pointers ?
If the function to be assigned to the function pointer is somewhere
mentioned, it just works.
You should find the commands:
"ld --help"
"man ld"
useful.
Mike
>
>
> sumesh
>
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail