Problem linking java program

Chris Gray chris.gray@kiffer.be
Fri Nov 11 18:01:00 GMT 2005


On Friday 11 November 2005 06:16, Ranjit Mathew wrote:

> Just as an aside, naming your executable as "test" can
> cause unintended behaviour depending on your shell,
> how you invoke the program and your PATH. You will
> not notice it if you invoke it as "./test", but if
> your PATH contains "." and you just say "test"...

Other names to be avoided for this reason include "function", "time", and not 
least" "exit". ;-)

Chris

-- 
Chris Gray        /k/ Embedded Java Solutions  BE0503765045
Embedded & Mobile Java, OSGi        http://www.kiffer.be/k/
chris.gray@kiffer.be                         +32 3 216 0369



More information about the Gcc-help mailing list