[101171] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: gcc not working

daemon@ATHENA.MIT.EDU (Emmanuel Papirakis)
Wed Nov 25 00:37:48 1998

From: "Emmanuel Papirakis" <epapirakis@hotmail.com>
To: redhat-list@redhat.com
Date: Tue, 24 Nov 1998 21:36:50 PST
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Hmm,

	this is highly unsusuall. But, I see at least two alternatives. First 
of all, you can use the standard -I flag.

Try:

gcc -I/usr/include hello.c

	This will of course find the stdio.h file. A second alternative is to 
set the C_INCLUDE_PATH variable (you can do this in /etc/profile) like 
this:

export C_INCLUDE_PATH=/usr/include

	Then try:

gcc hello.c

	These two alternatives should work. But, I have no idea why your gcc 
doesn't work right in the first place, this SHOULD do the job anyway.

				Papi


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post