🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41863

Compiling Linux Kernel with gcc-2.7.0

#41863
From: Tahir Ahmad
Date: Thu, 08 Feb 1996 00:00
26 lines
1234 bytes
A friend of mine is trying to compile the linux kernel using
gcc-2.7.0.  She is making some RPC calls that are included in libc.a.
The problem is that she gets the error message

(getenv.o)  undefined reference to __environ__

She is using 

> linux-1.3.20
> gcc-2.7.0  
> libc-5.0.9

libc-5.0.9 is supposed to be compatible with gcc-2.7.0, but apparently
something we do not understand is happening.  

She is successfully able to build the kernel if she does not pull in libc.a 

Any and all comments will be really appreciated.  I'd really
appreciate an email to tahir@cs.stanford.edu instead of a reply to
these newsgroups.

I hope I am posting this to the correct ones.

cheers,
--Tahir
Technical Details
Message-ID: <4fdu7o$dda@nntp.Stanford.EDU>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,2b95ceca11a93700,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 10a997,2b95ceca11a93700,start
X-Google-Attributes: gid10a997,public
From: tahir@Cache.Stanford.EDU (Tahir Ahmad)
Subject: Compiling Linux Kernel with gcc-2.7.0
Date: 1996/02/08
Message-ID: <4fdu7o$dda@nntp.Stanford.EDU>
X-Deja-AN: 138508828
organization: Computer Science Department, Stanford University
newsgroups: gnu.gcc.help,alt.uu.comp.os.linux.questions