This is the mail archive of the
cygwin
mailing list for the Cygwin project.
g++ -m32 option causes an error
- From: Arthur Schwarz <aschwarz1309 at att dot net>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Fri, 18 Oct 2013 15:38:13 -0700 (PDT)
- Subject: g++ -m32 option causes an error
- Authentication-results: sourceware.org; auth=none
- References: <bug-58799-23798 at http dot gcc dot gnu dot org/bugzilla/> <bug-58799-23798-jpgPVpVU2B at http dot gcc dot gnu dot org/bugzilla/> <1382135640 dot 94420 dot YahooMailNeo at web181306 dot mail dot ne1 dot yahoo dot com>
- Reply-to: Arthur Schwarz <aschwarz1309 at att dot net>
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