Arm-linux-gnueabihf-gcc Fatal Error No Input Files
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might fatal error invalid march option armv7 a have Meta Discuss the workings and policies of this site
Arm Linux Gnueabi Gcc Error Unrecognized Command Line Option
About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting
Invalid -march= Option: `armv7-a'
ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7
Automake Cross Compile Arm
million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up ARM compiler with autoconf up vote 4 down vote favorite 1 I am trying to compile some files for ARM architecture with autoconf. I am compiling them in Ubuntu 12.04 and the target system is a BeagleBoard XM. liblto_plugin.so not found I run the following command: ./configure --host=arm-linux-gnueabi -prefix=${CSTOOL_DIR}/linux_arm_tool and get this result: configure: 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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-linux-gnueabi-strip... arm-linux-gnueabi-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for arm-linux-gnueabi-gcc... arm-linux-gnueabi-gcc checking whether the C compiler works... no configure: error: in `/home/edgar/Desktop/smartsantander/commserver': configure: error: C compiler cannot create executables See `config.log' for more details And here is the config.log file: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by commserver configure 3.2, which was generated by GNU Autoconf 2.68. Invocation command line was $ ../configure --target=i686-pc-linux-gnu --host=arm-linux-gnueabi --build=i686-pc-linux-gnu -prefix=/linux_arm_tool ## --------- ## ## Platform. ## ##
Board index The team Delete all board cookies All times are UTC
paths for gcc-arm-linux-gnueabihf on Ubuntu 14.04? Messages sorted by: [ date https://lists.linaro.org/pipermail/cross-distro/2014-December/000768.html ] [ thread ] [ subject ] [ author ] I am having difficulty figuring out the include and library paths to compile hello.cpp with cross-toolchain arm-linux-gnueabihf installed via 'sudo apt-get install gcc-arm-linux-gnueabihf' on Ubuntu 14.04 PC I can set up Eclipse (Luna) to fatal error build hello.c, but not hello.cpp hello.c search paths: Cross-tools path: /usr/bin tools prefix: arm-linux-gnueabihf- compilergcc linker gcc assembler as include /usr/arm-linux-gnueabihf/include libraries /usr/arm-linux-gnueabihf/lib hello.cpp search paths: Cross-tools path: /usr/bin tools prefix: arm-linux-gnueabihf- compilercpp linker cpp assembler as include /usr/arm-linux-gnueabihf/include libraries /usr/arm-linux-gnueabihf/lib Build Output (-v): 21:14:27 unrecognized command line **** Build of configuration Debug for project rockchip_hello **** make all Building file: ../src/rockchip_hello.cpp Invoking: Cross G++ Compiler arm-linux-gnueabihf-cpp -I/usr/arm-linux-gnueabihf/include -O0 -g3 -Wall -fmessage-length=0 -print-prog-name=cc1plus -v -MMD -MP -MF"src/rockchip_hello.d" -MT"src/rockchip_hello.d" -o "src/rockchip_hello.o" "../src/rockchip_hello.cpp" Using built-in specs. cc1plus COLLECT_GCC=arm-linux-gnueabihf-cpp Finished building: ../src/rockchip_hello.cpp Building target: rockchip_hello Invoking: Cross G++ Linker arm-linux-gnueabihf-cpp -L/usr/arm-linux-gnueabihf/lib -o "rockchip_hello" ./src/rockchip_hello.o arm-linux-gnueabihf-cpp: error: ./src/rockchip_hello.o: No such file or directory arm-linux-gnueabihf-cpp: warning: ‘-x c' after last input file has no effect arm-linux-gnueabihf-cpp: fatal error: no input files compilation terminated. make: *** [rockchip_hello] Error 4 21:14:27 Build Finished (took 65ms) Previous message: ARM virtual machines and UEFI's current non-Free status Next message: include and linker paths for gcc-arm-linux-gnueabihf on Ubuntu 14.04? Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the cross-distro mailing list