Martin Michlmayr wrote:
Stop makeklcc.pl from hardcoding paths of cc, ld and strip in the klcc
script it generates.  Using hardcoded paths is generally a bad idea.
First, the whole idea of $PATH is that you don't need to hardcode
paths.  Second, klcc is a Perl script but my hardcoding the paths
you make it less portable.

In this case, though, it's probably required, since otherwise you could end up with some very strange results when cross-compiling. I'm not sure what the ideal answer is, but I think this is wrong.

klcc is a installation-specific, generated Perl script, so portability is not an issue.

        -hpa


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to