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
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to