Mail Archives: djgpp/1999/07/28/12:24:05
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 -