[fpc-pascal] Resetting the read only attribute

2006-08-01 Thread Arí Ricardo Ody
Is there a way to turn a 'read only' file to 'non-read only'??? Reading the manual I can't conclude how to do this... (I'm talking about windows XP files) Greetings from Sao Paulo - Brazil Ricardo ___ fpc-pascal maillist - fpc-pascal@lists.freepa

Re: [fpc-pascal] Resetting the read only attribute

2006-08-01 Thread Ewald Horn
Hi. You could use FileSetAttr('filename', faArchive) method to set the attributes to archive and remove the read only flag. Remember to include SYSUTILS if you have not already done so. Regards Ewald ___ fpc-pascal maillist - fpc-pascal@lists.free

Re: [fpc-pascal] Resetting the read only attribute

2006-08-01 Thread Arí Ricardo Ody
Thank you Ewald! IMHO the manual is not clear in this matter(:-\). Regards Ricardo At 15:54 1/8/2006, you wrote: Hi. You could use FileSetAttr('filename', faArchive) method to set the attributes to archive and remove the read only flag. Remember to include SYSUTILS if you have not alread

Re: [fpc-pascal] Resetting the read only attribute

2006-08-01 Thread Tomas Hajny
On 1 Aug 06, at 14:57, Arí Ricardo Ody wrote: > Is there a way to turn a 'read only' file to 'non-read only'??? > > Reading the manual I can't conclude how to do this... (I'm talking > about windows XP files) I guess that it's mostly because attribute setting isn't portable across platforms (SysU

Re: [fpc-pascal] Compiling FPC for SPARC

2006-08-01 Thread Mark Morgan Lloyd
I'm hoping to be able to sit down tomorrow and read more documentation, but for the moment here's where I'm at. * I can build i386 2.0.2 and appear to get something working out of it using make cycle or make zipinstall. "Working" in this context is that it will generate a runnable program from he

Re: [fpc-pascal] Minor issue compiling FPC from sources

2006-08-01 Thread Tiziano_mk
Eugene Mayevski ha scritto: Hello! I tried to compile the daily snapshot from source and got the following during compilation: make.EXE[3]: Entering directory `D:/FreePascal/sources/fpc/compiler' process_begin: CreateProcess((null), echo Start 12:42:49 now 12:43:09, ...) failed. make (e=2): The