Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » ms not supported with X32 ABI(compile error)
ms not supported with X32 ABI [message #1837990] Fri, 12 February 2021 08:34 Go to next message
AngryBinary . is currently offline AngryBinary .Friend
Messages: 2
Registered: February 2021
Junior Member
Hi,
I have an error while trying to compile c++ code:
g++ -DDLL_EXPORT -D_DEBUG 
"-IC:\\Projects\\Eclipse\\src_cg_priv" 
"-IC:\\Projects\\Eclipse\\src_odk_helpers" 
"-IC:\\Projects\\Eclipse\\misc" 
"-IC:\\Projects\\Eclipse\\src"
"-IC:\\Projects\\Eclipse\\logging" 
"-IC:\\Projects\\Eclipse\\Include" 
"-IC:\\Projects\\Eclipse\\Source" 
"-IC:\\Projects\\Eclipse\\debug_mode" 
"-IC:\\Projects\\Eclipse\\debug_mode\\console" 
"-IC:\\Projects\\Eclipse\\debug_mode\\helpers" 
"-IC:\\Projects\\Eclipse\\debug_mode\\Snap7" 
-O0 -g3 -Wall -c -fmessage-length=0 -mx32 --no-use-cxa-atexit -o "debug_mode\\console\\console_helper.o" "..\\debug_mode\\console\\console_helper.cpp" 
cc1plus.exe: error: -mabi=ms not supported with X32 ABI
cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in



OS Win 64 bit.
Compiler:
C:\>g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=C:/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/../libexec/gcc/i686-w64-mingw32/8.1.0/lto-wrapper.exe
Target: i686-w64-mingw32
Configured with: ../../../src/gcc-8.1.0/configure --host=i686-w64-mingw32 --build=i686-w64-mingw32 --target=i686-w64-mingw32 --prefix=/mingw32 --with-sysroot=/c/mingw810/i686-810-posix-dwarf-rt_v6-rev0/mingw32 --enable-shared --enable-static --disable-multilib --enable-languages=c,c++,fortran,lto --
enable-libstdcxx-time=yes --enable-threads=posix --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --disable-sjlj-exceptions --with-dwarf2 --disable-libstdcxx-pch --disable-libstdcxx-debug
 --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=i686 --with-tune=generic --with-libiconv --with-system-zlib --with-gmp=/c/mingw810/prerequisites/i686-w64-mingw32-static --with-mpfr=/c/mingw810/prere
quisites/i686-w64-mingw32-static --with-mpc=/c/mingw810/prerequisites/i686-w64-mingw32-static --with-isl=/c/mingw810/prerequisites/i686-w64-mingw32-static --with-pkgversion='i686-posix-dwarf-rev0, Built by MinGW-W64 project' --with-bugurl=sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe
-fno-ident -I/c/mingw810/i686-810-posix-dwarf-rt_v6-rev0/mingw32/opt/include -I/c/mingw810/prerequisites/i686-zlib-static/include -I/c/mingw810/prerequisites/i686-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -fno-ident -I/c/mingw810/i686-810-posix-dwarf-rt_v6-rev0/mingw32/opt/include -I/c/mingw81
0/prerequisites/i686-zlib-static/include -I/c/mingw810/prerequisites/i686-w64-mingw32-static/include' CPPFLAGS=' -I/c/mingw810/i686-810-posix-dwarf-rt_v6-rev0/mingw32/opt/include -I/c/mingw810/prerequisites/i686-zlib-static/include -I/c/mingw810/prerequisites/i686-w64-mingw32-static/include' LDFLAGS
='-pipe -fno-ident -L/c/mingw810/i686-810-posix-dwarf-rt_v6-rev0/mingw32/opt/lib -L/c/mingw810/prerequisites/i686-zlib-static/lib -L/c/mingw810/prerequisites/i686-w64-mingw32-static/lib -Wl,--large-address-aware'
Thread model: posix
gcc version 8.1.0 (i686-posix-dwarf-rev0, Built by MinGW-W64 project)


Eclipse:
index.php/fa/39989/0/
Proces stops at first source file. It was working before, but now it does not enymore.
I have two build setups. This started when I excluded some source files from one of the build. It did not return to normal after including those files back into both build.
Any ideas/comments what could have gone wrong or how to fix this?
  • Attachment: eclipse.jpg
    (Size: 50.28KB, Downloaded 347 times)
Re: ms not supported with X32 ABI [message #1838076 is a reply to message #1837990] Mon, 15 February 2021 13:09 Go to previous messageGo to next message
Mark Smith is currently offline Mark SmithFriend
Messages: 82
Registered: September 2020
Member
Please check this one
https://stackoverflow.com/questions/32675300/how-to-detect-x32-on-windows
Re: ms not supported with X32 ABI [message #1838121 is a reply to message #1838076] Tue, 16 February 2021 16:27 Go to previous message
AngryBinary . is currently offline AngryBinary .Friend
Messages: 2
Registered: February 2021
Junior Member
Thanks for reply.

After removing -mx32 switch I can compile again without problems.
But this is very strange - everything was working fine for quite a while and one day it is suddenly broken, I did not update compiler or Eclipse or change compilation settings.
Previous Topic:Best C++ compiler for complete beginner
Next Topic:Linking GLFW libs to project
Goto Forum:
  


Current Time: Fri Apr 19 11:21:28 GMT 2024

Powered by FUDForum. Page generated in 0.02637 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top