🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #20137

Re: Compile options for gcc with SNPRINTF_CFLAGS for Solaris

#20137
From: Fred Condo
Date: Sat, 02 Aug 1997 00:00
54 lines
2334 bytes
In article <5rnpbu$hgq@solaris.cna.tek.com>, frankm@solaris.cna.tek.com
(Frank 'Scruffy' Miller) wrote:

>Was doing an upgrade from 1.5.1 to 1.5.1sec with standard working hours
>to 1am when I ran into compile errors for gcc 2.7.2.2  for libsnprintf.a
>for Solaris 2.5.1.  Has anyone the gcc compile flags out?  
>
>I'll be able to touch this again tonight and will work it out then, but 
>lazyness, err, knowledge sharing, has it's virtues.
>
>Thanks, and back to Veratas madness.
>
>-- 
>----------------------------------------------------------------
>Frank Miller                     |    frankm@master.cna.tek.com
>Technical Computing Group Leader |    "Laugh while you can, 
>Tektronix CNA Division           |    monkey-boy!!!!"

Here is how I got libsnprintf.a to compile. I left the compile flags
blank, and made this change:

*** vfprintf.c-dist     Sat Aug  2 09:27:19 1997
--- vfprintf.c  Fri Aug  1 10:03:13 1997
***************
*** 68,74 ****
  #include "fvwrite.h"
  
  /* Define FLOATING_POINT to get floating point. */
! #define       FLOATING_POINT
  
  /*
   * Flush out all the vectors defined by the given uio,
--- 68,74 ----
  #include "fvwrite.h"
  
  /* Define FLOATING_POINT to get floating point. */
! #undef        FLOATING_POINT
  
  /*
   * Flush out all the vectors defined by the given uio,


This is on SunOS rain 5.5.1 Generic sun4u sparc SUNW,Ultra-1

gcc version is 2.7.2.1

-- 
http://www.lightside.net/~fred/ + net access + http://www.lightside.net/
"Attempts to control the use of encryption technology are wrong in
principle, unworkable in practice, and damaging to the long term economic
value of the information networks." - UK Labour Party

Technical Details
Message-ID: <fred-0208970929140001@appenzell.lightside.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <5rnpbu$hgq@solaris.cna.tek.com>

Show Full Headers
Complete Article Headers
Message-ID: <fred-0208970929140001@appenzell.lightside.net>
Subject: Re: Compile options for gcc with SNPRINTF_CFLAGS for Solaris
Date: Sat, 02 Aug 1997 00:00:00 +0000
From: fred@lightside.net (Fred Condo)
References: <5rnpbu$hgq@solaris.cna.tek.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 261839162
Distribution: inet
Organization: Lightside, Inc.
Newsgroups: news.software.nntp