Cross Compile Error Stdio.h No Such File Or Directory
Contents |
Re: Building cross-compiler (missing stdio.h) From: Ian Lance Taylor dot org> Date: Fri, 06 Apr 2012 21:59:46 -0700 Subject: Re: Building cross-compiler (missing stdio.h) References: <000701cd1445$8d962a20$a8c27e60$@gmail.com> "Adam Markiewicz" stdio.h: No such file or directory If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 9 of 9 Thread: stdio.h: No https://gcc.gnu.org/ml/gcc-help/2012-04/msg00088.html such file or directory Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 03-18-2004,11:39 AM #1 doronh View Profile View Forum Posts Registered User Join Date Mar 2004 Posts 5 stdio.h: No such file or directory hi http://forums.justlinux.com/showthread.php?124456-stdio-h-No-such-file-or-directory all, i am trying to cross compile "hello world!" (host: i386-linux, target arm-linux), and i get the above error message. $ arm-linux-gcc hello.c -o hello.x Would appreciate any hint/tip thanks! Reply With Quote 03-18-2004,07:33 PM #2 bwkaz View Profile View Forum Posts Visit Homepage Registered User Join Date Apr 2001 Location SF Bay Area, CA Posts 14,947 stdio.h (the one in /usr/include anyway) is owned by glibc. Do you have glibc-devel installed? If you compile passing -v to gcc (verbose output), what does it say its include search path is? It'll probably get lost in the output, so you might want to log to a file (>file 2>&1). Reply With Quote 03-19-2004,01:14 AM #3 doronh View Profile View Forum Posts Registered User Join Date Mar 2004 Posts 5 gcc output $arm-linux-gcc -v -I /tmp/karo-archives/glibc/i686-pc-linux-gnu/arm-linux/include hello.c output: Reading specs from /usr/local/arm/cross-gcc/i686-pc-linux-gnu/lib/gcc-lib/arm-linux/2.95.3/specs gcc version 2.95.3 20010315 (release) /usr/local/arm/cross-gcc/i686-pc-linux-gnu/lib/gcc-lib/arm-linux/2.95.3/cpp0 -lang-c -v -I /tmp/karo-archives/glibc/i686-pc-linux-gnu/arm-linux/include -D__GNUC__=2 -D__GNUC_MINOR__=95 -Dunix -D__arm communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour http://askubuntu.com/questions/502815/should-arm-none-eabi-gcc-include-a-stdio-h 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 about Stack Overflow the company Business Learn no such more about hiring developers or posting ads with 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: no such file 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 Should `arm-none-eabi-gcc` include a `stdio.h`? up vote 1 down vote favorite I'm trying to build a simple example from the SDK for the TI CC3200 (Cortex M4), but when I try to compile it complains about stdio.h. make CC ../main.c ../main.c:45:19: fatal error: stdio.h: No such file or directory #include Libnewlib-arm-none-eabi
Stdio.h No Such File Or Directory Linux Mint