🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49677

Re: problems compiling gcc on hpux 9.01 with gas

#49677
From: Jeff Law
Date: Thu, 13 Jan 1994 16:04
30 lines
1935 bytes
In article <11776@blue.cis.pitt.edu> hahn@cortex.lrdc.pitt.edu (mark hahn) writes:
>from looking at the differences, it's apparent that hpux needs
>the "-save-temps" flag if you're doing to do "make compare".
>the INSTALL file mentions this flag only for for osf1 and Irix.
No. GCC does not need or want -save-temps for the PA.  There was a minor
buglet in GCC which showed up when using the new assembler in conjunction with
gcc -g.

Here's the patch that's already been installed into the FSF sources

	* pa.h (ASM_FILE_START): Emit a .file directive at the beginning
	of the output file if debug symbols are being generated.

*** /tmp/RCSA028811	Mon Dec 13 23:04:42 1993
--- pa.h	Mon Dec 13 22:58:53 1993
***************
*** 1574,1579 ****
--- 1574,1581 ----
  \t.IMPORT $$dyncall,MILLICODE\n");\
       if (profile_flag)\
         fprintf (FILE, "\t.IMPORT _mcount, CODE\n");\
+      if (write_symbols != NO_DEBUG) \
+        output_file_directive ((FILE), main_input_filename); \
     } while (0)
  
  /* Output to assembler file text saying following lines
-- 
From a sign off I80 in Nevada:
			    Next Exit Freedom Valley
			  No Hitchhiking   Prison Area
Technical Details
Message-ID: <1994Jan13.090423.22352@hellgate.utah.edu>
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!agate!dog.ee.lbl.gov!hellgate.utah.edu!snake.cs.utah.edu!law
References: <EJH.94Jan10120216@larry.gsfc.nasa.gov> <11776@blue.cis.pitt.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,96173c855c5f50b3
X-Google-Attributes: gid11318c,public
X-Google-Thread: fcda7,96173c855c5f50b3
X-Google-Attributes: gidfcda7,public
X-Google-ArrivalTime: 1994-01-13 12:07:32 PST
Newsgroups: gnu.gcc.help,comp.sys.hp.hpux
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!agate!dog.ee.lbl.gov!hellgate.utah.edu!snake.cs.utah.edu!law
From: law%snake.cs.utah.edu@cs.utah.edu (Jeff Law)
Subject: Re: problems compiling gcc on hpux 9.01 with gas
Date: 13 Jan 94 09:04:21 MST
Message-ID: <1994Jan13.090423.22352@hellgate.utah.edu>
Organization: University of Utah CS Dept
References: <EJH.94Jan10120216@larry.gsfc.nasa.gov> <11776@blue.cis.pitt.edu>
Lines: 30