I was getting some weird errors from gccld and traced it to path
construction in isBytecodeLPath. If the path doesn't end with a /,
then Path just tries to stick filenames onto it, which is not so good.
It would be more efficient to just add a "/" to the path once, I
guess.
Also, I had to touch lib/System/Path.cpp to get my changes to Path.inc
noticed; it seems the build system might need a bit of tweaking.
Here's a patch:
Index: lib/System/Unix/Path.inc