[MacPorts] #20235: libsdl does not build 64-bit
MacPorts
noreply at macports.org
Sun Sep 20 17:39:59 PDT 2009
#20235: libsdl does not build 64-bit
------------------------------+---------------------------------------------
Reporter: hussein@… | Owner: nox@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: LP64 | Port: libsdl
------------------------------+---------------------------------------------
Comment(by kenny@…):
It sounds like part of your project is compiled with i386 (32-bit) and
part is x86-64 (64-bit). You can use the '''file''' command to determine
what architecture a binary or library file is compiled for. Especially
since it sounds like you tried different approaches when trying to get it
to compile.
If anyone has used some random workarounds suggested before where they've
changed many things, I'd recommend:
1. Making sure you have the right GCC with: `sudo gcc_select 4.2`
2. Making sure you didn't inadvertently mix architectures: `file
/opt/local/lib/*.dylib; file /opt/local/bin/*`
3. If you really messed something up, you might even want to remove
MacPorts completely and reinstall.
However, this discussion doesn't belong on the bug tracker and further
discussion should instead be put on a discussion list where more people
can address your problem. I'd suggest
[http://lists.macosforge.org/mailman/listinfo.cgi/macports-users macports-
users] or the [http://www.macports.org/contact.php#IRC #MacPorts IRC
channel].
--
Ticket URL: <http://trac.macports.org/ticket/20235#comment:142>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list