delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/11/02/12:05:47

Message-Id: <199811021658.SAA17228@ieva06.lanet.lv>
From: "Andris Pavenis" <pavenis AT lanet DOT lv>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Date: Mon, 2 Nov 1998 18:57:44 +0200
MIME-Version: 1.0
Subject: Re: djdev202
CC: djgpp-workers AT delorie DOT com
References: <199811021011 DOT IAA32376 AT ieva06 DOT lanet DOT lv>
In-reply-to: <Pine.SUN.3.91.981102130203.11877A-100000@is>
X-mailer: Pegasus Mail for Win32 (v3.01b)
Reply-To: djgpp-workers AT delorie DOT com

Date sent:      	Mon, 2 Nov 1998 13:04:41 +0200 (IST)
From:           	Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Subject:        	Re: djdev202

> 
> On Mon, 2 Nov 1998, Andris Pavenis wrote:
> 
> > For example under Linux there is no analogous file (as djgpp.djl for DJGPP). 
> > Ideally it would be enough to have correct default linker scripts in binutils.
> 
> If this could be done, I think we should do it.  The current setup with 
> the linker script belongs to the days when a new DJGPP version always 
> went together with GCC and Binutils.  This is no longer so.
> 
> > crtf.o is alien to gcc and egcs (included additionally specially for DJGPP). 
> > crtbegin.o and crtend.o are generated from crtstuff.c which is in standard gcc
> > (and egcs) source archives.
> 
> In that case, I agree that it's better to switch.

Tried with egcs-2.91.58 19981101 (egcs-1.1.1-prerelease). 

Another thing: I see that egcs-1.1.1-prerelease still doesn't fix egcs
exceptions problems (the same example I posted some time ago)

Andris

-----------------------------------------
Reading specs from c:/djgpp/lib/gcc-lib/djgpp/egcs-291.58/specs
gcc version egcs-2.91.58 19981101 (egcs-1.1.1 pre-release)
 c:/djgpp/lib/gcc-lib/djgpp/egcs-291.58/cpp.exe -lang-c++ -v -isystem 
c:/djgpp/bin/include -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -
D__GNUC_MINOR__=91 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -
D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -
D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -Asystem(unix) -
Asystem(msdos) -Acpu(i386) -Amachine(i386) -D__EXCEPTIONS -
D__OPTIMIZE__ xxx.cc E:/ccaAwjnI.ii
GNU CPP version egcs-2.91.58 19981101 (egcs-1.1.1 pre-release) (80386, 
BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 c:/djgpp/contrib/grx23/include
 c:/djgpp/lang/cxx
 c:/djgpp/lib/gcc-lib/djgpp/egcs-291.58/include
 c:/djgpp/include
End of search list.
 c:/djgpp/lib/gcc-lib/djgpp/egcs-291.58/cc1plus.exe E:/ccaAwjnI.ii -quiet -
dumpbase xxx.cc -O2 -version -o E:/cc4OeWWF.s
GNU C++ version egcs-2.91.58 19981101 (egcs-1.1.1 pre-release) (djgpp) 
compiled by GNU C version egcs-2.91.57 19980901 (egcs-1.1 release).
 c:/djgpp/bin/as.exe -o E:/cclriJT8.o E:/cc4OeWWF.s
 c:/djgpp/lib/gcc-lib/djgpp/egcs-291.58/collect2.exe -o xxx.exe 
c:/djgpp/lib/gcc-lib/djgpp/egcs-291.58/crtbegin.o c:/djgpp/lib/crt0.o -L. -
Lc:/djgpp/lib/gcc-lib/djgpp/egcs-291.58 -Lc:/djgpp/bin -Lc:/djgpp/lib 
E:/cclriJT8.o -lstdcxx -lgcc -lc -lgcc c:/djgpp/lib/gcc-lib/djgpp/egcs-
291.58/crtend.o -Tdjgpp.djl
 c:/djgpp/bin/stubify.exe -v xxx.exe
stubify for djgpp V2.X executables, Copyright (C) 1995 DJ Delorie
stubify: xxx.exe -> xxx.000 -> xxx.exe
--------------------------------------------------------------------
C:\tmp>xxx.exe
catched from x1()
----------------
catched from x1b()
----------------
catched from x1a()
----------------
Abort!
Exiting due to signal SIGABRT
Raised at eip=0001671e
eax=0029bd08 ebx=00000120 ecx=00000000 edx=00015500 esi=0029bec4 
edi=0029bfa4
ebp=0029bdb4 esp=0029bd04 program=C:\TMP\XXX.EXE
cs: sel=00af  base=82ebb000  limit=0029bfff
ds: sel=00b7  base=82ebb000  limit=0029bfff
es: sel=00b7  base=82ebb000  limit=0029bfff
fs: sel=0087  base=00015500  limit=0000ffff
gs: sel=00c7  base=00000000  limit=0010ffff
ss: sel=00b7  base=82ebb000  limit=0029bfff
App stack: [0029c000..0021c000]  Exceptn stack: [0002de3c..0002befc]

Call frame traceback EIPs:
  0x00016640   ___djgpp_traceback_exit+48
  0x0001671e   _raise+94
  0x00015b07   _abort+27
  0x000118b1   _copy_reg+101, line 0 of libgcc2.c
  0x00011ba8   ___throw+672, line 0 of libgcc2.c
  0x000016c7   _x2__Fv+35
  0x00013bfa   ___crt1_startup+174

C:\tmp>symify xxx.exe


- Raw text -


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