[fpc-pascal] Smartcard & Pascal

2012-08-19 Thread Koenraad Lelong
Hi, I'm gathering information for a possible project using a smartcard. I would like to have it running on linux, so I will be using pcsc-lite. In september 2010 there was a thread about pc/sc and I was wondering if someone could give an update. Micheal Van Canneyt mentioned a "heavily impr

[fpc-pascal] Re: DOSbox issues

2012-08-19 Thread Reinier Olislagers
On 19-8-2012 22:07, Guillermo Martínez Jiménez wrote: > Hello everybody, > > Has somebody used Free Pascal 2.6 in DOSbox? > > I'm having problems with the installer (text looks corrupted and it > doesn't install) but I don't know if it's an issue in all DOSbox or > it's because I'm using it in a

Re: [fpc-pascal] Possible RTFM question: is there something like an IsRootPath() function?

2012-08-19 Thread michael . vancanneyt
On Mon, 20 Aug 2012, Bart wrote: Hi, Does fpc have a function that determines if a given paths is the root (e.g. '/' in Linux, 'F:\' in Windows)? I could not find such a thing. There is no such function. Michael. ___ fpc-pascal maillist - fpc-p

[fpc-pascal] Possible RTFM question: is there something like an IsRootPath() function?

2012-08-19 Thread Bart
Hi, Does fpc have a function that determines if a given paths is the root (e.g. '/' in Linux, 'F:\' in Windows)? I could not find such a thing. The Delphi converter from Lazarus needs such a function, and currently I wrote a crude one which is ifdef-ed in the source code, which we would like to a

Re: [fpc-pascal] Assembler file generate by compiler

2012-08-19 Thread Sven Barth
On 19.08.2012 17:59, Rainer Stratmann wrote: Am Sunday 19 August 2012 16:50:20 schrieb Jonas Maebe: On 19 Aug 2012, at 16:45, Rainer Stratmann wrote: fpc 2.4.2-0 [2010/11/11] for i386 I put "-a" to projectsettings -> other -> userdefined settings Output of the message window when compiling: N

[fpc-pascal] DOSbox issues

2012-08-19 Thread Guillermo Martínez Jiménez
Hello everybody, Has somebody used Free Pascal 2.6 in DOSbox? I'm having problems with the installer (text looks corrupted and it doesn't install) but I don't know if it's an issue in all DOSbox or it's because I'm using it in a 64bit Linux (Xubuntu 12.04). Greetings, Guillermo "Ñuño" Martínez _

Re: [fpc-pascal] Assembler file generate by compiler

2012-08-19 Thread Mattias Gaertner
On Sun, 19 Aug 2012 19:04:20 +0200 Rainer Stratmann wrote: >[...] > > > If I activate extrafpc.cfg what happens then with the settings in the > > > dialog boxes? > > > > Both are applied. Use the above to find out what happens. > > Thanks. > Is there a way to switch off the settings in the dialo

Re: [fpc-pascal] Assembler file generate by compiler

2012-08-19 Thread Rainer Stratmann
Am Sunday 19 August 2012 18:01:42 schrieb Mattias Gaertner: > Can you try a newer version? I am afraid of all the problems then with installing on a linux computer. The computer further has no connection to the internet. I try step by step to get more independend from lazarus first. Then it will

[fpc-pascal] Re: Assembler file generate by compiler

2012-08-19 Thread leledumbo
> For finding a solution: what does the message from fpc compiler: "Note: Switching assembler to default writing assembler" means exactly? http://www.freepascal.org/docs-html/user/userse70.html AFAIK when -a is given, the internal assembler can't be executed (the internal assembler seems to work

Re: [fpc-pascal] Assembler file generate by compiler

2012-08-19 Thread Mattias Gaertner
On Sun, 19 Aug 2012 16:45:59 +0200 Rainer Stratmann wrote: >[...] > lazarus v0.9.30-0 > fpc 2.4.2-0 [2010/11/11] for i386 Can you try a newer version? > I put "-a" to projectsettings -> other -> userdefined settings See Project / Project Options / Show Options. You can copy+paste the options

Re: [fpc-pascal] Assembler file generate by compiler

2012-08-19 Thread Rainer Stratmann
Am Sunday 19 August 2012 16:50:20 schrieb Jonas Maebe: > On 19 Aug 2012, at 16:45, Rainer Stratmann wrote: > > fpc 2.4.2-0 [2010/11/11] for i386 > > > > I put "-a" to projectsettings -> other -> userdefined settings > > > > Output of the message window when compiling: > > Note: Switching assembler

[fpc-pascal] Re: RE : RE : FPC trunk seems to crash compiling Lazreport; was: Re: [Lazarus] Lazreport compilation problems with FPC trunk

2012-08-19 Thread Reinier Olislagers
On 19-8-2012 17:29, Jonas Maebe wrote: > > On 19 Aug 2012, at 17:25, Reinier Olislagers wrote: > >> Perhaps you might want to assign this bug to yourself given you're >> the author of 21972? http://bugs.freepascal.org/view.php?id=22527 > > I can't, because I don't have admin access to Lazarus is

Re: [fpc-pascal] Re: RE : RE : FPC trunk seems to crash compiling Lazreport; was: Re: [Lazarus] Lazreport compilation problems with FPC trunk

2012-08-19 Thread Jonas Maebe
On 19 Aug 2012, at 17:25, Reinier Olislagers wrote: > Perhaps you might want to assign this bug to yourself given you're the > author of 21972? > http://bugs.freepascal.org/view.php?id=22527 I can't, because I don't have admin access to Lazarus issues. Furthermore, I'd really appreciate a way t

[fpc-pascal] Re: RE : RE : FPC trunk seems to crash compiling Lazreport; was: Re: [Lazarus] Lazreport compilation problems with FPC trunk

2012-08-19 Thread Reinier Olislagers
On 13-8-2012 10:39, Ludo Brands wrote: >>> I encounter the same problem as Reinier and >>> I build the compiler with OPT="-g -gl", nothing more. >> >> Then it's probably something else. >> > Problem is caused by the changes in rev 21972. Code iterates now > indefinitely TDebugInfoStabs.field_write_

Re: [fpc-pascal] FPC vs Delphi's unicode string support questions

2012-08-19 Thread Marcos Douglas
On Sat, Aug 18, 2012 at 7:30 PM, Graeme Geldenhuys wrote: > Hi > > On 18 August 2012 22:44, Jonas Maebe wrote: >> The mode is called "delphiunicode" and in Delphi unicode versions, string = >> unicodestring. > > Not to get this thread into one of those heated unicode discussions > again, but cou

Re: [fpc-pascal] Assembler file generate by compiler

2012-08-19 Thread Jonas Maebe
On 19 Aug 2012, at 16:45, Rainer Stratmann wrote: > fpc 2.4.2-0 [2010/11/11] for i386 > > I put "-a" to projectsettings -> other -> userdefined settings > > Output of the message window when compiling: > Note: Switching assembler to default writing assembler > > I can still not see an assemble

Re: [fpc-pascal] Assembler file generate by compiler

2012-08-19 Thread Rainer Stratmann
Am Sunday 19 August 2012 10:59:16 schrieb Jonas Maebe: > On 19 Aug 2012, at 10:55, Rainer Stratmann wrote: > > Am Saturday 18 August 2012 23:53:36 schrieb Jonas Maebe: > >> On 18 Aug 2012, at 22:48, Rainer Stratmann wrote: > >>> I did option -a, the compiler needs longer now, but where can I see th

Re: [fpc-pascal] Assembler file generate by compiler

2012-08-19 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 19 Aug 2012, at 10:55, Rainer Stratmann wrote: Am Saturday 18 August 2012 23:53:36 schrieb Jonas Maebe: On 18 Aug 2012, at 22:48, Rainer Stratmann wrote: I did option -a, the compiler needs longer now, but where can I see the generated file(s)? In the same directory tha

Re: [fpc-pascal] Assembler file generate by compiler

2012-08-19 Thread Jonas Maebe
On 19 Aug 2012, at 10:55, Rainer Stratmann wrote: > Am Saturday 18 August 2012 23:53:36 schrieb Jonas Maebe: >> On 18 Aug 2012, at 22:48, Rainer Stratmann wrote: >>> I did option -a, the compiler needs longer now, but where can I see the >>> generated file(s)? >> >> In the same directory that co

Re: [fpc-pascal] FPC vs Delphi's unicode string support questions

2012-08-19 Thread Jürgen Hestermann
Am 2012-08-18 22:33, schrieb Sven Barth: > The RTL mostly uses PChar to not be restricted to 255 characters (exceptions are ancient compatibility units like DOS, Objects, etc.). > There are often overloads for ShortString and AnsiString though. AFAIK all file handling routines use the file recor

Re: [fpc-pascal] Assembler file generate by compiler

2012-08-19 Thread Rainer Stratmann
Am Saturday 18 August 2012 23:53:36 schrieb Jonas Maebe: > On 18 Aug 2012, at 22:48, Rainer Stratmann wrote: > > I did option -a, the compiler needs longer now, but where can I see the > > generated file(s)? > > In the same directory that contains the generated .o and .ppu files. They are not ther