Re: What is the recommended way to supply specs to add device support?

"Sivanupandi, Pitchumani" <[email protected]>
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <[email protected]>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On
> Behalf Of Georg-Johann Lay
> Sent: Monday, April 20, 2015 4:19 PM
> To: [email protected]
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.