🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6395

strtoul absent in gcc-2.7.1 for g77-5.17

#6395
From: Nico Garcia
Date: Thu, 23 Nov 1995 00:00
22 lines
1495 bytes
This bug has been present in the last few versions of each. g77-5.17,
by default, requires strtoul. This is mentioned in the g77 INSTALL
notes. strtoul is not present in the gcc-2.7.1 libraries, but in
libiberty from other software distributions, such as libg++. 

The problem is, g77 needs it at compilation time and doesn't have the
right flags and libraries to get it. And relying on the distribution
of libg++ and others to all use and install libiberty consistently is
a shade unreliable.

So, should the g77 configure check for the existence of strtoul and
set compilation flags accordingly? Or should a copy of libiberty go
into the gcc libraries? Or what? The current g77 workaround is to use
a different, untested version of strtoul compiled into its code, and
this does not seem right. strtoul should be same function no matter
what program calls it, if possible.

			Nico Garcia
			Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul%eplunix.uucp@eddie.mit.edu
Technical Details
Message-ID: <9511231632.AA04822@cirl.meei.harvard.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: 113d02,ab6c3d3b2c201dea,start
X-Google-Attributes: gid113d02,public
From: raoul@cirl.meei.harvard.edu (Nico Garcia)
Subject: strtoul absent in gcc-2.7.1 for g77-5.17
Date: 1995/11/23
Message-ID: <9511231632.AA04822@cirl.meei.harvard.edu>
X-Deja-AN: 120031659
distribution: gnu
sender: daemon@cis.ohio-state.edu
organization: GNUs Not Usenet
reply-to: eplunix!cirl.meei.harvard.edu!raoul@eddie.mit.edu
newsgroups: gnu.gcc.bug