delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/05/17:32:49

From: Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Rebuilding patched gcc2721 -- ld.exe problem?
Date: Mon, 01 Sep 1997 13:16:56 +0200
Organization: University of Ghent, Belgium
Lines: 21
Message-ID: <340AA428.390A@rug.ac.be>
References: <340a406a DOT 11832714 AT snews DOT zippo DOT com>
NNTP-Posting-Host: eduserv1.rug.ac.be
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Peter J. Farley III wrote:
> 
> I noted that all of the compile steps use the "-g" switch.  Is this
> part of (or the root of) the problem?
> 

Yes, change in makefile:
CFLAGS = -g
to
CFLAGS = -O2

It might also work when you wrote "-g1" instead of "-g" but I haven't
verified this.

I don't think this problem exists with stabs debugging format, but since
you've first to build a compiler to support this...

-- 
+----------------+
| Vik Heyndrickx |
+----------------+

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019