On Wed, Jun 06, 2007, Anders F Björklund wrote: > >> This can be provided by "openpkg-import". > > > > Will do that, then: use openpkg-import to replace "binutils" and "gcc". > > > > One little problem is that the binutils and cctools differ in content, so > > the following programs are missing: addr2line, objcopy, objdump, readelf > > I fixed the missing symlink target with ignoring the return code: > http://www.algonet.se/~afb/openpkg/openpkg-import.diff
Ok, now fixed, too. > However, this still did not work because OpenPKG will fail to locate > the real compiler e.g. i686-apple-darwin8-gcc-4.0.1 (from /usr/bin), > but only find the "gcc-4.0" driver front-end... (symlinked from cc) > So either I need to bring some more symlinks in, or do it differently ? This I do not understand: what _IS_ /usr/bin/gcc under MacOS? Is is a strange wrapper script which is unable to find its backends when called via a symlink? Ok, let's try a different approach: in the latest "openpkg-import" I've now replaced the symlinks with wrapper scripts which directly _exec_ the /usr/bin/gcc. Perhaps this works better. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ OpenPKG http://openpkg.org Developer Communication List openpkg-dev@openpkg.org