www.digitalmars.com         C & C++   DMDScript  

D - chmod +x bin/dmd

reply pts+d math.bme.hu writes:
Dear All,

The files bin/{dmd,objdump,obj2asm} are not executable when dmd.zip is unzipped
under Linux, so running `dmd' produces as `Permission denied' error.
I recommend using the Linux `zip' utility to create dmd.zip, so the ZIP file
will preserve the file attributes (chmod +x) of the programs.

pts
Sep 12 2003
parent Antti =?iso-8859-1?Q?Syk=E4ri?= <jsykari gamma.hut.fi> writes:
In article <bjs3e5$2pe7$1 digitaldaemon.com>, pts+d math.bme.hu wrote:
 Dear All,
 
 The files bin/{dmd,objdump,obj2asm} are not executable when dmd.zip is unzipped
 under Linux, so running `dmd' produces as `Permission denied' error.
 I recommend using the Linux `zip' utility to create dmd.zip, so the ZIP file
 will preserve the file attributes (chmod +x) of the programs.
I suggest using tar.gz as it is the usual format on linux:
 tar zcvf dmd.tar.gz dmd
produces dmd.tar.gz archive from the directory dmd.
 tar zxvf dmd.tar.gz 
unpacks the archive -Antti
Sep 12 2003