Greg Lopp on Thu, 24 May 2001 23:30:24 -0400 |
On Thu, May 24, 2001 at 10:41:45PM -0400, MaD dUCK wrote: > also sprach Michael Leone (on Thu, 24 May 2001 10:35:14PM -0400): > > Just never re-compile a kernel with "gcc"; always use "kgcc". > > huh? maybe i am just inherently stupid, but the standard Makefile for > the linux kernel uses gcc... moreover, my (debian) systems do not have > any kgcc on them. what's up? > Complaints about this bug/feature litter bugzilla.redhat.com http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=18961 or a good example...and no two comments explain it in the same way. (I figured that someone would simply start pasting the same thing everytime someone didn't bother to search for similar bug reports...anyway) 1) The standard Makefile can easily be edited to use kgcc. My /usr/src/linux/Makefile right now contains the line : CC =$(CROSS_COMPILE)cc -D__KERNEL__ -I$(HPATH) Since I'm not cross compiling, CROSS_COMPILE has no value. Just change that single "cc", to "kgcc" and you're done for the whole tree. cc and gcc are likely the same binary somehow...hard or symbolic links. 2) Your debian system doesn't need a kgcc, since the gcc there was always able to compile the kernel. ______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|