This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: *bsd & darwin support in libiberty/physmem.c


 > From: Richard Earnshaw <rearnsha at arm dot com>
 > > 
 > > Nearly, but it still contains a GCCism.  IIRC you can't initialize an 
 > > automatic array during a declartion in ISO C90.
 > > 
 > > Here's a further slight revision which works OK on NetBSD/arm.  I've also 
 > > included a missing Makefile dependency on config.h and libiberty.h
 > > 
 > > R.
 > > 
 > 
 > To echo Geoff's cry of anguish... Aargggggghhhhhh!
 > 
 > You get a better measure of the amount of available memory if you ask for 
 > the available memory rather than the page size...
 > R.

Thanks. :-)

Since it works on netbsd and darwin I checked it in.  I'd still like
to hear from freebsd/openbsd just in case, and to make sure I didn't
fumble the checkin.

		Thanks,
		--Kaveh
--
Kaveh R. Ghazi			ghazi at caip dot rutgers dot edu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]