🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52055

How to generalise Imakefile with gcc to work across platforms

#52055
From: Tim Liddelow
Date: Thu, 25 Feb 1993 03:25
17 lines
1713 bytes
I have an Imakefile that works fine on our SUNs with CC = gcc.
However, when going to an SGI box, the CCOPTIONS macro in the Makefile
causes gcc to barf, as some of the options are only recognised by the local 
compiler.  I realise that you do _need_ local options for local C compilers,
but what if you want to generalise with gcc ?  If I change CCOPTIONS on the SUN
side, that causes vital local info to be lost.  Any solutions ?

Tim.
-- 
________________________________________________________________________________
  Tim Liddelow                                          for(;;) fork();
  Systems Programmer
  Centre of Advanced Technology in Telecommunications   My brain on a bad day.
  CITRI, Melbourne, Australia                           
  internet : tim@kimba.catt.citri.edu.au                
  Phone : +61 3 282 2455   Fax : +61 3 282 2444	        
________________________________________________________________________________
Technical Details
Message-ID: <1993Feb25.032538.18227@etrog.se.citri.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!howland.reston.ans.net!usc!sdd.hp.com!saimiri.primate.wisc.edu!caen!batcomputer!munnari.oz.au!metro!dmssyd.syd.dms.CSIRO.AU!its.csiro.au!mel.dit.csiro.au!etrog!kimba.catt.citri.edu.au!tim

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,3c472910f39843ef,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-02-24 19:25:38 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!howland.reston.ans.net!usc!sdd.hp.com!saimiri.primate.wisc.edu!caen!batcomputer!munnari.oz.au!metro!dmssyd.syd.dms.CSIRO.AU!its.csiro.au!mel.dit.csiro.au!etrog!kimba.catt.citri.edu.au!tim
From: tim@kimba.catt.citri.edu.au (Tim Liddelow)
Subject: How to generalise Imakefile with gcc to work across platforms
Message-ID: <1993Feb25.032538.18227@etrog.se.citri.edu.au>
Sender: tim@kimba (Tim Liddelow)
Organization: CATT Centre at CITRI, Melbourne, Australia
Date: Thu, 25 Feb 93 03:25:38 GMT
Lines: 17