mkleemann / cmake-avr

cmake toolchain for AVR
Other
174 stars 62 forks source link

Passing options to the linker #20

Closed rvalle closed 5 years ago

rvalle commented 5 years ago

How can I pass options to the linker? I am building a bootloader and I need to pass: -section-start=.text=0x7c00 Also, is there a way with cmake to display/log the actual compiler/linker commands being executed?

rvalle commented 5 years ago

Ok, I found out how to do both things... so, in case anybody is interested: