#64 support -finline-functions

closed-works-for-me
nobody
None
5
2014-05-09
2014-05-09
Jim Michaels
No

using the switch -finline-functions causes an error.

Using built-in specs.
COLLECT_GCC=f:\x86_64-4.9.0-release-win32-sjlj-rt_v3-rev1\mingw64\bin\g++.exe
COLLECT_LTO_WRAPPER=f:/x86_64-4.9.0-release-win32-sjlj-rt_v3-rev1/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.9.0/lto-wrapper.ex
e
g++.exe: error: unrecognized command line option '-inline-functions'
Target: x86_64-w64-mingw32
Configured with: ../../../src/gcc-4.9.0/configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 -
-prefix=/mingw64 --with-sysroot=/c/mingw490/x86_64-490-win32-sjlj-rt_v3-rev1/mingw64 --with-gxx-include-dir=/mingw64/x86_64-w64-ming
w32/include/c++ --enable-shared --enable-static --enable-targets=all --enable-multilib --enable-languages=ada,c,c++,fortran,objc,obj
-c++,lto --enable-libstdcxx-time=yes --enable-threads=win32 --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --ena
ble-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --enable-sjlj-exceptions --disable-isl-ver
sion-check --disable-cloog-version-check --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disa
ble-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch-32=i686 --with-arch-64=n
ocona --with-tune-32=generic --with-tune-64=core2 --with-libiconv --with-system-zlib --with-gmp=/c/mingw490/prerequisites/x86_64-w64
-mingw32-static --with-mpfr=/c/mingw490/prerequisites/x86_64-w64-mingw32-static --with-mpc=/c/mingw490/prerequisites/x86_64-w64-ming
w32-static --with-isl=/c/mingw490/prerequisites/x86_64-w64-mingw32-static --with-cloog=/c/mingw490/prerequisites/x86_64-w64-mingw32-
static --enable-cloog-backend=isl --with-pkgversion='x86_64-win32-sjlj-rev1, Built by MinGW-W64 project' --with-bugurl=http://source
forge.net/projects/mingw-w64 CFLAGS='-O2 -pipe -I/c/mingw490/x86_64-490-win32-sjlj-rt_v3-rev1/mingw64/opt/include -I/c/mingw490/prer
equisites/x86_64-zlib-static/include -I/c/mingw490/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -I/c/mingw49
0/x86_64-490-win32-sjlj-rt_v3-rev1/mingw64/opt/include -I/c/mingw490/prerequisites/x86_64-zlib-static/include -I/c/mingw490/prerequi
sites/x86_64-w64-mingw32-static/include' CPPFLAGS= LDFLAGS='-pipe -L/c/mingw490/x86_64-490-win32-sjlj-rt_v3-rev1/mingw64/opt/lib -L/
c/mingw490/prerequisites/x86_64-zlib-static/lib -L/c/mingw490/prerequisites/x86_64-w64-mingw32-static/lib'
Thread model: win32
gcc version 4.9.0 (x86_64-win32-sjlj-rev1, Built by MinGW-W64 project)

Discussion

  • Jonathan Yong
    Jonathan Yong
    2014-05-09

    • status: open --> closed-works-for-me
     
  • Jonathan Yong
    Jonathan Yong
    2014-05-09

    Your error message betrays the true command line you used.
    -finline-functions, not -inline-functions, not the "f".