Garret Crisler wrote:
I am having trouble getting the complier to output the ".elf" file.
I am getting only a ".o" file output. I have select the binary
parser, I have the -g option included in the options that are being
passed to the compiler. I can't seem to find a way to tell the
program that I need the output to be in the elf format.
"standard make" or "managed make"? do you see any errors in the "build
console" window?
for "standard make", just create a normal makefile where you link your
objects like
msp430-gcc -ggdb3 obj1.o obj2.o
or look at one of the examples that come with mspgcc.
"managed make" requires that you specify -mmcu=... in the project
options. it needs to be specified for the compiler and linker (and
assembler if you have .S files). the build will abort with errors otherwise.
chris