Arm-none-eabi-gcc.exe Fatal Error No Input Files
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of g++ fatal error no input files compilation terminated this site About Us Learn more about Stack Overflow the company Business Learn cygwin arm-none-eabi-gcc more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question arm-none-eabi-gcc command not found cygwin x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Codesourcery gcc fatal error no input files compilation terminated toolchain under Win7/cygwin can't find some files up vote 0 down vote favorite I have searched this but the questions I found are about getting the toolchain to work, my problem is that it works on all but a few directories. Also I am not building Linux. I am trying to move a project from a Linux machine to Windows to make people
Arm None Eabi Gcc Windows
happy. The same project builds fine under Linux (Ubuntu 12.04) using the Linux Binary for the same toolchain (I recently reloaded both toolchains from the same directory at Mentor to be sure, see details below). I installed Cygwin, got the packages, set up paths, etc. In general the build works for 90% of the project BUT as make traverses the directory, it finds everything except two files (to clarify, these two are the first files in their respective directories, so I assume the problem will apply to the whole directory). The log below shows the first fail: if I take lwip out of the build then it blows up on the next one if I take the next one out of the build then everything else (quite a bit) compiles; then the linker fails on the two missing items as expected. More precisely, e.g. it finds /home/Nadi/project/version-2.9/external/freertos/Source/portable/GCC/ARM_CM3_MPU/port.c but not /home/Nadi/project/version-2.9/external/lwip/src/api/api_lib.c from the directory that I am running make, "ls" finds the file that the compiler cannot. log: $ make external/freertos external/lwip [cc] Debug/api_lib.o arm-none-eabi-gcc.exe: error: /home/Nadi/project/version-2.9/external/lwip/src/api/api_lib.c: No such file or directory arm-none-eabi-gcc.exe: fatal error: no input files compilation terminat
Exporting to GCC ARM Windows problem I am trying to get
Install Arm-none-eabi-gcc
the GCC ARM offline compiler to work on mingw windows. I have tried two different methods: 1) Cygwin 2) CMD with cygwin download GNU make installed. I have downloaded the GNU Tools for ARM Embedded Processors from the website https://launchpad.net/gcc-arm-embedded and installed that, http://stackoverflow.com/questions/16172931/codesourcery-toolchain-under-win7-cygwin-cant-find-some-files and add it to the PATH in each method. In both of them, I get the following output: $ make arm-none-eabi-g++ -mcpu=cortex-m3 -mthumb -c -Os -fno-common -fmessage-length=0 -Wall -fno-exceptions -ffunction-sections -fdata-sections -DTARGET_LPC1768 -DTARGET_M3 -DTARGET_NXP -DTARGET_LPC176X -DTOOLCHAIN_GCC_ARM -DTOOLCHAIN_GCC -D__CORTEX_M3 -DARM_MATH_CM3 -std=gnu++98 https://developer.mbed.org/questions/2219/Exporting-to-GCC-ARM-Windows-problem/ -I. -I./mbed -I./mbed/TARGET_LPC1768 -I./mbed/TARGET_LPC1768/TOOLCHAIN_GCC_ARM -o main.o main.cpp arm-none-eabi-g++.exe: error: CreateProcess: No such file or directory Makefile:39: recipe for target 'main.o' failed make: *** [main.o] Error 1 It is successfully finding arm-none-eabi-g++.exe, as when I don't include its location, it says command not found. I have done a lot a web searching and other people usually don't have the g++ part of gcc installed, but Cygwin says I do. It is the simple LED blinking program, exported from the online compiler. Any help is much appreciated. Edit: This is my path: $ echo $PATH /usr/local/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/WIDCOMM/Bluetooth Software:/cygdrive/c/Program Files/WIDCOMM/Bluetooth Software/syswow64:/cygdrive/c/Program Files/Microsoft SQL Server/110/Tools/Binn:/cygdrive/c/Program Files (x86)/Microchip/xc32/v1.21/bin:/cygdrive/c/gcc_bin The arm gcc files are in c:\gcc_bin. $ arm-none-eabi-g++ arm-none-eabi-g++.exe: fatal error: no input f
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more http://askubuntu.com/questions/125927/compiling-c-code-raising-no-input-files-fatal-error about Stack Overflow the company Business Learn more about hiring developers or posting ads with https://sourceforge.net/p/gnuarmeclipse/support-requests/39/ us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Compiling fatal error C++ code raising “no input files” fatal error? up vote -2 down vote favorite I am finding it hard to run/compile a simple C++ code in the terminal. Here's the code I am using to compile the file (helloworld.cpp). g++ helloworld.cpp -o helloworld I am getting an error. (Image) programming c++ share|improve this question edited Apr 27 '12 at 12:16 Jjed 9,39055385 asked Apr 27 '12 at 7:41 Ishaan Singh 116115 fatal error no 5 I assume the directory you are currently in contains the file "helloworld.cpp"? :p –eltommo Apr 27 '12 at 7:49 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote accepted You need to have the code file (in this case helloworld.cpp) in your current working directory. If the code file is in a different directory, you need to specify where in the command. For example g++ some/other/folder/helloworld.cpp -o helloworld.o share|improve this answer answered Apr 27 '12 at 12:19 Jjed 9,39055385 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged programming c++ or ask your own question. asked 4 years ago viewed 24926 times active 1 year ago Related 2Wrong Compiler Error in Code Blocks-1How to use Kdevelop to write c++ programs ? 3What version of C++ does 12.04 use?4Howto install google-mock on Ubuntu 12.102Why am I getting compile time errors in this C++ program?1Unable to compile C++ Code0Programming in Linux0Er
requests GNU ARM Eclipse A family of Eclipse CDT extensions and tools for GNU ARM development. Brought to you by: ilg-ul, justxi Summary Files Reviews Support Tickets ▾ Bugs Feature requests Support requests Beta versions News Discussion Git ▾ Second Edition Experiments Files ReadMe QEMU QEMU Tests Build Tools OpenOCD Svn Create Ticket View Stats Group Version 0.5.5 Version 1.x Searches All Public Closed Tickets Open Tickets Pending Help Formatting Help #39 Build project with linked Debug/Release folders Milestone: Version 0.5.5 Status: closed Owner: Liviu Ionescu (ilg) Labels: None Priority: 5 Updated: 2014-08-17 Created: 2014-02-20 Creator: glory_man Private: No Eclipse Kepler GNU ARM C/C++ Development Support (End of life) 0.5.5.201310221100 When I create simple "Hello World" project with Sourcery Lite support and try to build it - all fine. But after that delete Debug/Release folder, add linked folder Debug/Release and try to build I have error: cs-make: *** No rule to make target `all'. Stop. Is this feature or bug? Why I cann't add linked folders to collect object files of project? Discussion Liviu Ionescu (ilg) - 2014-02-20 status: open --> accepted assigned_to: Liviu Ionescu (ilg) If you would like to refer to this comment somewhere else in this project, copy and paste the following link: Liviu Ionescu (ilg) - 2014-02-20 0.5.5.201310221100 sorry, 0.5.5 is no longer supported linked Debug/Release folders please try exactly the same configuration with the native gcc compiler (not the gnu arm compiler), and let me know if you can build in linked folders. If you would like to refer to this comment somewhere else in this project, copy and paste the following link: glory_man - 2014-02-20 I reproduced my steps with "GNU ARM C/C++ Cross Compiler Support 1.8.1.201402180751" installed in eclipse and still have this error for Linked folder. "Hello world ANSI C project" with MinGW GCC used have another error when linked folders used for obj files. gcc: error: ..\src_b.c: No such file or directory gcc: fatal error: no input files But with Debug/Release folders inside Project directory buikdes normally. If you would like to refer to this comment somewhere else in this project, copy and paste the following link: Liviu Ionescu (ilg) - 2014-02-20 how did you create the linked folders? please provide a detailed step by step instruction on how to reproduce your configuration. If you would like to refer to this comment somewhere else in this project, co