g++ -m32 option causes an error

Arthur Schwarz aschwarz1309@att.net
Fri Oct 18 22:38:00 GMT 2013





The following e-mails show the nature of the error. The claim by the gcc developers is that g++ (GCC) 4.8.1 was not built correctly.  No error occurs during compilation with i686-pc-mingw32-g++ (GCC) 4.7.3. Of course I can't load or execute  because of:


/c/home/skidmarks/Projects/SLIP/slip/dist/Debug/MinGW64-Windows/slip.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory

If this is not a cygwin issue (but is an issue) I will redirect the e-mail.


art


----- Forwarded Message -----
From: pinskia at gcc dot gnu.org <gcc-bugzilla@gcc.gnu.org>
Subject: [Bug target/58799] -mx32 causes a fatal internal error during a Netbeans compile


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58799

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to aschwarz1309 from comment #2)
> -m32 generates the following error. The output is copied from the Netbeans
> IDE output window.

That means the compiler you have installed does not have the multi-lib'ed
support for 32bits.  Please report that bug to where you got GCC.

-- 
You are receiving this mail because:
You reported the bug.

    * Arthur Schwarz   
    * 

To
    * pinskia at gcc dot gnu.org     
-m32 generates the following error. The output is copied from the Netbeans IDE output window.

g++
-w -m32   -c -g -MMD -MP -MF 
build/Debug/Cygwin-Windows/SlipCellBase.o.d -o 
build/Debug/Cygwin-Windows/SlipCellBase.o SlipCellBase.cpp
In file included from /usr/lib/gcc/x86_64-pc-cygwin/4.8.1/include/c++/bits/stl_algo.h:59:0,
                 from /usr/lib/gcc/x86_64-pc-cygwin/4.8.1/include/c++/algorithm:62,
                 from SlipCellBase.cpp:12:
/usr/lib/gcc/x86_64-pc-cygwin/4.8.1/include/c++/cstdlib:178:10: error: expected unqualified-id before ‘__int128’
   inline
__int128
          ^
nbproject/Makefile-Debug.mk:118: recipe for target `build/Debug/Cygwin-Windows/SlipCellBase.o' failed

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list