Re: gcc 4.8.0 Ada error
arthur <[email protected]> Tue, 09 Apr 2013 17:00:12 -0400
| Newsgroups | gmane.comp.gnu.mingw.devel |
|---|---|
| Message-ID | <[email protected]> |
On 09/04/2013 4:27 PM, Keith Marshall wrote:
> ... You should *never*, under any
> circumstances, muck about within an autoconf generated configure script
> with a text editor, (which is what I assume you mean by "use configure"
> as an alternative to setting CFLAGS).
>
FYI: I am testing with the configure below (added: --with-arch=i486
--with-tune=i686).
I will use CFLAGS if this doesn't work. Thanks.
src_configure()
{
# Must invoke configure on a relative source directory.
srcdir=../$src_dirname
echo "Configuring..."
cd $builddir &&
# Using --disable-build-poststage1-with-cxx, because the Ada build
# currently breaks when built with a C++ compiler.
$srcdir/configure \
--enable-languages=c,c++,ada,fortran,objc,obj-c++ \
--with-arch=i486 --with-tune=i686 \
--disable-sjlj-exceptions \
--with-dwarf2 \
--enable-shared \
--enable-libgomp \
--disable-win32-registry \
--enable-libstdcxx-debug \
--disable-build-poststage1-with-cxx \
--enable-version-specific-runtime-libs \
--build=mingw32 \
--prefix=/mingw
}
http://gcc.gnu.org/install/configure.html
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter