delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/14/02:15:17

From: Rob Kramer <robk AT starhub DOT net DOT sg>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Building a gcc 3.2.2 cross compiler..
Date: Mon, 14 Apr 2003 14:14:41 +0800
Organization: Singapore Telecommunications Ltd
Lines: 27
Message-ID: <b7diul$m6v$1@mawar.singnet.com.sg>
References: <3e979062 AT news DOT starhub DOT net DOT sg> <3e997711 AT news DOT starhub DOT net DOT sg> <200304140827 DOT 32028 DOT pavenis AT latnet DOT lv>
NNTP-Posting-Host: 203.125.62.93
Mime-Version: 1.0
User-Agent: KNode/0.7.2
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi Andris,

Thanks for your help. I'm now using the gcc322s.zip package, so I don't have
to use the unpack scripts. It seems to compile just fine now..

I noticed the following bit in gcc/config/i386/djgpp.h.diff:

+/*  I'm not sure whether the follwing is correct.
+    Setting DBX_REGISTER_NUMBER only as below breaks C++ exceptions
+    when -gdwarf-2 is being used. Maybe setting DWARF_FRAME_REGNUM
+    could help. I don't know  (AP, 2002/02/01) */
+#undef DBX_REGISTER_NUMBER
+#define DBX_REGISTER_NUMBER(n) \
+  ((write_symbols == DWARF2_DEBUG) ? svr4_dbx_register_map[n] :
dbx_register_ma
p[n])
+
+#undef DWARF_FRAME_REGNUM
+#define DWARF_FRAME_REGNUM(n) dbx_register_map[n]

Is there still some issue with exceptions? Couldn't find anything on this in
the mail archives..

Cheers!

   Rob

- Raw text -


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