[fpc-pascal] How to use string defines ?

2013-05-11 Thread Geoffray Levasseur-Brandin
Hi everybody, I'm trying to make an application that need to be FHS compliant. For that I want be abble to pass some strings as compile time parameters (eg. the famous $PREFIX). I tryed this : // installation paths defines {$if undefined(PREFIX)} {$DEFINE PREFIX:='/usr/local'} {$endif}

Re: [fpc-pascal] make: -iVSPTPSOTO: Command not found

2013-01-15 Thread Geoffray Levasseur-Brandin
cbuild/fpcsrc' > make: *** [fpcsrc/build-stamp.i386-linux] Error 2 > > > That should only be done if all else fails, because building with only > > a compiler binary available can easily fail for a variety of reasons. > > > > > > Jonas > > > &g

[fpc-pascal] download manager

2012-12-23 Thread Geoffray Levasseur-Brandin
give me the total size of the file but I can't find the way to get the downloaded size to give progress. Thank you very much for any help. -- Geoffray Levasseur-Brandin http://jeff.levasseur.tuxfamily.org/ GNU/PG : BF8BB8407CD26E89466CDA9BB1030FC59EF87775 Errare humanum est sed