🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41420

Re: Can't get glibc to compile!

#41420
From: Kai Ruottu
Date: Wed, 27 Mar 1996 00:00
28 lines
1397 bytes
poirot@mickey.jsc.nasa.gov (Daniel Poirot) wrote:

>Does glibc-1.09 compile using gcc 2.7.2?

Not without some patching first....

After tinkering,  it can be compiled, I have done it.

>In file included from stdio.h:1,
>		 from version.c:20:
>stdio/stdio.h:167: parse error before `void'
>make: *** [version.o] Error 1

>There is an error with its own stdio/stdio.h?  I don't get it.

 There is change after gcc-2.7.0 how the '__attribute__' things are
handled ...  There are those NORETURN,  CONSTVALUE etc. that must be
moved from the current place to the end of the function prototype,
before the  colon.

>Is there a more recent version of glibc or is there a specific version
>of gcc that will compile glibc?  I didn't see anything in the release
>notes...

 Try gcc-2.6.3, it should compile glibct -1.09 more easily....
glibc-1.10 was promised in the last summers bulletin 'really soon
now', but FSF seems to be now behaving just like M$ with very early
announcings ;-)
Technical Details
Message-ID: <4jci9p$qtb@freenet.hut.fi>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4inkdi$fj5@hardy.jsc.nasa.gov>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,9d079769ead0da66
X-Google-Attributes: gid11318c,public
From: karuottu@freenet.hut.fi (Kai Ruottu)
Subject: Re: Can't get glibc to compile!
Date: 1996/03/27
Message-ID: <4jci9p$qtb@freenet.hut.fi>
X-Deja-AN: 144585543
references: <4inkdi$fj5@hardy.jsc.nasa.gov>
organization: Freenet Finland
newsgroups: gnu.gcc.help