[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

Re: [fpc-pascal] Building FPC on LFS system

2011-01-30 Thread Geoffray Levasseur
On Sunday 30 January 2011 14:42:10 ik wrote: > LFS is usually installed from an existed linux distro, so you should > install it on the hosting linux, and then compile it to your own distro > (LFS is to build your own base at least). Yes that's a possibility but bootstraping is cleaner so I prefer

Re: [fpc-pascal] Building FPC on LFS system

2011-01-30 Thread Geoffray Levasseur
On Sunday 30 January 2011 14:49:29 Jonas Maebe wrote: > On 30 Jan 2011, at 14:35, Geoffray Levasseur wrote: > > I suppose I'll have to download a precompiled version for my system > > (x86_64) but I want do do this in a clean way. > > Assuming "LFS" in your

[fpc-pascal] Building FPC on LFS system

2011-01-30 Thread Geoffray Levasseur
Hi everybody... My problem is simple. As far as I know there's no way to build FPC without FPC. So can anybody can tell me how to bootstrap FPC to build it on a LFS system without FPC installed? I suppose I'll have to download a precompiled version for my system (x86_64) but I want do do this