Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Freepascal and binary files? (Developers)

posted by tkchia Homepage, 30.10.2021, 07:33
(edited by tkchia on 30.10.2021, 18:29)

Hello Laaca,

> __BUT__
> It works perfectly with FPC 1.0.10 and with FPC 2.4.2
> However it does NOT with FPC 3.2.0 and 3.0.4 !
> Why???
> The 3.x.y versions of FPC refuse to compile the source with this error
> message:
> "Error - Failed reading coff file, invalid section index while reading
> hello.o"

No idea what is happening, but apparently the compiler or linker does not like hello.o's contents. What I might do is to use Watcom's wdis (or some other disassembler) to dump hello.o to see what might be wrong...

Thank you!

---
https://gitlab.com/tkchia · https://codeberg.org/tkchia · 😴 "MOV AX,0D500H+CMOS_REG_D+NMI"

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 250 users online (0 registered, 250 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum