Mercurial > hg > truffle
comparison mxtool/mx.py @ 4482:7903b6c28f9c
Add hsdis command to mx
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 07 Feb 2012 19:03:51 +0100 |
parents | 4023bae16d02 |
children | b06ade6e927c |
comparison
equal
deleted
inserted
replaced
4481:600ec4e44b2e | 4482:7903b6c28f9c |
---|---|
644 """ | 644 """ |
645 Gets the platform specific suffix for an executable | 645 Gets the platform specific suffix for an executable |
646 """ | 646 """ |
647 if get_os() == 'windows': | 647 if get_os() == 'windows': |
648 return name + '.exe' | 648 return name + '.exe' |
649 return name | |
650 | |
651 def lib_suffix(name): | |
652 """ | |
653 Gets the platform specific suffix for a library | |
654 """ | |
655 os = get_os(); | |
656 if os == 'windows': | |
657 return name + '.dll' | |
658 if os == 'linux': | |
659 return name + '.so' | |
649 return name | 660 return name |
650 | 661 |
651 """ | 662 """ |
652 A JavaConfig object encapsulates info on how Java commands are run. | 663 A JavaConfig object encapsulates info on how Java commands are run. |
653 """ | 664 """ |