[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: help debugging a compiler error (cpp)



Hello

* Jonathan Markevich (jmarkevich@mad.scientist.com) wrote:
> On Fri, Jan 05, 2001 at 05:08:01PM -0500, Mike wrote:
> 
> > > bash-2.03$ make
> > > rm -f nv.o os-interface.o os-registry.o Module-linux NVdriver
> > > cc -c -Wall -Wunknown-pragmas -Wno-multichar -O  -D__KERNEL__ -DMODULE
> > > -D_LOOSE_KERNEL_NAMES -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_X86_=1
> > > -Di386=1 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES    -I.
> > > -I/usr/src/linux/include nv.c
> > > cpp: -lang-c: linker input file unused since linking not done
> > > cc: installation problem, cannot exec 'cc1': No such file or directory
> > > make: *** [nv.o] Error 1
> > > ---

 [ snip ]

> I have no idea where it gets the idea there's a cc1 somewhere... 

	In fact cc1 is one of the program called by gcc. Actually, gcc
	call the following programs :

	* cpp : c preprocessor
	* cc1 : true compilator
	* as  : assembler
	* ld  : linker

	So cc1 is part of the gcc package :
	
$ dlocate cc1
gcc: /usr/lib/gcc-lib/i386-linux/2.95.2/cc1
g++: /usr/lib/gcc-lib/i386-linux/2.95.2/cc1plus

	There should be a problem with your installation of gcc like
	the gcc output is indicating.

Bye
-- 
DEFRESNE Sylvain
	



Reply to: