Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2020-08

Command Line compiler

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Paul Renaud

Hello,

I've encountered a problem with the command line version of the compiler for OS/2.  It only appears to occur when the compiler attempts to recompile sub-units and the source code is on a FAT formatted hard drive.  When the source code is on a HPFS or JFS formatted drive, the problem doesn't appear.  The versions of OS/2 doesn't appear to matter, as I've encountered  the same problem with OS/2 Warp 4, 4.5 and EComStation 1.2.

Thanks for your consideration.
Paul.

Here is an example of the error the compiler puts out...

[D:\CODE\ANIMATIO]fpc Zbuf3dT.pas -Se -gl
Free Pascal Compiler version 3.2.0 [2020/05/24] for i386 Copyright (c) 1993-2020 by Florian Klaempfl and others Target OS: OS/2
Compiling Zbuf3dT.pas
Error: Compilation raised exception internally
Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
Error: C:\PP\BIN\OS2\ppc386.exe returned an error exitcode

[D:\CODE\ANIMATIO]

Reply by email

Tomas Hajny
to Paul Renaud

On 2020-08-03 18:46, Paul Renaud via fpc-pascal wrote:

Hello Paul,

Show quoted text 10 lines
I've encountered a problem with the command line version of the compiler for OS/2.  It only appears to occur when the compiler attempts to recompile sub-units and the source code is on a FAT formatted hard drive.  When the source code is on a HPFS or JFS formatted drive, the problem doesn't appear.  The versions of OS/2 doesn't appear to matter, as I've encountered  the same problem with OS/2 Warp 4, 4.5 and EComStation 1.2.

I'm sorry, but I cannot reproduce the problem with the simplest case. My test scenario is as follows: FPC 3.2.0 including the RTL installed on an HPFS partition, source code of a simple test program and a very simple test unit placed in the same directory on a FAT(16) partition, compiler invoked from that directory, first compiled the test program, than slightly modified the unit source and recompiled the test program (and thus the unit was recompiled as well). Could you provide me with more details of your scenario, please?

Thanks

Tomas

Reply by email