0 Members and 4 Guests are viewing this topic.
mv: cannot stat `gmp-5.0.4': No such file or directorymkdir: cannot create directory `build': File existsmkdir: cannot create directory `prefix': File existsconfigure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used.../src/configure: line 27268: /c/Program: No such file or directoryconfigure: WARNING: +----------------------------------------------------------configure: WARNING: | Cannot determine global symbol prefix.configure: WARNING: | /c/Program Files (x86)/yagarto/bin/arm-none-eabi-nm output doesn't contain a global data symbol.configure: WARNING: | Will proceed with no underscore.configure: WARNING: | If this is wrong then you'll get link errors referringconfigure: WARNING: | to ___gmpn_add_n (note three underscores).configure: WARNING: | In this case do a fresh build with an override,configure: WARNING: | ./configure gmp_cv_asm_underscore=yesconfigure: WARNING: +----------------------------------------------------------configure: WARNING: "/c/Program Files (x86)/yagarto/bin/arm-none-eabi-nm" failureconfigure: WARNING: cannot determine local label, using default L../src/configure: line 27607: /c/Program: No such file or directory../src/configure: line 27607: /c/Program: No such file or directoryconfigure: error: cannot determine how to define a 32-bit word
#!/bin/sh# This creates a "gmp" subdirectory whereever you launch the script, and compiles and installs in subdirectories thereof.WORKING_DIR=`pwd`mv gmp-5.0.4 srcmkdir buildmkdir prefixcd build../src/configure --host=arm-none-eabi --prefix="$WORKING_DIR/prefix" --enable-shared=no --enable-assert || exit 1make && make install