[fpc-pascal] Linker Error: what does this mean?
gs at g--s.de
Wed Jan 23 00:01:23 CET 2013
The files are completed compiled with FPC, no renaming of VPascal object
The only explanation I have that it must have to do with the size of the
file; the .o has 8 MB and just defines some CONST and VAR structures, no
the .O which ppc386 made has 8.380.376 bytes,
the .OBJ made by vp has 7.002.097 bytes.
----- Original Message -----
From: "Tomas Hajny" <XHajT03 at hajny.biz>
To: "FPC-Pascal users discussions" <fpc-pascal at lists.freepascal.org>
Sent: Tuesday, January 22, 2013 10:13 PM
Subject: Re: [fpc-pascal] Linker Error: what does this mean?
> On 22 Jan 13, at 21:31, Gerhard Scholz wrote:
>> Question: what's the reason for this error?
>> Linking .\read.exe
>> Error: Failed reading coff file, illegal reloctype $0000 while reading
>> The program compiles wonderfully with VirtualPascal; I wanted to
>> it with FPC.
> I will be just guessing because you haven't supplied any information
> about the program which you try to link, but I would suspect that you
> might have tried to link an externally created object file
> (u_unidat.o? - possibly just renamed from u_unidat.obj as previously
> used with VirtualPascal?) and it has object file format not supported
> by our linker. If this assumption is correct, you might need to re-
> create the object file in the right format supported by FPC and/or
> the GNU linker.
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
More information about the fpc-pascal