Krucifyr / osx-launchpad

Automatically exported from code.google.com/p/osx-launchpad
0 stars 0 forks source link

Example code does not compile #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

demo-breathing-led-gcc-4.5.3$ msp430-gcc -Os -Wall -g -mmcu=msp430g2231 -o 
breathing-led.elf breathing-led.c

Error:
dyld: Library not loaded: /usr/local/Cellar/libmpc/0.9/lib/libmpc.2.dylib
  Referenced from: /usr/local/msp430-uniarch-20110716/libexec/gcc/msp430/4.5.3/cc1
  Reason: image not found
msp430-gcc: Internal error: Trace/BPT trap (program cc1)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

What version of the product are you using? On what operating system?
Mac OS X 10.6.8

Please provide any additional information below.
It might be somehow related to homebrew - I have homebrew installed.

Yeah, mspdebug throws also errors:
mspdebug --help
dyld: Library not loaded: /usr/local/Cellar/libusb/1.0.8/lib/libusb-1.0.0.dylib
  Referenced from: /usr/local/lib/libusb-0.1.4.dylib
  Reason: image not found
Trace/BPT trap

Original issue reported on code.google.com by andres.v...@gmail.com on 12 Feb 2012 at 8:05

GoogleCodeExporter commented 8 years ago
Yup, didn't compile for me either, but for a different reason.  Here's what I 
got (when manually entering the lines in the shell file to localize the 
problem):

MikesMBP:demo-breathing-led-gcc-4.5.3 mwirth$ msp430-gcc -Os -Wall -g 
-mmcu=msp430g2231 -o breathing-led-msp430g2231.elf breathing-led.c
cc1: MCU msp430g2231 not supported
Known MCU names:
   msp1
   msp2
   msp430x110
   msp430x112
   msp430x1101
   ...
   msp430x2132
   msp430x2232
   msp430x2252
 ...
   msp430x5436
   msp430x5437
   msp430x5438
(null):0: confused by earlier errors, bailing out
MikesMBP:demo-breathing-led-gcc-4.5.3 mwirth$ 

Note that neither msp430x2231 nor  msp430g2231 is listed.  Huh?

Get a similar error for the msp430g2452 also.

Any ideas?

Mike

Original comment by mwi...@gmail.com on 30 Jun 2012 at 2:19