AMC 68VZ328 Frozen Dessert Maker User Manual


 
60
www.amctechcorp.com
Normal Usage of the PIC-COFF Tool Chain
The PIC-COFF tool chain is normally very easy to use. The ‘Hello world’ program supplied in
the samples directory is compiled as follows:
m68k-pic-coff-gcc hello.c -o hello
To compile the same program with the 32 bit extensions:
m68k-pic-coff-gcc -fPIC hello.c -o hello
Normal Usage of the ELF Tool Chain
The ELF tool chain included with the SDK does not default to generate code for the Motorola
M68VZ328, so additional command line arguments are needed.
m68k-elf-gcc -m68000 -elf2flt hello.c -o hello -lc
The libraries used must be specified. They must be specified after the source files have been
listed.