Re: [fpc-pascal]Porter stemming routine for FPC [solved]

2004-09-03 Thread Alan Mead
Ack! After posting this, I actually read the code and discovered that the author provided "pure pascal" alternative bits. The unit compiles without even a warning now. Sorry. -Alan --- Alan Mead <[EMAIL PROTECTED]> wrote: > Porter stemming is an approximate method for removing > English-langu

[fpc-pascal]Porter stemming routine for FPC

2004-09-03 Thread Alan Mead
Porter stemming is an approximate method for removing English-language endings from words ... for example, to match 'happy' and 'happiness'. I found a website on tartarus.org that purports to be Porter's website and has a Delphi 5 implementation of his word stemming algorithm. But I cannot get

Re: [fpc-pascal]Graphics cards, VGALIB

2004-09-03 Thread Marco van de Voort
> Marco van de Voort wrote: > > single file. > > > > > >>What about optional parameter for $LINKLIB or something like that? > > > > > > {$linklib } can happen multiple times for the same lib in different units. > > What about adding a priority parameter: 100 default, 0 low, 200 high; if > th

Re: [fpc-pascal]Graphics cards, VGALIB

2004-09-03 Thread Florian Klaempfl
Marco van de Voort wrote: On Fri, 3 Sep 2004 15:27:43 +0200 (CEST), Marco van de Voort wrote I was thinking about a simple global file with libnames and weights, with a possibility to override on the commandline. Simple, generic, and configurable. This doesn't look very transparent to me (another

Re: [fpc-pascal]api win32

2004-09-03 Thread Pedro Lopez-Cabanillas
On Thursday 02 September 2004 16:47, Luis Del Aguila wrote: > Hola a todos. > Yo queria hacer algo similar, pero es muy dificil implementarlo. > Necesito ayuda, yo quiero saber si hay algun libro que enseñe como hacerlo > Hay algun "mailing list" de freepascal en español. > > Gracias > > Hi, all >

Re: [fpc-pascal]Graphics cards, VGALIB

2004-09-03 Thread Marco van de Voort
> 04-09-03 15.27, skrev Marco van de Voort f?ljande: > > a possibility to override on the commandline. > > > > Simple, generic, and configurable. > > Macpas apps also has 2 'main', so the link order matters. I have hardcoded > it so it always is correct. > > Both Metrowerks and Think Pascal also

Re: [fpc-pascal]Graphics cards, VGALIB

2004-09-03 Thread Marco van de Voort
> On Fri, 3 Sep 2004 15:27:43 +0200 (CEST), Marco van de Voort wrote > > I was thinking about a simple global file with libnames and weights, > > with a possibility to override on the commandline. > > > > Simple, generic, and configurable. > > This doesn't look very transparent to me (another pl

Re: [fpc-pascal]Graphics cards, VGALIB

2004-09-03 Thread Olle Raab
04-09-03 15.27, skrev Marco van de Voort följande: >> On 3 sep 2004, at 14:33, Olle Raab wrote: > this for legacy *nix compatibility using an environment variable). >>> >>> Can it help by changing the link order ? Or it is not possible wiht a 2 >>> level ns.. ? >> >> Hmm, yes, that's proba

Re: [fpc-pascal]Yet another impossible task

2004-09-03 Thread Thomas Schatzl
Hello, Jérémie LEFRANCOIS schrieb: I would be very happy to solve the following problem, any suggestion is welcome. I work with MS-DOS 6.2, trying to port from TP55 to Freepascal GO32. There is a terminate stay resident program (for which I have no access to the sources) that deals with the interfa

Re: [fpc-pascal]Graphics cards, VGALIB

2004-09-03 Thread Tomas Hajny
On Fri, 3 Sep 2004 15:27:43 +0200 (CEST), Marco van de Voort wrote > > On 3 sep 2004, at 14:33, Olle Raab wrote: > > > >> this for legacy *nix compatibility using an environment variable). > > > > > > Can it help by changing the link order ? Or it is not possible wiht a 2 > > > level ns.. ? > > >

Re: [fpc-pascal]Graphics cards, VGALIB

2004-09-03 Thread Marco van de Voort
> On 3 sep 2004, at 14:33, Olle Raab wrote: > >> this for legacy *nix compatibility using an environment variable). > > > > Can it help by changing the link order ? Or it is not possible wiht a 2 > > level ns.. ? > > Hmm, yes, that's probably it. The two-level namespace is the reason > that the

Re: [fpc-pascal]Graphics cards, VGALIB

2004-09-03 Thread Jonas Maebe
On 3 sep 2004, at 14:33, Olle Raab wrote: Yes. And for some reason, the linker picks the main of our system unit to execute instead of the one in libsdl. I don't know on what basis it does this. The reason it doesn't trigger a duplicate symbol error is that the Mac OS X linker works with a two-leve

Re: [fpc-pascal]Graphics cards, VGALIB

2004-09-03 Thread Olle Raab
04-09-03 13.12, skrev Jonas Maebe följande: > > On 3 sep 2004, at 11:16, Florian Klaempfl wrote: > >> Can't you add the SDLMain to the darwin sdl units and let this call >> main? Or is main defined twice >> then because the sdllib contains a main? > > Yes. And for some reason, the linker picks

Re: [fpc-pascal]Graphics cards, VGALIB

2004-09-03 Thread Jonas Maebe
On 3 sep 2004, at 11:16, Florian Klaempfl wrote: Can't you add the SDLMain to the darwin sdl units and let this call main? Or is main defined twice then because the sdllib contains a main? Yes. And for some reason, the linker picks the main of our system unit to execute instead of the one in libs

Re: [fpc-pascal]how much work is proting fpc

2004-09-03 Thread Olle Raab
04-09-03 10.22, skrev Marco van de Voort följande: > Typically one starts converting the OS API interface, and then try to get > bits and pieces from the most similar OS to convert and get working using > the own API. Startup (entry) code is also always a problem, and new non-unix > ports might al

Re: [fpc-pascal]Graphics cards, VGALIB

2004-09-03 Thread Florian Klaempfl
Jonas Maebe wrote: On 1 sep 2004, at 00:13, Jeff Weeks wrote: I tried the SDL4Freepascal headers and they seem to work. Just can't see how to display text. And they don't appear to work on Macintosh. JEDI-SDL supposedly works on a "modified" version of Freepascal on a Mac. Any Mac people out

Re: [fpc-pascal]how much work is proting fpc

2004-09-03 Thread Marco van de Voort
> At first: Don't get me wrong and expect anything, I'm only curious. > > That said: > How much work would it be to port fpc to another processor? Peter already did this. > Same for another OS? How easy depends on the OS. Yet another Unix should be pretty easy to do an initial port to (Jonas

Re: [fpc-pascal]how much work is proting fpc

2004-09-03 Thread Florian Klaempfl
Peter Vreman wrote: Hi, At first: Don't get me wrong and expect anything, I'm only curious. That said: How much work would it be to port fpc to another processor? Same for another OS? Maybe some of the experienced folks can give a short sketch in a few sentences of the process of porting. Porting

[fpc-pascal]Pascal macro compiler

2004-09-03 Thread Contestcen
   I am currently designing and implementing a macro compiler for the Pascal language.  A partial draft of the user manual is available at http://www.pascalmacro.com  I invite anyone interested to comment on any aspect of the language or design, such as features, interfaces, compatibility, distri

Re: [fpc-pascal]Compiler switches

2004-09-03 Thread Marco van de Voort
> > I'd like to try using JEDI-SDL but the directions only tell how to set > > up the IDE... not how to use the command line compiler under Linux. > > > > I'm stumped on a few of them. > > > > I condensed the following from the JEDI-SDL Yahoo Group instructions and > > added what I think the co

Re: [fpc-pascal]how much work is proting fpc

2004-09-03 Thread Peter Vreman
> Hi, > > At first: Don't get me wrong and expect anything, I'm only curious. > > That said: > How much work would it be to port fpc to another processor? > Same for another OS? > > Maybe some of the experienced folks can give a short sketch in a few > sentences of the process of porting. Porting

[fpc-pascal]api win32

2004-09-03 Thread Luis Del Aguila
Hola a todos. Yo queria hacer algo similar, pero es muy dificil implementarlo. Necesito ayuda, yo quiero saber si hay algun libro que enseñe como hacerlo Hay algun "mailing list" de freepascal en español. Gracias Hi, all I would like something similar to this, but it is very dificult implementati

[fpc-pascal]how much work is proting fpc

2004-09-03 Thread Marc Santhoff
Hi, At first: Don't get me wrong and expect anything, I'm only curious. That said: How much work would it be to port fpc to another processor? Same for another OS? Maybe some of the experienced folks can give a short sketch in a few sentences of the process of porting. TIA, Marc

Re: [fpc-pascal]Where is the error?

2004-09-03 Thread Olle Raab
04-09-01 13.40, skrev [EMAIL PROTECTED] följande: > On Wed, 1 Sep 2004, Olle Raab wrote: > >> But can Delphi classes be used if you are in e g TP mode ? > > No. You need objfpc or delphi mode for that. Then I suggest to add this to the documentation about the language modes. The doc says that

[fpc-pascal]Yet another impossible task

2004-09-03 Thread Jérémie LEFRANCOIS
I would be very happy to solve the following problem, any suggestion is welcome. I work with MS-DOS 6.2, trying to port from TP55 to Freepascal GO32. There is a terminate stay resident program (for which I have no access to the sources) that deals with the interface part of the application (GUI). I

Re: [fpc-pascal]Compiler switches

2004-09-03 Thread Thomas Schatzl
Hello, I'd like to try using JEDI-SDL but the directions only tell how to set up the IDE... not how to use the command line compiler under Linux. I'm stumped on a few of them. I condensed the following from the JEDI-SDL Yahoo Group instructions and added what I think the corresponding command-li