Re: -march=i686 is minimum for GCC ada
arthur <[email protected]> Fri, 09 Aug 2013 10:59:55 -0400
| Newsgroups | gmane.comp.gnu.mingw.devel |
|---|---|
| Message-ID | <[email protected]> |
FYI: as my build 4.8.0-1 (files under [1]), the pkgbuild.ini has build
as i686-pc-mingw32 (I built on Windows so I think the host and the
target are the same).
Arthur
...
subsys_name=mingw32
build_type=i686-pc-mingw32
...
src_update_notes()
{
if [ -f $basedir/mingw-$pkg_name.RELEASE_NOTES.txt ]; then
mkdir -p $instdir/share/doc/MinGW
cp -p $basedir/mingw-$pkg_name.RELEASE_NOTES.txt \
$instdir/share/doc/MinGW/$pkg_name-$pkg_version-$pkg_build${subsys_name:+-}$subsys_name.RELEASE_NOTES.txt
fi
pack_doc
}
...
src_configure()
{
# Must invoke configure on a relative source directory.
srcdir=../$src_dirname
echo "Configuring..."
cd $builddir &&
$srcdir/configure \
--enable-languages=c,c++,ada,fortran,objc,obj-c++ \
--disable-sjlj-exceptions \
--with-dwarf2 \
--enable-shared \
--enable-libgomp \
--disable-win32-registry \
--enable-libstdcxx-debug \
--enable-version-specific-runtime-libs \
--build=$build_type \
--prefix=/mingw
}
...
[1] http://sourceforge.net/projects/arthurzhang.u/files/mingw/gcc-4.8.0-1/
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk