[fpc-pascal] ReAllocMem problem (?)

2005-01-17 Thread Marcel Martin
Hello, The following function SysReAllocMem comes from the file /rtl/inc/heap.inc (FPC 1.9.7 / Win32) function SysReAllocMem(var p: pointer; size: ptrint):pointer; [...] { Resize block } if not SysTryResizeMem(p,size) then begin minsize := MemoryManager.MemSize(p); if size < mi

[fpc-pascal] Cross linking

2005-01-17 Thread Marco van de Voort
People on IRC might already have noticed, but I was playing a bit with crosscompiling from mingw->*nix. The first successes are in, though this is only the initial procedure. To compile linux lazarus on windows: (the procedure from freebsd will not differ much, the cprt0 copying is not needed fo

Re: [fpc-pascal] Version 1.9.6[??] on the Mac.

2005-01-17 Thread Pedro Lopez-Cabanillas
On Monday 17 January 2005 08:38, Marco van de Voort wrote: > smf compiles fine under freeBSD. Thanks for testing. > Alsapas has a unit libc dependancy. Most symbols used seem to be simple > types that are named slightly differently, but the piping functions use > libc stdio, which is not defined p

Re: [fpc-pascal] Compiling error 1.9.6 not in 1.0.10

2005-01-17 Thread jordi
El dl, 17-01-2005 a las 12:21, Peter Vreman escribió: > That is a bug in 1.0.x. FPC 1.9.6 is more delphi compatible. Remove the > $ifndef fpc and it'll work with 1.9.6. > Ok, thanks! -- jordi <[EMAIL PROTECTED]> ___ fpc-pascal maillist - fpc-pas

Re: [fpc-pascal] Compiling error 1.9.6 not in 1.0.10

2005-01-17 Thread Peter Vreman
> Hi, I get the next error when compiling synsock.pas from Ararat synapse > with fpc version 1.9.6 : > > synsock.pas(991,59) Fatal: Syntax error, ":" expected but ";" found > > "older" versions of fpc (1.0.10) compiled this unit fine. Is there a way > to compile this without changing code? > > > Th

[fpc-pascal] Compiling error 1.9.6 not in 1.0.10

2005-01-17 Thread jordi
Hi, I get the next error when compiling synsock.pas from Ararat synapse with fpc version 1.9.6 : synsock.pas(991,59) Fatal: Syntax error, ":" expected but ";" found "older" versions of fpc (1.0.10) compiled this unit fine. Is there a way to compile this without changing code? The wrong line is

Re: [fpc-pascal] Version 1.9.6[??] on the Mac.

2005-01-17 Thread Peter H.M. Brooks
Marco van de Voort wrote: I've been working to compile smf.pas. I've loaded fpc 1.9.6 on Windows XP and, indeed, it compiles perfectly - later I get errors finding Libc, but that's understandable as it isn't Unix, besides I really want it wo work on the Mac. I've no idea about how to compile