[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: disabling -O on gcc platforms
From: |
Robert Schwebel |
Subject: |
Re: disabling -O on gcc platforms |
Date: |
Sun, 17 Dec 2006 21:35:45 +0100 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
Chris,
On Sun, Dec 17, 2006 at 06:26:41PM +0000, Christoph Rupp wrote:
> This weekend, i migrated my project
> (http://freshmeat.net/projects/hamsterdb/) from scons to autotools. It
> was quite easy.
>
> However, i have one problem, and after searching the web and the
> autoconf mailing list, i did found some results, but it was not exactly
> what i needed. The problem is that if my library is compiled with gcc <
> 4.1.1, then EVERY optimization flag (even -O0) breaks the library. I
> therefore have to completely get rid of optimization if an older gcc is
> used.
Well, your problem seems not to be the autoconf stuff but the reason why
the optimization breaks the library. Is your current work-in-progress
version available somewhere?
Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hannoversche Str. 2, 31134 Hildesheim, Germany
Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9