jmayes Posted April 30, 2011 Report Share Posted April 30, 2011 (edited) Getting the following error; P:\info\midi\midi-box\SVN_MIOS32\apps\examples\srio>make rm -f project.hex Creating object file for app.c make: arm-none-eabi-gcc: Command not found make: *** [project_build/app.o] Error 127 Using Win7 pro, Here are my path vars; SET PATH= %PATH%;c:\mios32_toolchain\bin;C:\MSYS\1.0\bin set MIOS32_PATH=/P/info/midi/midi-box/SVN_MIOS32 set MIOS32_BIN_PATH=/P/info/midi/midi-box/SVN_MIOS32/bin set MIOS32_GCC_PREFIX=arm-none-eabi set MIOS32_FAMILY=STM32F10x set MIOS32_PROCESSOR=STM32F103RE set MIOS32_BOARD=MBHP_CORE_STM32 set MIOS32_LCD=clcd I know it's finding the SVN, if I change anything there it bombs out with a "File not found error" Also it takes a very long time (3 minutes+) before the error pops up. Any help would be appreciated! Jmayes Edited April 30, 2011 by jmayes Quote Link to comment Share on other sites More sharing options...
^Gecko^ Posted April 30, 2011 Report Share Posted April 30, 2011 (edited) you put yours in c:\msys\ and not c:\mingw\msys? try 'make -d' to print debug info wait, no don't do that, it prints forever.... Edited April 30, 2011 by ^Gecko^ Quote Link to comment Share on other sites More sharing options...
^Gecko^ Posted April 30, 2011 Report Share Posted April 30, 2011 --debug[=FLAGS] Print debugging information in addition to normal processing. If the FLAGS are omitted, then the behavior is the same as if -d was specified. FLAGS may be a for all debugging output (same as using -d), b for basic debugging, v for more verbose basic debugging, i for showing implicit rules, j for details on invocation of com- mands, and m for debugging while remaking makefiles. Quote Link to comment Share on other sites More sharing options...
jmayes Posted April 30, 2011 Author Report Share Posted April 30, 2011 you put yours in c:\msys\ and not c:\mingw\msys? try 'make -d' to print debug info wait, no don't do that, it prints forever.... It's in C:\msys\1.0\ Debug gave me 10 minutes of scrolling info ending in basically the same error Creating object file for app.c Reaping winning child 0x0a04bd08 PID 3724 make: arm-none-eabi-gcc: Command not found Live child 0x0a04bd08 (project_build/app.o) PID 2512 Reaping losing child 0x0a04bd08 PID 2512 make: *** [project_build/app.o] Error 127 Removing child 0x0a04bd08 PID 2512 from chain. It's telling me that "arm-none-eabi-gcc" is not found (or installed) I found this in the SVC instructions; Quickstart STM32 Primer under DOS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ We assume, that the MIOS32 repository has been downloaded to D:\mios32, and that the Ride7 IDE (which comes with STM32 Primer) has been installed. We won't use the IDE, but build & upload the application from the commandline instead. So, all we need from Ride7 IDE is the gcc compiler: C:\Programs\Raisonance\Ride\arm-gcc and the propritary code upload tool "cortex_pgm.exe" under: C:\Programs\Raisonance\Ride\bin So do I need to install this "Ride7"? If so where do I get it? Thankx again, Jmayes Quote Link to comment Share on other sites More sharing options...
^Gecko^ Posted April 30, 2011 Report Share Posted April 30, 2011 I don't think I've seen Ride7 anywhere... http://www.midibox.org/dokuwiki/doku.php?id=windows_mios32_toolchain_core """ The MIDIbox community have created a modified GNU Compiler Collection, ready for use with the ARM Cortex M3 platform. The toolchain contains all of the tools required to build MIOS32 applications including GCC and NEWLIB. MSYS is still currently required although may be added to a later version of the toolchain. The Toolchain has currently been compiled for Windows (2000+), Mac OS X (Leopard or newer) and Linux x86 (built on Ubuntu 10.10). The download directory for the toolchain is ftp://ftp.lansystems.co.uk/pub/midibox Download the latest “windows†file and unzip into your favorite directory, If you unzip into c:\ the toolchain will create c:\mios32_toolchain and various sub-directories containing the toolchain files. You must add the “bin†directory to your windows path, a temporary way is to type the following in a Windows Command Prompt window: (change c:\mios32_toolchain to wherever you extracted your toolchain) SET PATH= %PATH%;c:\mios32_toolchain\bin If you want to make this change permanent (you probably will) follow this Microsoft KB article http://support.microsoft.com/kb/310519 This article will also help you when adding the MIOS32 specific variables later on. """ Quote Link to comment Share on other sites More sharing options...
jmayes Posted April 30, 2011 Author Report Share Posted April 30, 2011 I have followed the windows_mios32_toolchain_core page exactly and pm'd Gecko and he did not install anything I have not so that brings me full circle. Can someone put some light on why I am getting the "arm-none-eabi-gcc" not found error below? P:\info\midi\midi-box\SVN_MIOS32\apps\examples\srio>make rm -f project.hex Creating object file for app.c make: arm-none-eabi-gcc: Command not found make: *** [project_build/app.o] Error 127 Thankx agian all, Jmayes Quote Link to comment Share on other sites More sharing options...
lucem Posted April 30, 2011 Report Share Posted April 30, 2011 When I set up the guide you referenced, I noticed that on Vista (and this should be valid for 7, too), things didn't work out well due to the non-conforming mingw suite; I don't know for sure if this has been fixed now. The easy solution would be to set up a virtual machine running XP and doing the compilation there. (If you have a valid XP licence around, of course) Otherwise, you could help yourself by using eclipse and setting up the paths there - that should usually work, but it's a bit of a hassle to set it up for the first time. Quote Link to comment Share on other sites More sharing options...
jmayes Posted April 30, 2011 Author Report Share Posted April 30, 2011 I got up this morning with a fresh pair of eyes and found that I had not broken out the mios32_toolchain properly from the windows zip file which left mios32_toolchain in a sub dir instead of on the root of C. After I fixed that everything seems to work fine now. Guess it was just too late when I was working on it last night. Thankx again all for the help! Jmayes Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.