On Sat, Sep 25, 2010 at 2:05 PM, Peter Bigot <[email protected]> wrote:
>> >> _unexpected_ is defined in libc.a, which you are not including. >> >> Try using msp430-gcc instead of msp430-ld as the linker. That's usually >> safer when linking code compiled in higher-level languages where >> language-specific runtime support is needed. (-lgcc is not sufficient in >> this case. -lc might be enough.) >> > > *Adding* -lc might be enough; keep -lgcc. > - As you wrote above, just adding "-lc" (to the linker command line) has resolved the linker problem. - P.S: Wondering why this was working correctly without the "-lc" with MSPGCC ? Perhaps some code re-organization in the libraries !? Thank you a lot Peter! Claude ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Mspgcc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mspgcc-users
