[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] What is the recommended way to supply specs to add de
From: |
Sivanupandi, Pitchumani |
Subject: |
Re: [avr-gcc-list] What is the recommended way to supply specs to add device support? |
Date: |
Mon, 20 Apr 2015 11:40:04 +0000 |
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of Georg-Johann Lay
> Sent: Monday, April 20, 2015 4:19 PM
> To: address@hidden
> Subject: [avr-gcc-list] What is the recommended way to supply specs to
> add device support?
>
> Suppose an installation of avr-gcc with device-specs folder installed in a
> read-only path. What's the recommended way to supply support to, say,
> device 'mydev'? Using -B to add a local directory containing the spec
> files?
Yes, -B is required to identify specs directory and startup (crt<device>.o)
file.
Example:
/mydevices/device-specs/specs-newdevice
/crtnewdevice.o
/libnewdevice.a
avr-gcc -mmcu=newdevice -B/mydevices
We can use -L option if the library installed in different directory.
Regards,
Pitchumani