[Energia] mspgcc in path with spaces -> linking issue

Robert Wessels <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.user
Message-ID <[email protected]>
I am running into linking issues in Energia if Energia is placed in a directory containing spaces. I have seen this happen on Windows and Mac and will test linux later.

Linking directly with ld seems to solve the issue. 
2 questions:
1: Should I be calling the linker differently?
2: Should I be linking directly with ld rather than msp430-gcc?

This is the error we are seeing:

/Users/rwessels/Desktop/Path With Spaces/Energia.app/Contents/Resources/Java/hardware/tools/msp430/bin/msp430-gcc -Os -Wl,-gc-sections,-u,main -mmcu=msp430g2553 -o /var/folders/_2/jkjmx9g52rld63ptzv1j4w4h0000gn/T/build3435385133181233614.tmp/Blink.cpp.elf /var/folders/_2/jkjmx9g52rld63ptzv1j4w4h0000gn/T/build3435385133181233614.tmp/Blink.cpp.o /var/folders/_2/jkjmx9g52rld63ptzv1j4w4h0000gn/T/build3435385133181233614.tmp/core.a -L/var/folders/_2/jkjmx9g52rld63ptzv1j4w4h0000gn/T/build3435385133181233614.tmp -lm 
/Users/rwessels/Desktop/Path With Spaces/Energia.app/Contents/Resources/Java/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: cannot open linker script file memory.x: No such file or directory
collect2: ld returned 1 exit status

Cheers,

Robert
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.