g++ -m32 option causes an error
Warren Young
warren@etr-usa.com
Fri Oct 18 22:50:00 GMT 2013
On 10/18/2013 16:38, Arthur Schwarz wrote:
>
> No error occurs during compilation with i686-pc-mingw32-g++ (GCC) 4.7.3.
Why are you using both -m32 *and* a cross-compiler? If you're running
64-bit Cygwin and need to make a 32-bit Cygwin program, use the
cross-compiler. Passing -m32 to the 32-bit Cygwin compiler shouldn't be
necessary.
I wouldn't expect -m32 to work for Cygwin since it's not like other
64-bit *ixes where 32-bit programs are expected to work side-by-side
with 64-bit ones. So, while any problem in -m32 handling could
doubtless be fixed, there isn't a whole lot of incentive to do it.
Cross-compiling fits the two-separate-platforms nature of the situation
better.
--
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