Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: simon.j.wright@gecm.com (Simon Wright)
Subject: imake & gcc - DU3.2
Date: 1996/03/28	[thread overview]
Message-ID: <SIMON.J.WRIGHT.96Mar28182559@luthien.frlngtn.gmcs.gecm.com> (raw)

I had to make the changes below to get imake not to use cc-style flags
with gcc. This is with `OSF1 V3.2 41 alpha'.

I didn't have to make such changes with `OSF1 V3.0 358.78'.

Is there a fuller `standard' change available? (I know that my changes
are the bare mimimum).

*** osf1.cf	1996/03/25 13:24:36	1.1
--- osf1.cf	1996/03/25 17:36:16
***************
*** 56,62 ****
--- 56,66 ----
  #define BuildMotif		YES
  #define MotifBC YES 	/* fixup Motif assumtion in X & Xt */
  #define StandardDefines 	-DDEC -DR5_XLIB SMTDEFINES
+ #if HasGcc
+ #define LibraryDefines StandardDefines
+ #else
  #define LibraryDefines StandardDefines -Wf,-readonly_strings
+ #endif
  #define BuildSMTExt		YES
  #define BuildXInputExt		YES
  #define BuildXInputLib		YES
***************
*** 186,193 ****
--- 190,201 ----
  #endif /* ! defined(UseInstalled) */
  
  /* --- compiler specific flags --- */
+ #if HasGcc
+ #define OptimizedCDebugFlags	-O2
+ #else
  #define OptimizedCDebugFlags	-O2 -Olimit 2000 
  #define CcCmd cc $(SHAREDSWITCH)
+ #endif
  #define DependFlags  PlatformFlag  -D__osf__ -I -I$(CROSSBASE)/usr/include
  #define ShLibFlags -check_registry $(CROSSBASE)/usr/shlib/so_locations \
  	-L$(CROSSBASE)/usr/shlib -L$(CROSSBASE)/usr/ccs/lib
*** site.def	1996/03/25 13:17:41	1.1
--- site.def	1996/03/25 13:25:51
***************
*** 25,31 ****
  
  #ifdef BeforeVendorCF
  
! /* #define HasGcc YES */
  
  #endif /* BeforeVendorCF */
  
--- 25,31 ----
  
  #ifdef BeforeVendorCF
  
! #define HasGcc YES
  
  #endif /* BeforeVendorCF */
  
-- 
Simon Wright                                          (G-net) +842-1778
Ferranti Naval Systems                        (voice) +44(0)1705-701778
GEC-Marconi S3I Combat Systems Division         (fax) +44(0)1705-701800




                 reply	other threads:[~1996-03-28  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox