Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-14-2013, 04:09 AM   #1
Registered: Jul 2011
Location: Spain
Distribution: Fedora
Posts: 61

Rep: Reputation: 3
arm-linux-gnu-gcc in Fedora 18: stdio.h not found

Hello everyone

I'm trying to install an ARM cross-compiler because I'm developing C applications for an embedded system. I installed binutils-arm-linux-gnu and gcc-arm-linux-gnu, and it seems that it can't find the headers for the libraries.

As I saw, the it only looks for libraries in the /usr/lib/gcc/arm-linux-gnueabi folder, that has this inside:

arm_neon.h  float.h  iso646.h  mmintrin.h  stdalign.h  stdarg.h  stdbool.h  stddef.h  stdfix.h  stdint-gcc.h  stdint.h  stdnoreturn.h  unwind-arm-common.h  varargs.h
limits.h  README  syslimits.h
What's the proper way to get the rest of the header files found while compiling with arm-linux-gnu-gcc?

Thank you in advance
Old 06-16-2013, 06:49 AM   #2
LQ Newbie
Registered: Jun 2013
Posts: 8

Rep: Reputation: Disabled
Arrow It is standard for most distros.

stdio.h is part of the C standard libraries. It should be included in your distro in a include folder. Just make sure either your IDE can find it or use the environmental variable C_INCLUDE_PATH=/some/include if using gcc.
Best of luck.
Old 06-16-2013, 06:59 AM   #3
Registered: Jul 2011
Location: Spain
Distribution: Fedora
Posts: 61

Original Poster
Rep: Reputation: 3
For sure that I can solve it using a -I while compiling, but as it is a standard library, it should be included automatically.

By the way, as it wasn't the first problem I had with Fedora, I returned to Debian, in where the arm compiler worked perfecly just installing it from


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
difference b/w arm-iwmmxt-linux-gnueabi-gcc & arm-linux-gcc ravi_shanker Linux - Software 1 09-12-2011 10:30 AM
arm-linux-gcc: Command not found sattulinux Linux - Newbie 2 11-18-2010 12:16 AM
adjusting tool chain section 5.8 i686-lfs-linux-gnu-gcc: command not found rlaybourn Linux From Scratch 7 10-14-2010 08:23 AM
steps to install arm-linux gcc in fedora 10 naren4055 Linux - Newbie 4 05-08-2010 02:33 PM
GNU ToolChain for ARM, Linux 2.6.14-2/binutil-2.16/gcc 4.0.2/glibc-2.3.5 kumar_bst Linux - Software 0 01-22-2008 04:59 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration