tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bootstrap fails on MacOS X 10.4




Am 02.06.2009 um 14:45 schrieb Joerg Sonnenberger:

On Mon, Jun 01, 2009 at 01:21:36PM +0200, Georg Schwarz wrote:
/usr/bin/gcc is softlinked to gcc-4.0 which in turn seems to be a
wrapper calling (on that system) powerpc-apple-darwin8-gcc-4.0.1 in the
same directory.

softlink or symlink? Symlinks are relative to the location of the

imac:~ schwarz$ ls -la `which gcc`
lrwxr-xr-x   1 root  wheel  7 Mar  9  2008 /usr/bin/gcc -> gcc-4.0

That symlink is now the issue though. (BTW, I thought symlinks and softlinks were synonyms)


Now /usr/bin/gcc is a wrapper that calls, at least on my system, powerpc-apple-darwin8-gcc-4.0.1 with the dirname of $0 prefixed (on Intel it's calling probably the Intel version).


symlink, so if /usr/bin/gcc has as content
powerpc-apple-darwin8-gcc-4.0.1
it should still resolve.



yes, but unfortunately the problem is elsewhere:

imac:~ schwarz$ cd /tmp
imac:/tmp schwarz$ ln -s /usr/bin/gcc-4.0 gcc
imac:/tmp schwarz$ ./gcc
gcc: installation problem, cannot exec './powerpc-apple-darwin8- gcc-4.0.1': No such file or directory
imac:/tmp schwarz$ /tmp/gcc
gcc: installation problem, cannot exec '/tmp/powerpc-apple-darwin8- gcc-4.0.1': No such file or directory



--
Georg Schwarz    http://home.pages.de/~schwarz/
georg.schwarz%freenet.de@localhost  +49 151 11559652




Home | Main Index | Thread Index | Old Index