This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: linking possibilities
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Subject: Re: linking possibilities
- From: Rafael Rodríguez Velilla <rrv at tid dot es>
- Date: Mon, 11 Jun 2001 09:54:03 +0200
- Organization: Telefónica I+D
- References: <200106082025.NAA04566@kankakee.wrs.com>
> > Can I compile somehow an application using the information of the
> > locations of the routines of another one (not an obect file but an
> > executable)?
>
> Yes, I believe you can, see the ld documentation. This is a binutils
> (ld) question by the way, doesn't have much to do with gcc.
Then let's try with a more gcc related issue...
What does gcc when I specify the -fPIC switch?
Where are these kind of things documented (which sections are created,
where is the different data located ....)? All the work that I'm doing is
basen on experiments, but I'm not sure if it will work that way always.