Ralf S. Engelschall wrote:
2) by default it tries to use GNU/FSF gcc. This is not
100% binary compatible with Apple's gcc as far as I
know and might lead to some subtle libgcc/libstdc++
problems later on ? So will switch, to "gcc-5363".
I've now tried to build our "gcc" package (GCC 4.2.0).
I made a .spec file for Apple's GCC, with mostly the same
options as the regular OpenPKG GCC - except for that I did
--enable-shared and that I enabled Objective-C by default:
http://www.algonet.se/~afb/openpkg/darwin-gcc.spec
It will provide "gcc = 4.0.1", and require odcctools -
which in turn will provide "binutils" (not really, but)
for the Darwin platform, the spec file for that one is:
http://www.algonet.se/~afb/openpkg/odcctools.spec
These two RPMS should be somewhat similar to what Apple provides,
except that it a) doesn't cross-compile and b) is older version.
But I haven't been able to finish a compile of both of them yet,
so haven't been able to test whether it works the same (as /usr).
The alternative is using something like "openpkg-import" symlinks.
--anders
______________________________________________________________________
OpenPKG http://openpkg.org
Developer Communication List openpkg-dev@openpkg.org