Closed hodiapa closed 11 years ago
Which OS are you using? Did you see any errors in the install process?
$uname -a
Linux virtualpc-VirtualBox 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:15:33 UTC 2013 i686 athlon i386 GNU/Linux
did not get any errors during compilation
I notice the following command was missing in the directory.
cd gcc-4.6.3 ./contrib/download_prerequisites
I am not sure if this thing solved the issue or if it was something else. but this did work. I shall run the setup again tonight and see if I can still replicate the issue.
Thank you very much. I was able to replicate your issue with a clean Linux install. I'll try to patch it as soon as possible.
On Tue, Jul 16, 2013 at 4:25 PM, hodiapa notifications@github.com wrote:
I notice the following command was missing in the directory.
cd gcc-4.6.3 ./contrib/download_prerequisites
I am not sure if this thing solved the issue or if it was something else. but this did work. I shall run the setup again tonight and see if I can still replicate the issue.
— Reply to this email directly or view it on GitHubhttps://github.com/jlhonora/mspgcc-install/issues/3#issuecomment-21070887 .
Great .. thanks.
There was a problem when installing libc: the path of sudo didn't include a path to msp430-gcc, so a part of the Makefile script wasn't being executed. I fixed it adding the install path's bin/ directory to the Makefile via sed, please check commit b637d1886fed27b (the latest at this time) and see if it works.
Anyhow, thank you very much for the input, I really appreciate it.
Update: I had made a small mistake, fixed.
I changed the install directory to /opt/msp430 in the install script. updated the PATH var to
export PATH=/opt/msp430/bin:/opt/msp430/lib:/opt/msp430/include:$PATH
after running the test program get following error
mspgcc-install/tests$ msp430-gcc -mmcu=msp430g2553 hello_world.c /opt/msp430/lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: cannot find -lc collect2: ld returned 1 exit status