delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/28/12:24:05

From: pavenis AT lanet DOT lv
Message-ID: <B0000096313@stargate.astr.lu.lv>
To: ilse=lindemann AT rz DOT hu-berlin DOT de, djgpp AT delorie DOT com
Date: Wed, 28 Jul 1999 19:23:47 +0300
MIME-Version: 1.0
Subject: Re: DJGPP 2.8.1
In-reply-to: <vines.xjdD+UjlbrA@hub-rz-kommode1.rz.hu-berlin.de>
X-mailer: Pegasus Mail for Win32 (v3.11)
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

At first I was not able to reproduce this problem with gcc-2.8.1 and
binutils-2.8.1). I never have seen similar messages from linker also.

When I tried to compile example with gcc-2.95 prerelease compiler 
rejected the source as second 'try { ... }' was not followed by catch.

I suggest to compile this source using option -v and redirect stderr 
also to file and post it here.

	redir -eo gcc -v ....  >msg.lst

and post msg.lst here (put what You need instead of ...)


Andris

On 28 Jul 99, at 16:04, ilse=lindemann AT rz DOT hu-berlin DOT de wrote:

> Hallo,
> yesterday I installed DJGPP 2.8.1 for Windows95/98. I unzipped 
> the following
> files
>  v2/copying.dj             v2apps/rhide14b.zip      	
> v2gnu/bnu281b.zip
>  v2/djdev202.zip                                	 	
> v2gnu/gcc281b.zip
>  v2/faq211b.zip                                 		
> v2gnu/gdb416b.zip
>  v2/readme.1st                                 		
> v2gnu/gpp281b.zip
>                                                     		
> v2gnu/lgp2811b.zip
>                                                 		
> v2gnu/mak377b.zip
>                                                			
> v2gnu/txi312b.zip
> into my directory N:\ILSE\GNU281. 
> Because I used winzip I have got long filenames
> (e.g. I looked for the file include/sys/sysmacros.h). ok.
> 
> set PATH=...
> set DJGPP=...   is set in set281.bat (before calling DJGPP, 
> instead of autoexec.bat). 
> 
> For calling DJGPP I have a link/icon on my desktop:
>       calling d.: N:\ILSE\GNU281\BIN\rhide.exe C:\E\C
>       working d.: N:\ILSE\GNU281\BIN
>       batch-file: N:\ilse\GNU281\set281.bat                
> 
> The first problem "cannot open -lstdcx" is solved in making 
> rhide.env 
> 
> Some of C++-examples work correctly now with the compiler 
> options  -pedantic -Wall: swap_tem.cpp		ok
> dyn_cast.cpp     -frtti		ok
> but s128a.cc       -fexceptions    doesn't work. The Compiler 
> says: no errors, but the Linker
> writes:   didn't find handler for EH region 313 (twice)
>              didn't find handler for EH region 324 (twice)
>              region exists, no handler 313
>              region exists, no handler 324
> If I go from RHIDE to DOS and call then 
>          gxx -fexceptions -o s128 s128.cc
> I get the same errors, too.
> 
> I 've read some FAQs, but I couldn't find out the reason of this 
> linker error.
> Please, can you help me? I look forward to hearing from you.
> Thank you and kind regards,
> Ilse
> 
> PS: attached files: set281.bat, rhide.env, djgpp.env, s128a.cc 
> ,dyn_cast.cpp, swap_tem.cpp
>                         
> 
> 
> 
> 


- Raw text -


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