[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Specifying crt*.o file

From: Scott Finneran
Subject: Re: [avr-gcc-list] Specifying crt*.o file
Date: Wed, 09 Jan 2002 09:29:01 +1100

Hello Anton,

Just specify the crt*.o file on the linker command line. The important
thing to remember is to PUT IT FIRST (ie before any other .o files).
This will ensure (I only say this from experience) that the contents are
put at address zero. 



Anton Erasmus wrote:
> Hi,
> I am trying to use a custom start-up file with avr-gcc. How does
> one force the linker to link with a specified crt file in stead of the
> default crt*.o file ?
> Regards
>    Anton
> avr-gcc-list at http://avr1.org
avr-gcc-list at http://avr1.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]