[coldfire-gnu-discuss] --oformat problems

Carlos O'Donell carlos at codesourcery.com
Tue Nov 30 17:55:33 UTC 2010


On 11/30/2010 5:43 AM, Allender.Doug wrote:
> I’m trying to get compilation and linking working with our internal
> build system which uses many batch files etc for this process. I have
> managed to get a compilation to work but have a problem when linking.
> The code is built on a windows platform.

You should link with the compiler e.g. m68k-elf-gcc  -o myfile.lx1
-Wl,-Map,myfile.mp1 -Wl,-cref –T myfile.lk1

It will add all the required libraries.

Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos at codesourcery.com
(650) 331-3385 x716



More information about the coldfire-gnu-discuss mailing list