cross compiling C++ programs with -m32 using a 64bit gcc/g++
Bug #979769 reported by
jcdutton
This bug report is a duplicate of:
Bug #973240: libstdc++-dev:i386 cannot be installed on 64bit system..
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.6 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On a 64bit system, using 64bit gcc/g++, it is not possible to cross compile C++ programs using -m32.
It is possible to cross compile C programs using -m32.
Cause: libstdc++-dev:i386 is not installable.
The reason is it not installable, is because libstdc++-dev:i386 depends on gcc:i386 and gcc:i386 is not installable.
A fix would be to change the dependancies of libstdc++-dev:i386 to not depend on gcc:i386
I know of no reason why a lib should depend on gcc?
To post a comment you must log in.