🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51348

Patch for compiling Emacs

#51348
From: Richard Stallman
Date: Mon, 24 May 1993 08:10
46 lines
2421 bytes
If you want to compile Emacs with GCC 2.4.0, I suggest
applying this patch to GCC and rebuilding GCC.

===================================================================
RCS file: /home/fsf/rms/cc/RCS/toplev.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -c -r1.66 -r1.67
*** toplev.c	1993/05/15 14:32:16	1.66
--- toplev.c	1993/05/24 04:31:59	1.67
***************
*** 1819,1832 ****
    ASM_IDENTIFY_LANGUAGE (asm_out_file);
  #endif
  
!   /* dbx on Suns needs to separate gcc_compiled. from first function.
!      We do not test write_symbols because -g should not alter
!      the actual code generated.  */
! #ifndef DBX_DEBUGGING_INFO
    /* Don't let the first function fall at the same address
       as gcc_compiled., if profiling.  */
    if (profile_flag || profile_block_flag)
- #endif
      assemble_zeros (UNITS_PER_WORD);
  
    /* If dbx symbol table desired, initialize writing it
--- 1819,1837 ----
    ASM_IDENTIFY_LANGUAGE (asm_out_file);
  #endif
  
! /* ??? Note: There used to be a conditional here
!    to call assemble_zeros without fail if DBX_DEBUGGING_INFO is defined.
!    This was to guarantee separation between gcc_compiled. and
!    the first function, for the sake of dbx on Suns.
!    However, having the extra zero here confused the Emacs
!    code for unexec, and might confuse other programs too.
!    Therefore, I took out that change.
!    In future versions we should find another way to solve
!    that dbx problem.  -- rms, 23 May 93.  */
! 
    /* Don't let the first function fall at the same address
       as gcc_compiled., if profiling.  */
    if (profile_flag || profile_block_flag)
      assemble_zeros (UNITS_PER_WORD);
  
    /* If dbx symbol table desired, initialize writing it
Technical Details
Message-ID: <9305240801.AA16873@mole.gnu.ai.mit.edu>
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uknet!pipex!uunet!zaphod.mps.ohio-state.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!rms

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,97b065a2deb586a4,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-05-24 01:14:28 PST
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uknet!pipex!uunet!zaphod.mps.ohio-state.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!rms
From: rms@gnu.ai.mit.edu (Richard Stallman)
Newsgroups: gnu.gcc.help
Subject: Patch for compiling Emacs
Date: 24 May 1993 04:10:05 -0400
Organization: GNUs Not Usenet
Lines: 47
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <9305240801.AA16873@mole.gnu.ai.mit.edu>