[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] How to skip c-runtime init
From: |
Andy Warner |
Subject: |
Re: [avr-gcc-list] How to skip c-runtime init |
Date: |
Wed, 18 May 2005 14:05:30 -0500 |
User-agent: |
Mutt/1.2.5i |
Larry Barello wrote:
> -nostartfiles deletes the interrupt vector table, but I still end up with
> fragments for initializing data and clearing BSS.
>
> -nostdlib deletes all libc stuff (eeprom_read_byte(), etc) which are easy
> enough to replace.
>
> Is the "nostartfiles" behavior correct? Or is there some other essential
> tidbit I am missing?
You may have to roll your own avr-ld command, because that's where
the crt0 files that init data & clear bss are coming from.
--
address@hidden
Andy Warner Voice: (612) 801-8549 Fax: (208) 575-5634