[fpc-pascal]Cross-Compiling Debian/Linux -> FreeBSD

2003-10-07 Thread James Mills
Hi, Is there an easy way of cross-compiling other than what I"m currently doing (using a shell account), to cross-compile from Debian/Linux to FreeBSD ? If there is, I will need a step-by-step instruction, as I've never done it before without the need for a different machine. cheers James -- -

Re: [fpc-pascal]Pascal and ghostscript.

2003-10-07 Thread Michael Van Canneyt
On Tue, 7 Oct 2003, Geoff Bagley wrote: > > Please can anyone tell me whether it is possible to "pipe" or "filter" > the output of Free Pascal through ghostscript in order to plot graphs on > a laserjet printer ? Yes it should. > > I would like a hard-copy equivalent to the graph unit of Borla

Re: [fpc-pascal]General Question on code optimization...

2003-10-07 Thread Marco van de Voort
> On Tue, 7 Oct 2003, Marco van de Voort wrote: > | I think the best thing would be to find out what exactly hinders newer > | FPC versions, make a few mods and compile a matching version locally. > > Are you talking about compiling a local FPC version, or about changing the > mysql unit? Having

Re: [fpc-pascal]General Question on code optimization...

2003-10-07 Thread Peter Vreman
> > Shouldn't FreePascal automatically skip all code which is not > required/used? > Especially in a procedural environment it should be relatively easy to > find > out at compile time, which functions/procedures are used or not. > So the compiler should be able -- especially when the unit source i

Re: [fpc-pascal]General Question on code optimization...

2003-10-07 Thread Rainer Hantsch
On Tue, 7 Oct 2003, Marco van de Voort wrote: | I think the best thing would be to find out what exactly hinders newer | FPC versions, make a few mods and compile a matching version locally. Are you talking about compiling a local FPC version, or about changing the mysql unit? I never compiled my

Re: [fpc-pascal]MySQL 4.0 Files

2003-10-07 Thread Rainer Hantsch
On Tue, 7 Oct 2003, Michael Van Canneyt wrote: | No, because the distribution will only contain 1 version. | Not all people install sources. | | Michael. Yes, that's what I also do. I use only FreePascal without all the sources and classes. But why not include at least two mysql units to the dist

Re: [fpc-pascal]Pascal and ghostscript.

2003-10-07 Thread Marco van de Voort
> Please can anyone tell me whether it is possible to "pipe" or "filter" > the output of Free Pascal through ghostscript in order to plot graphs on > a laserjet printer ? > > I would like a hard-copy equivalent to the graph unit of Borland Pascal. > > Any counter suggestions also most welcome. W

[fpc-pascal]Pascal and ghostscript.

2003-10-07 Thread Geoff Bagley
Please can anyone tell me whether it is possible to "pipe" or "filter" the output of Free Pascal through ghostscript in order to plot graphs on a laserjet printer ? I would like a hard-copy equivalent to the graph unit of Borland Pascal. Any counter suggestions also most welcome. Thanks in adv

Re: [fpc-pascal]MySQL 4.0 Files

2003-10-07 Thread Michael Van Canneyt
On Tue, 7 Oct 2003, Rainer Hantsch wrote: > Hi! > > I did not program very much with MySQL in FPC until now, but when I understand > right, there are currently only three different MySQL unit versions. > One is very old, one is valit up to 3.2, and then there is one for v4.0. > > Why not handle

Re: [fpc-pascal]General Question on code optimization...

2003-10-07 Thread Marco van de Voort
> Hello! > > I wrote a unit for using MySQL a long time ago. It is basically the mysql > unit, but with some modified/added functions to make life easier. But it is > still procedural (currently not OOP). > > Now I added some functions which allow me to access SQL data fields by > their name and

[fpc-pascal]General Question on code optimization...

2003-10-07 Thread Rainer Hantsch
Hello! I wrote a unit for using MySQL a long time ago. It is basically the mysql unit, but with some modified/added functions to make life easier. But it is still procedural (currently not OOP). Now I added some functions which allow me to access SQL data fields by their name and some other minor

Re: [fpc-pascal]MySQL 4.0 Files

2003-10-07 Thread Rainer Hantsch
Hi! I did not program very much with MySQL in FPC until now, but when I understand right, there are currently only three different MySQL unit versions. One is very old, one is valit up to 3.2, and then there is one for v4.0. Why not handle minor differences within one and the same unit and use di

Re: [fpc-pascal]MySQL 4.0 Files

2003-10-07 Thread Michael Van Canneyt
On Mon, 6 Oct 2003, Florian Klaempfl wrote: > Michael Van Canneyt wrote: > > > > On Mon, 6 Oct 2003, Johann Glaser wrote: > > > > > >>Hi! > >> > >> > >>>They are available in source form only, not in binary form. > >> > >>Ah, I see. That is why they are not in my .debs. > >> > >>Why aren't they

Re: [fpc-pascal]MySQL 4.0 Files

2003-10-07 Thread Florian Klaempfl
Michael Van Canneyt wrote: On Mon, 6 Oct 2003, Johann Glaser wrote: Hi! They are available in source form only, not in binary form. Ah, I see. That is why they are not in my .debs. Why aren't they distributed in compiled form too? Because they have the same name as the 3.23 files. You can on