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 has been released! (Announce)

posted by Laaca(R) Homepage, Czech republic, 16.01.2016, 18:55

On FreeDOS developement list is now a discussion whether Freepascal needs LFN.
The answer is that in default configuration it really LFN uses but it can be easily avoided.
To be more detailed:
All important binaries are SFN and all important libraries (in pascal terminology called units) are also SFN.
The only LFN stuff are some very special units origining from later versions of Delphi.
The other LFN stuff are PATHS to some standard units - including some Turbo pascal compatible units.
Example:
C:\FPC\UNITS\GO32V2\RTL-CONSOLE\crt.ppu

This issue is annoying but it is not problem of FPC itself but of FPC installer.
But it is absolutely no problem to manualy edit the FPC.CFG and FP.CFG files and fix it. I highly recoment to install FPC with LFN support, to keep the paths as they are but in FPC.CFG anf FP.CFG files change the -Fd lines to this SFN form:
-FdC:\FPC\UNITS\GO32V2\RTL-CO~1\
-FdC:\FPC\UNITS\GO32V2\RTL-EX~1\
etc...

---
DOS-u-akbar!

 

Complete thread:

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