Package Details: mspgcc-ti 6.1.1.0-1

Git Clone URL: https://aur.archlinux.org/mspgcc-ti.git (read-only)
Package Base: mspgcc-ti
Description: GNU toolchain (as, gcc, g++, ld, gdb) for the TI MSP430 processor
Upstream URL: http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/latest/index_FDS.html
Licenses: GPL
Submitter: ivanovp
Maintainer: ivanovp
Last Packager: ivanovp
Votes: 8
Popularity: 0.000000
First Submitted: 2014-01-13 19:35
Last Updated: 2019-06-04 19:01

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

Anonymous comment on 2014-10-22 23:11

@pg1992

Try adding staticlibs to the options in the PKGBUILD

pg1992 commented on 2014-10-13 19:50

Thanks for your reply @ivanovp! But unfortunately I'm still getting the same errors. I tried both the way you said and the one from the previous comment using include instead of lib. One thing I noticed is that there is none of the libraries mentioned in the errors: libgcc, libc, libnosys, etc. Maybe there is a correlation?
Once again, thanks for your reply.

ivanovp commented on 2014-10-13 05:04

pg1992: See the comment at 2014-09-11 08:53.
But you have to use -Wl,-L /opt/ti/mspgcc/lib

ivanovp commented on 2014-10-13 05:03

pg1992: See the comment at 2014-09-11 08:53.

pg1992 commented on 2014-10-12 16:39

I am getting the same problem as @Vintendo. Do I have to specify some directory with -L or -I while linking?

pg1992 commented on 2014-10-12 15:15

I am having the same problem as @Vintendo.

pg1992 commented on 2014-10-12 15:14

I am having the same problem as @Vintendo:

/opt/ti/mspgcc/bin/../lib/gcc/msp430-elf/4.9.1/../../../../msp430-elf/bin/ld: cannot find -lgcc
/opt/ti/mspgcc/bin/../lib/gcc/msp430-elf/4.9.1/../../../../msp430-elf/bin/ld: cannot find -lc
/opt/ti/mspgcc/bin/../lib/gcc/msp430-elf/4.9.1/../../../../msp430-elf/bin/ld: cannot find -lgcc
/opt/ti/mspgcc/bin/../lib/gcc/msp430-elf/4.9.1/../../../../msp430-elf/bin/ld: cannot find -lcrt
/opt/ti/mspgcc/bin/../lib/gcc/msp430-elf/4.9.1/../../../../msp430-elf/bin/ld: cannot find -lnosys
collect2: error: ld returned 1 exit status

Vintendo commented on 2014-09-21 10:17

It seems I was missing some libs from multilib: lib32-gcc-libs lib32-glibc lib32-libstdc++5 and lib32-zlib.

Now it does run but when I built I get the following error:
/opt/ti/mspgcc/bin/../lib/gcc/msp430-elf/4.9.1/../../../../msp430-elf/bin/ld: cannot find -lgcc
/opt/ti/mspgcc/bin/../lib/gcc/msp430-elf/4.9.1/../../../../msp430-elf/bin/ld: cannot find -lc
/opt/ti/mspgcc/bin/../lib/gcc/msp430-elf/4.9.1/../../../../msp430-elf/bin/ld: cannot find -lgcc
/opt/ti/mspgcc/bin/../lib/gcc/msp430-elf/4.9.1/../../../../msp430-elf/bin/ld: cannot find -lcrt
/opt/ti/mspgcc/bin/../lib/gcc/msp430-elf/4.9.1/../../../../msp430-elf/bin/ld: cannot find -lnosys
collect2: error: ld returned 1 exit status

ivanovp commented on 2014-09-21 09:07

The file /lib/ld-linux.so.2 is part of glibc. If the /lib symlink exists to /usr/lib, then try to reinstall glibc. If the symlink is missing then
ln -s /usr/lib /lib

Vintendo commented on 2014-09-21 08:58

Output: https://gist.github.com/vincentkriek/998635924c1bec357451