[fpc-pascal] The keyboard unit
freedos.la at gmail.com
Sat May 11 02:01:30 CEST 2019
On 5/10/2019 4:42 PM, Kevin Lyda wrote:
> When I compile and run this small test program (
> https://gist.github.com/lyda/2d33a6d91067e9dffb4ed37147b52583 ) the
> following happens:
> % fpc test.pas
> Free Pascal Compiler version 3.0.4+dfsg-22~bpo9+2 [2019/02/22] for x86_64
> Copyright (c) 1993-2017 by Florian Klaempfl and others
> Target OS: Linux for x86-64
> Compiling test.pas
> Linking test
> /usr/bin/ld.bfd: warning: link.res contains output sections; did you forget -T?
> 7 lines compiled, 0.1 sec
> % ./test
> Runtime error 106 at $000000000042968D
> If I remove the uses clause it runs fine. Why is the keyboard unit,
> which isn't even being used, causing this error?
Away from any computer with FreePascal installed, but could it be that
this is a non-Linux aware unit which does something DOS-specific (as you
select TP mode), which of course doesn't work under Linux...
This email has been checked for viruses by Avast antivirus software.
More information about the fpc-pascal