Hi Erik, > Some files were having the wrong SELinux context (I moved them from the > ~/rpmbuild folder straight to the www folder). I just fixed them so they > should work now.
Thanks. I was able to download it. Just to be safe, I uninstalled all of my previous darwinx RPMs and re-installed the following four RPMs: darwinx-filesystem-11-1.fc11.noarch.rpm darwinx-gcc-5646-6.fc11.x86_64.rpm darwinx-odcctools-691.1-0.20090617.11.fc11.x86_64.rpm darwinx-sdk-leopard-312_2621-13.fc11.noarch.rpm Now the following works: # x86_64-apple-darwin9-gcc -o darwin64 darwin64.c but the following does not: # 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 (This is only a moderate problem because now we have gotten to the point where the standalone x86_64-apple-darwin9-gcc is able to link x86_64 binaries.) However, there is a more significant problem that I have seen. I modified my hello-world example, to include stdarg.h at the top. I see the following error: # x86_64-apple-darwin9-gcc -o darwin darwin64.c In file included from darwin64.c:3: /usr/darwinx/SDKs/MacOSX10.5.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory The same file compiles fine with i686-apple-darwin9-gcc. There is some path issue here. >> BTW, when I tried to rebuild gcc from source I get errors like the following: >> >> echo "\"../../gcc/cp/parser.c\", " >> tmp-gtyp.h >> FATAL:/usr/libexec/darwinx/as/i386/as: I don't understand 'Q' flag! > > I've never seen that message before and I haven't got a clue what goes > wrong there.. Okay, I can try to investigate this a bit later since I will have to eventually recompile from source anyway. I'll let you know what I find. >> As an aside, your F11 spec file for odcctools has the following: >> BuildRequires: /usr/lib/gcc/i586-redhat-linux > > That strange BuildRequires is needed to get a 32bit compiler installed > in the buildroot (a 64bit version of the odcctools produces corrupt > binaries..perhaps this area has been improved recently). I originally > took it from somewhere else (don't know anymore where exactly) and I > didn't bother verifying whether the ugly BuildRequires are really > necessary. Hm...I removed the BuildRequire (since it was preventing me from even doing the build as I don't have gcc.i586 installed on my F11 x86_64 distro). Then my rpmbuild is able to proceed. The odcctools were built as 32-bit binaries since later in the spec there's a forcing of "-m32" for the configure command. Sorry to inundate you with all of these issues. I certainly appreciate your assistance so far. Thanks! Paarvai _______________________________________________ mingw mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/mingw
