Re: Assembler instructions not being created correctly for mutiplication in GCC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Andrew Haley wrote:
> 
> All this weirdness with linker scripts is usually only done when
> targeting some kind of embedded system.  If you're linking a program
> for a Linux system, I suggest you simply do
> 
>  gcc -o xy.elf xy.o
> 
> It might be that the Cmpware.lnk script contains the paths to gcc
> libraries, and these paths are wrong.  But of course, that support
> needs to come from Cmpware, Inc.
> 
> Andrew.
> 
> 

We're attempting to target a sparc-elf processor to run some simulation
tests before using the code on a Leon3 processor. If I attempt to use the
command above I get the error telling me I have no ctr0.o file.

As for the Cmpware.lnk file, it appears to just reformat the code and
provide DWARF debugging information. Once we move away from using the CMP-DK
tool I probably won't need the lnk file. I'll try your suggestion about
getting support from CMPWare Inc. In the interim, I will probably try your
suggestion of llinking to libgcc.

Thanks!
~Mike 
-- 
View this message in context: http://www.nabble.com/Assembler-instructions-not-being-created-correctly-for-mutiplication-in-GCC-tp18238444p18241140.html
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux