[fpc-pascal] Darwin/i386 target

2008-09-27 Thread Adam Naumowicz
Hi, Is there a way to compile for the Darwin/i386 target using a native Linux/i386 compiler and cross binutils rather than building a crosscompiler? This target seems to be missing in the -T option, so I guess it's not supported this way, is it? Best, Adam __

Re: [fpc-pascal] set addition bug?

2008-02-12 Thread Adam Naumowicz
On Tue, 12 Feb 2008, Peter Vreman wrote: Fixed in 2.3.1 in r10311. Thanks a lot for your quick response. Surely it solves the problem with empty set as the second parameter. But I'm not sure if the other code I sent later would also be fixed? - apparently that one had incorrect valuation wh

Re: [fpc-pascal] set addition bug?

2008-02-12 Thread Adam Naumowicz
Hi Peter, On Tue, 12 Feb 2008, Peter Vreman wrote: Adam Naumowicz wrote: Hello again, On Mon, 11 Feb 2008, Adam Naumowicz wrote: Hello, I'd like to know if this is a known issue, or a new bug. With the following code: -- program tester; type SomeType = ( Som

Re: [fpc-pascal] set addition bug?

2008-02-11 Thread Adam Naumowicz
Hello again, On Mon, 11 Feb 2008, Adam Naumowicz wrote: Hello, I'd like to know if this is a known issue, or a new bug. With the following code: -- program tester; type SomeType = ( SomeElem ); const ElemSet = [ SomeElem ]; begin writeln(SomeElem in ElemSet); wr

[fpc-pascal] set addition bug?

2008-02-11 Thread Adam Naumowicz
separate a small snippet of code responsible for that - in that case, however, the set after the '+' was another set constant, not an empty set, so the problem is rather general. As I said, with 2.0.0 the boolean value was correct, while with 2.2.0 it was plain wrong. Best reg

Re: [fpc-pascal] pipe question

2006-08-02 Thread Adam Naumowicz
On Wed, 2 Aug 2006, Jonas Maebe wrote: On 2 aug 2006, at 17:33, Adam Naumowicz wrote: Is there a way to launch an external command, feed its input and catch its output on Unix? AFAIK POpen allows to get hold of the input or output, but not both - or am I missing something? Of course, one

[fpc-pascal] pipe question

2006-08-02 Thread Adam Naumowicz
Hi, Is there a way to launch an external command, feed its input and catch its output on Unix? AFAIK POpen allows to get hold of the input or output, but not both - or am I missing something? Of course, one could open a temporary file to store the command's input or output and then redirect,

Re: [fpc-pascal] DOS find

2006-02-03 Thread Adam Naumowicz
R-DOS/MS-DOS "echo %errorlevel%" isn't working, so > I can't see directly what return code it's giving, though I'm pretty > sure it wouldn't be 0 if nothing was found). You should try IF ERRORLEVEL 1 echo blah, blah In this way you will check if the erro

Re: [fpc-pascal] problem with array of string

2004-12-20 Thread Adam Naumowicz
On Mon, 20 Dec 2004 [EMAIL PROTECTED] wrote: > On Mon, 20 Dec 2004, Dariusz Mazur wrote: > > > I have problem with two dimension array of string > > > > my program: > > > > procedure testlinie; > > var > > linie : array[0..1,0..100] of shortstring; > > i,ii : integer; > > begin > >fil

Re: [fpc-pascal]paths in cross-compiling

2003-11-07 Thread Adam Naumowicz
x27;/lib;/usr/lib;/usr/X11R6/lib',true); > end; > > around line 200. I guess removing the Library... line should solve your > problem. Thanks, it works as expected. Regards, Adam Naumowicz == Department of Appli

Re: [fpc-pascal]paths in cross-compiling

2003-11-06 Thread Adam Naumowicz
ge link.res manually. So the whole thing should be done in the config file, but I don't see how ;-( Adam Naumowicz == Department of Applied Logicfax. +48 (85) 745-7662 Institute of Computer Science tel. +

[fpc-pascal]paths in cross-compiling

2003-11-06 Thread Adam Naumowicz
vance, Adam Naumowicz == Department of Applied Logicfax. +48 (85) 745-7662 Institute of Computer Science tel. +48 (85) 745-7559 (office) University of Bialystoke-mail: [EMAIL PROTECTED] Sosno

[fpc-pascal]Internal Error

2003-06-10 Thread Adam Naumowicz
n ap; end. -- Is this a known issue? Or maybe it has been fixed in the current branch? Best regards, Adam Naumowicz == Department of Applied Logicfax. +48 (85) 745-7662 Institute of Computer Science tel. +4

Re: [fpc-pascal]exceptions

2003-05-30 Thread Adam Naumowicz
Jonas, Thanks for your response. On Fri, 30 May 2003, Jonas Maebe wrote: > > On vrijdag, mei 30, 2003, at 12:47 Europe/Brussels, Adam Naumowicz > wrote: > > > I found it a bit surprising that byte-variable overflow does not raise > > EIntException... > > I'

[fpc-pascal]exceptions

2003-05-30 Thread Adam Naumowicz
Hi, Where can I find detailed information about all the predefined Exception classes and their semantics? I found it a bit surprising that byte-variable overflow does not raise EIntException... I'm using FPC 1.0.6 (with -Co on the command line). Best regards, Adam Naum

Re: [fpc-pascal]Performance testing of FPC programs?

2003-02-07 Thread Adam Naumowicz
he -pg to compile your program and then use gprof to see profile information. Best regards, Adam Naumowicz == Department of Applied Logicfax. +48 (85) 745-7662 Institute of Computer Science tel. +48 (85) 745-755