comp.lang.ada
 help / color / mirror / Atom feed
From: Stefan Bellon <sbellon@sbellon.de>
Subject: Re: Exception propagation with optimization flags
Date: Wed, 4 Oct 2006 18:33:19 +0200
Date: 2006-10-04T18:33:19+02:00	[thread overview]
Message-ID: <20061004183319.09f5706c@cube.tz.axivion.com> (raw)
In-Reply-To: 1159968673.163378.15830@m7g2000cwm.googlegroups.com

ldb wrote:

> gnatmake -fomit-frame-pointer -O2 super.adb (doesn't work)
> gnatmake -fomit-frame-pointer -O1 super.adb (works)
> gnatmake -O2 super.adb (works)

I recently had a similar problem on Solaris 8 using the GNU ld/as
instead of the Sun ones. In that case, static linking didn't catch
exceptions. However when I added "-bargs -shared" to the gnatmake call,
the exceptions were caught again. Using the Sun ld/as instead of the
GNU ld/as however catches exceptions regardless of whether linking
-static or -shared.

-- 
Stefan Bellon



      parent reply	other threads:[~2006-10-04 16:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-03 22:18 Exception propagation with optimization flags ldb
2006-10-04 12:36 ` Stephen Leake
2006-10-04 13:31   ` ldb
2006-10-04 15:09     ` Georg Bauhaus
2006-10-04 16:33     ` Stefan Bellon [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox