Menu

OSX_tweaks|AVR-Ada Tweaks Log in to Edit

OSX AVR-Ada Tweaks

1.  cd /opt/avrada-1.2.2
2.  cd ./avr/lib/gnat
3.  sudo dos2ux *.gpr

Eliminates pesky Windows/DOS CR in project text files.

4.  sudo edit avr_app.gpr

Change Line:

Mapfile_Opt := "-Wl,-Map=../" & Main_Name & ".map,--cref";

to:
Mapfile_Opt := "-Wl,-Map=./" & Main_Name & ".map,--cref";

If you don't like the map file being created in the upper level directory (-Map=../). Better to have it in the project's current directory IMO.

[OSX_AVR-Ada_Build]


Related

Wiki: OSX_AVR-Ada_Build

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.