[fpc-devel]fvision / IDE

Lee, John LeeJ at logica.com
Tue Mar 13 15:37:43 CET 2001

Afraid this will not work! The IDE does not use fvision at present, but uses
code based on Borland's fv. For copyright reasons the fv source is not
distributed with fpc. We are intending to use fvision in future (weeks,
months?) for v1.1 onwards & are awaiting the latest version from Leon de
Boer, but for v1.0.4 and future fixes for v1.0 we will continue to use fv.

Regards John

-----Original Message-----
From: Alejandro Néstor Vargas [mailto:anv at xnetcuyo.com.ar]
Sent: Tuesday, March 13, 2001 02:12
To: fpc-devel at deadlock.et.tudelft.nl
Subject: [fpc-devel]fvision / IDE

El Sáb 10 Mar 2001 22:33, escribiste:

I am trying to compile the ide for linux. But before, I need to compile 
fvision under linux. But I found there is not code defined for "OS_LINUX",
example, the for function FileWrite there is code for windows and OS/2. When

I tryed to compile fileio.pas I obtained the following result:

[root at anv fvision]# ppc386 fileio.pas
Free Pascal Compiler version 1.0.4 [2000/12/18] for i386
Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Linux for i386
Compiling fileio.pas
fileio.pas(76,2) Note: Stack check is global under Linux
fileio.pas(624,1) Fatal: Syntax error, BEGIN expected but END found

An example of a function that hasn't implementation for OS_LINUX is this:


FUNCTION FileWrite (Handle: Word; Var Buf; Count: Sw_Word; Var Actual: 
Sw_Word): Word;


{$IFDEF OS_WINDOWS}                                   { WIN/NT UNITS }

  {$IFNDEF PPC_SPEED}                                 { NON SPEED COMPILER }
    {$IFDEF PPC_FPC}                                  { FPC WINDOWS COMPILER
    USES Windows;                                     { Standard unit }
    {$ELSE}                                           { NON FPC COMPILER }
    USES WinTypes, WinProcs;                          { Stardard units }
  TYPE LongWord = LongInt;                            { Type fixup }
  {$ELSE}                                             { SPEEDSOFT COMPILER }
  USES WinNT, WinBase;                                { Standard units }


{$IFDEF OS_OS2}                                       { OS2 COMPILERS }

  {$IFDEF PPC_VIRTUAL}                                { VIRTUAL PASCAL UNITS
  USES OS2Base;                                       { Standard unit }

  {$IFDEF PPC_SPEED}                                  { SPEED PASCAL UNITS }
  USES BseDos, Os2Def;                                { Standard units }

  {$IFDEF PPC_BPOS2}                                  { C'T PATCH TO BP
  USES DosTypes, DosProcs;                            { Standard units }


Alejandro Néstor Vargas
Departamento de Desarrollo
X Net Cuyo S.A.

fpc-devel maillist  -  fpc-devel at lists.freepascal.org

More information about the fpc-devel mailing list