Jump to content


  • Content Count

  • Joined

  • Last visited

  1. Looks like GCC 3.x msp430-gcc invoked. please post output of msp430-gcc --verbose --version
  2. Hello Paul, Clear. Thank you. I've recompiled feeding the final path to the configure scripts. Now I've mspgcc working for some simple stuff like blinking Launchpad' LEDs with msp430g2452 Usual Eclipse CDT's "C/C++ GCC Cross Compiler Support" and "C/C++ GDB Hardware Debugging" works for me on Windows (mspgcc and msp430-gdb + msp430-gdbproxy). Should work even better on Linux probably with mspdebug instead of gdbproxy. BR Andres buildmspgcc-20110612.zip
  3. Hi everyone, Help needed using GNU linker, ld. I've compiled latest mspgcc (uniarch, mspgcc-20110612) on Windows box. But the problem is, ld does have hardcoded paths. When I move mspgcc from the directory it was compiled into attempt to link results in ld not finding ldscripts: **** Build of configuration Debug for project blinky **** make all 'Building file: ../main.c' 'Invoking: Cross GCC Compiler' msp430-gcc -I"C:\MSPGCC4\msp430\include" -Os -g3 -Wall -c -fmessage-length=0 -mmcu=msp430g2452 -MMD -MP -MF"main.d" -MT"main.d" -o"main.o" "../main.c" 'Finished building: ../main.c' ' ' 'Building target: blinky.elf' 'Invoking: Cross GCC Linker' msp430-gcc -L"C:\MSPGCC4\msp430\lib" -mmcu=msp430g2452 -o"blinky.elf" ./main.o c:/mspgcc4/bin/../lib/gcc/msp430/4.5.2/../../../../msp430/bin/ld.exe: cannot open linker script file memory.x: No such file or directory collect2: ld returned 1 exit status make: *** [blinky.elf] Error 1 If i copy just the msp430/lib directory in to the old location where toolchain was built everything compiles/links ok. Any suggestions? BTW, if someone is interested in building mspgcc under windows I've a preliminary draft Windows batch file to do this (w/ mspgcc-20110612). It's based on Sergio Campama's Ubuntu tutorial with some Windows-specific changes. Prerequisites are MinGW+MSYS installation in C:\MinGW and GNU wget in path. Everything else needed should be downloaded/unpacked by this script. UPD: Can't add this batch file with sourceforge and GNU URL-s for fetching packages, too spammy - account was deleted immediately
  • Create New...