Re: [coldfire-gnu-discuss] --oformat problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldfire-gnu-discuss] --oformat problems
- To: "Allender.Doug" <Doug.Allender@xxxxxxxxxxxxxxxxx>
- Subject: Re: [coldfire-gnu-discuss] --oformat problems
- From: Carlos O'Donell <carlos@xxxxxxxxxxxxxxxx>
- Date: Tue, 30 Nov 2010 12:55:33 -0500
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@xxxxxxxxxxxxxxxx
(650) 331-3385 x716