[bitc-dev] [Patch] automatic setting of Option::SystemDirs
Thomas Kuehne
thomas at kuehne.cn
Tue Dec 2 08:17:54 CST 2008
The attached patch adds the system dir (based on the executable's
path) to Option::SystemDirs if SystemDirs wasn't set explicitly
via --system.
e.g.
executable location: /usr/local/bin/bitcc
system dir: /usr/local
It should work on all glibc based systems and POSIX.1-2008 compliant
ones. On other *nix based systems and Windows/Vista the patch should
compile but doesn't change SystemDirs.
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bitcc_exe_sysdir.diff
Type: text/x-diff
Size: 1110 bytes
Desc: not available
Url : http://www.coyotos.org/pipermail/bitc-dev/attachments/20081202/1ae49c32/attachment.bin
More information about the bitc-dev
mailing list