Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-18-2005, 05:00 PM   #1
LQ Newbie
Registered: Feb 2005
Location: uk
Distribution: debian sarge
Posts: 11

Rep: Reputation: 0
Question RedHat 9 GCC installation probs

Lo there, Yes I am a total Linux Newbie.

I've just finished installing RedHat 9 and teaching myself the first steps.
eg. mounting usb drive
using basic terminal commands ls,man,grep,su etc...

Yer I know small step on long road, anyway I want to write some C programs and have look into gcc. But gcc will not find its headers
Ive tried gcc -v hello.c
and it told me it was looking for headers in


however when I search for iostream.h it is located in

now ive tried copying the files out of these directores into /local/include but ust loads of errors.

When I installed redhat I chose the development option ..any ideas???


Old 02-18-2005, 05:09 PM   #2
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 41

Rep: Reputation: 15
Find out what file tells GCC where to look for headers, and change that instead of moving files around.

Im a newbie too, but this has worked for me in Yum.
Old 02-18-2005, 05:25 PM   #3
LQ Newbie
Registered: Feb 2005
Location: uk
Distribution: debian sarge
Posts: 11

Original Poster
Rep: Reputation: 0
ok sounds good, any idea where I should start looking?
all the programs are spread out on linux and I havent been using it long enough to understand where and why things are kept in the places they are.


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
Redhat 7.2 installation probs amd_kickass Red Hat 4 05-08-2004 05:33 AM
probs w/ redhat 8 installation thineonly Linux - Newbie 24 04-02-2004 03:52 PM
running software built with gcc 3.0.2 on Redhat 8 - gcc 3.2 dst1989 Linux - Software 3 03-08-2004 10:23 PM
redhat installation did not install gcc centr0 Linux - General 11 02-28-2003 08:50 PM
Redhat 7.2 vs Suse 7.3 installation probs bloodx Linux - Newbie 0 12-06-2001 07:26 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:05 PM.

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