GCC Ain't Searchn' Default Include Directories!
Im using make to compile something... (gcc 4.6.3)
When I type 'make' it all goes ok until it gets to a point where: bid_decimal_globals.c can't find fenv.h! I know very well that fenv.h and features.h are in /usr/include (along with stdio.h). I really don't want to have to go through all of the .h's needed by libgcc and hard-code the paths. Is there a way to get it to see that include directory? The most frustrating part of this is that I built this fine a few weeks ago... |
Quote:
Also how fenv,h is included in bid_decimal_globals.c, with "" or with <>? |
and to add becides the above
did you add "fenv.h" and "features.h" in an include ? Code:
#include <fenv.h> the name of these Quote:
if they are over a year old they might need to be updated to build in gcc4.6 |
Command Used: make
Compileing: GCC 4.7.0 (Now, Same Problem Shows) Include With: <> I didn't change anything! I am useing the LFS book as a general guide on how to build it, but im not acctualy building a lfs system. Binutils compiled fine. Once I found it (The Makefile for the thing that was giving me problems) I added -I/usr/include too it. It compiled fine. I still cant get glibc to compile but thats for a different reason. |
All times are GMT -5. The time now is 06:19 AM. |