This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Installation error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]