Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Free Pascal 3.0.2 - external linker? (Announce)

posted by Laaca(R) Homepage, Czech republic, 24.03.2017, 21:13
(edited by Laaca on 24.03.2017, 22:27)

I am very busy these days but from time to time I a little bit experiment with FPC 3.0.2
As I reported into FPC there is a issue (No. 0030548) that FPC compiled programs (I mean for DOS) can't be compiled with UPX because the COFF header changed a little bit.
It is bug of UPX not FPC bug and I reported it into UPX developer.
I thought that it is caused by calling some external DJGPP linking utility. But the DJGPP support files (in the \BIN\GO32V2 directory) are the same as in my favorite FPC version 2.4.2
And even if I use the external linking switch (FPC.EXE -Xe test.pas) the generated .EXE is compatible with UPX.
So it is a bit unexpected for me. FPC now uses some incompatible DJGPP code inside itself (inside FP.EXE and FPC.EXE) and no external utilities has nothing to do with it?



Complete thread:

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