This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Installation error
- To: "Ramiro Polo" <rapocol at etsii dot upv dot es>
- Subject: Re: Installation error
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 26 Jul 2001 20:27:26 -0300
- Cc: "GCC Help" <gcc-help at gcc dot gnu dot org>
- Organization: GCC Team, Red Hat
- References: <003d01c115ab$7c6a0b80$06582a9e@upv.es>
On Jul 26, 2001, "Ramiro Polo" <rapocol@etsii.upv.es> wrote:
> If I compile and link directly with gcc the error don't appear.
Yep. gcc links in support object files and libraries that define the
symbols the linker is complaining about.
> I need to put the program at a certain memmory position. (Using
> the -Tfile.lnk option of the ld program).
> Can I do this directly with gcc?
Sure, just do it. If passing -Tfile.lnk doesn't work with the old
version of GCC you're using, try -Wl,-Tfile.lnk
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me