Mac OS X cross-compiler problems
by Paarvai Naai
Hi all,
I have recently been trying to establish a working Mac OS X
cross-compiler on a Linux host for i386 and x86_64 Darwin targets. (I
already have one based on GCC 4.2.3 that is able to generate i386
code.) In searching the web, I came across this mailing list and the
good work done by Erik van Pienbroek and others in this regard. As a
first pass, I tried to install Erik's FC11 RPMs as a quick test to see
if the cross-compiler works. The RPMs were downloaded from:
http://build2.openftd.org/darwinx/
There were two problems I encountered:
1) The darwinx-odcctools is built for fc12 and does not install on
fc11. This was a very minor problem since I downloaded the src RPM
instead and built myself an equivalent RPM for FC11.
2) The x86_64 target has a problem during linking. A simple hello
world program does not link. The program is as follows:
---
#include <stdlib.h>
#include <stdio.h>
int main (int argc, char *argv[])
{
printf("hello world!\n");
return 0;
}
---
# darwinx-gcc -arch x86_64 -o darwin64 darwin64.c
ld warning: in /usr/darwinx/SDKs/MacOSX10.5.sdk/usr/lib/i686-apple-darwin9/4.2.1/libgcc.a,
file is not of required architecture
The i386 and ppc architectures work with no problems, at least at the
building stage -- I have not tried running anything yet. There is no
libgcc.a available for 64-bit. If I try using darwinx-g++, I get:
# darwinx-g++ -arch x86_64 -o darwin64 darwin64.c
ld warning: in /usr/darwinx/SDKs/MacOSX10.5.sdk/usr/lib/i686-apple-darwin9/4.2.1/crt3.o,
file is not of required architecture
ld warning: in /usr/darwinx/SDKs/MacOSX10.5.sdk/usr/lib/i686-apple-darwin9/4.2.1/libgcc.a,
file is not of required architecture
The crt3.o is available for i386 and x86_64 but the x86_64 version is
in a different path.
Can Erik or someone else provide any insight on how to get past this
second issue of not having libgcc.a for 64-bit and not finding the
right crt3.o?
Also what is the general status of this project? From the posts in
June and July 2009 it sounded like there were still a few kinks to be
worked out, but I didn't find any concrete updates after then in the
mailing list archives.
I think this is a very valuable project and I appreciate all of the
effort that people have put into it so far.
Thanks!
Paarvai
14 years, 2 months
Broken dependencies: mingw32-cairo
by Fedora Koji Build System
mingw32-cairo has broken dependencies in the development tree:
On x86_64:
mingw32-cairo-static-1.8.8-1.fc12.noarch requires mingw32-cairo = 0:1.8.8-1.fc12
mingw32-cairo-static-1.8.8-1.fc12.noarch requires mingw32-filesystem >= 0:52
On i386:
mingw32-cairo-static-1.8.8-1.fc12.noarch requires mingw32-cairo = 0:1.8.8-1.fc12
mingw32-cairo-static-1.8.8-1.fc12.noarch requires mingw32-filesystem >= 0:52
On x86_64:
mingw32-cairo-1.8.8-1.fc12.noarch requires mingw32-filesystem >= 0:52
On i386:
mingw32-cairo-1.8.8-1.fc12.noarch requires mingw32-filesystem >= 0:52
Please resolve this as soon as possible.
14 years, 2 months
Broken dependencies: mingw32-pixman
by Fedora Koji Build System
mingw32-pixman has broken dependencies in the development tree:
On x86_64:
mingw32-pixman-static-0.16.2-1.fc13.noarch requires mingw32-pixman = 0:0.16.2-1.fc13
mingw32-pixman-static-0.16.2-1.fc13.noarch requires mingw32-filesystem >= 0:56
On i386:
mingw32-pixman-static-0.16.2-1.fc13.noarch requires mingw32-pixman = 0:0.16.2-1.fc13
mingw32-pixman-static-0.16.2-1.fc13.noarch requires mingw32-filesystem >= 0:56
On x86_64:
mingw32-pixman-0.16.2-1.fc13.noarch requires mingw32-filesystem >= 0:56
On i386:
mingw32-pixman-0.16.2-1.fc13.noarch requires mingw32-filesystem >= 0:56
Please resolve this as soon as possible.
14 years, 2 months
Broken dependencies: mingw32-liboil
by Fedora Koji Build System
mingw32-liboil has broken dependencies in the development tree:
On x86_64:
mingw32-liboil-0.3.16-2.fc12.noarch requires mingw32-filesystem >= 0:52
On i386:
mingw32-liboil-0.3.16-2.fc12.noarch requires mingw32-filesystem >= 0:52
Please resolve this as soon as possible.
14 years, 2 months
Broken dependencies: mingw32-SDL
by Fedora Koji Build System
mingw32-SDL has broken dependencies in the development tree:
On x86_64:
mingw32-SDL-1.2.13-8.fc12.noarch requires mingw32-filesystem >= 0:52
On i386:
mingw32-SDL-1.2.13-8.fc12.noarch requires mingw32-filesystem >= 0:52
Please resolve this as soon as possible.
14 years, 2 months
Broken dependencies: mingw32-wpcap
by Fedora Koji Build System
mingw32-wpcap has broken dependencies in the development tree:
On x86_64:
mingw32-wpcap-docs-4.1.final1-1.fc13.noarch requires mingw32-filesystem >= 0:56
On i386:
mingw32-wpcap-docs-4.1.final1-1.fc13.noarch requires mingw32-filesystem >= 0:56
On x86_64:
mingw32-wpcap-4.1.final1-1.fc13.noarch requires mingw32-filesystem >= 0:56
mingw32-wpcap-4.1.final1-1.fc13.noarch requires mingw32-filesystem >= 0:50
On i386:
mingw32-wpcap-4.1.final1-1.fc13.noarch requires mingw32-filesystem >= 0:56
mingw32-wpcap-4.1.final1-1.fc13.noarch requires mingw32-filesystem >= 0:50
On x86_64:
mingw32-wpcap-examples-4.1.final1-1.fc13.noarch requires mingw32-filesystem >= 0:56
On i386:
mingw32-wpcap-examples-4.1.final1-1.fc13.noarch requires mingw32-filesystem >= 0:56
Please resolve this as soon as possible.
14 years, 2 months
Broken dependencies: mingw32-jasper
by Fedora Koji Build System
mingw32-jasper has broken dependencies in the development tree:
On x86_64:
mingw32-jasper-static-1.900.1-11.fc12.noarch requires mingw32-filesystem >= 0:55
mingw32-jasper-static-1.900.1-11.fc12.noarch requires mingw32-jasper = 0:1.900.1-11.fc12
On i386:
mingw32-jasper-static-1.900.1-11.fc12.noarch requires mingw32-filesystem >= 0:55
mingw32-jasper-static-1.900.1-11.fc12.noarch requires mingw32-jasper = 0:1.900.1-11.fc12
On x86_64:
mingw32-jasper-1.900.1-11.fc12.noarch requires mingw32-filesystem >= 0:55
On i386:
mingw32-jasper-1.900.1-11.fc12.noarch requires mingw32-filesystem >= 0:55
Please resolve this as soon as possible.
14 years, 2 months
Broken dependencies: mingw32-gtk-vnc
by Fedora Koji Build System
mingw32-gtk-vnc has broken dependencies in the development tree:
On x86_64:
mingw32-gtk-vnc-0.3.8-6.fc12.noarch requires mingw32-filesystem >= 0:52
On i386:
mingw32-gtk-vnc-0.3.8-6.fc12.noarch requires mingw32-filesystem >= 0:52
Please resolve this as soon as possible.
14 years, 2 months
Broken dependencies: mingw32-proj
by Fedora Koji Build System
mingw32-proj has broken dependencies in the development tree:
On x86_64:
mingw32-proj-4.6.1-4.fc13.noarch requires mingw32-filesystem >= 0:56
On i386:
mingw32-proj-4.6.1-4.fc13.noarch requires mingw32-filesystem >= 0:56
Please resolve this as soon as possible.
14 years, 2 months