> -----Original Message-----
> From: avr-gcc-list-bounces+pitchumani.s=atmel....@nongnu.org
> [mailto:avr-gcc-list-bounces+pitchumani.s=atmel....@nongnu.org] On
> Behalf Of Georg-Johann Lay
> Sent: Monday, April 20, 2015 4:19 PM
> To: avr-gcc-list@nongnu.org
> 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

_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to