Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » MSPGCC
  • » [Mspgcc-users] Multiplier errors when invoking ld directly [RSS Feed]

#1 Dec. 7, 2005 01:08:10

Christopher E.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[Mspgcc-users] Multiplier errors when invoking ld directly


The FAQ says:

>>I am getting link errors about missing multiply routines. What is
wrong?
>The usual cause for this problem is that you specified a different
"-mmcu=" option at the compile and link stages.

For invoking ld directly, the above probably means "-m emulation".

I pass this to ld:
-m msp430x149
-nostdlib
-L/mspgcc/msp430/lib
-L/mspgcc/lib/gcc-lib/msp430/3.2.3
-lc -lm -lgcc

I think those are the only libraries I should need, but those symbosl
are indeed not there. I did objdumps on every library in the toolsuite
and didn't find ANY of the symbols it is looking for ... __udivmodsi4
__umulsi3hw etc.

If I am linking explicitly with LD, where do I find these objects?

Offline

  • Root
  • » MSPGCC
  • » [Mspgcc-users] Multiplier errors when invoking ld directly [RSS Feed]

Board footer

Moderator control

Enjoy the 24th of April
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support