Hello,

I would like to ask about some issue which I found some problems during my
attempt of GCC cross compilation on ARM target.

I am using i686-w64-mingw32-gcc 5.3.0 in MinGW-w64 Win32 Shell

export CFLAGS='-O2 -pipe -I/mingw32/i686-w64-mingw32/include'
export CXXFLAGS='-O2 -pipe -I/mingw32/i686-w64-mingw32/include'
export LDFLAGS='-s -L/mingw32/i686-w64-mingw32/lib'

here is my configuration script for GCC
$SRCDIR/configure --enable-languages=c,c++ --without-headers
--target=$target --host=$host --build=$build --prefix=$prefix
--enable-twoprocess --enable-poison-system-directories --enable-interwork
--enable-multilib --enable-lto --disable-shared --disable-threads
--disable-libmudflap --disable-libssp --disable-libstdcxx-pch
--disable-win32-registry --disable-libgomp --disable-nls --disable-libffi
--disable-libssp --with-gcc --with-gnu-as --with-gnu-ld --with-newlib
--with-stabs '--with-host-libstdcxx=-static-libgcc
-Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-gmp=$prefixlocal
--with-mpfr=$prefixlocal --with-mpc=$prefixlocal  --with-ppl=$prefixlocal
--with-cloog=$prefixlocal --with-sysroot=$prefix

here is my configuration script for newlib

export CFLAGS='-ffunction-sections -fdata-sections'
$SRCDIR/configure --target=$target --prefix=$prefix --enable-multilib
--enable-interwork --enable-newlib-io-long-long
--disable-newlib-multithread --disable-libgloss
--disable-newlib-supplied-syscalls --disable-nls --with-gmp=$prefixlocal
--with-mpfr=$prefixlocal --with-mpc=$prefixlocal --with-ppl=$prefixlocal
--with-cloog=$prefixlocal --with-sysroot=$prefix

During compilation of newlib I got many warnings of implicit functions
: _fork, _isatty, _times, _unlink, _execve, _link, _write, _read and so
on...

Could you please help me with that?

Thank you very much in advance.
Mirek
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to