Recent

Author Topic: Free Pascal DOS: Is LFN required for work?  (Read 916 times)

Milsa

  • Sr. Member
  • ****
  • Posts: 323
Free Pascal DOS: Is LFN required for work?
« on: November 09, 2024, 09:38:31 am »
I installed FP with LFN in DOSBox-x. I copied it to CF card for Pocket 386 with DOS 6.22. It is necessary LFN for work with it? Bacause I use Dos Navigator without LFN. Necromancer Dos Navigator doesn't work on this computer. Copying files may break LFN in this version of DN. I don't find any file with LFN in Free Pascal.
I work with Lazarus 2.2.2, FPC 3.2.2, date 2022-05-15
This information is actual to: 28st Dec 2022

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11946
  • FPC developer.
Re: Free Pascal DOS: Is LFN required for work?
« Reply #1 on: November 09, 2024, 12:43:05 pm »
Usually FPC is considered to be usable without SFN, but it is hard to compile (bootstrap) FPC itself or build releases without LFN. Maybe older Dos users used Win9x anyway.

I haven't heard much news on the practicalities of the dos front for daily use in recent years.

Milsa

  • Sr. Member
  • ****
  • Posts: 323
Re: Free Pascal DOS: Is LFN required for work?
« Reply #2 on: November 09, 2024, 02:06:40 pm »
Thank you for your answer.

DOS is for retro projects. No for daily use.
I work with Lazarus 2.2.2, FPC 3.2.2, date 2022-05-15
This information is actual to: 28st Dec 2022

Milsa

  • Sr. Member
  • ****
  • Posts: 323
Re: Free Pascal DOS: Is LFN required for work?
« Reply #3 on: November 09, 2024, 02:18:30 pm »
Is it possible to tell FP to also search recursively in subdirectories when looking for libraries for programs? I can't run the examples without putting the libraries all in one directory.
I work with Lazarus 2.2.2, FPC 3.2.2, date 2022-05-15
This information is actual to: 28st Dec 2022

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11946
  • FPC developer.
Re: Free Pascal DOS: Is LFN required for work?
« Reply #4 on: November 09, 2024, 02:40:56 pm »
For precompiled units and unit source, yes:  Append a * to the end of the path e.g.

-Fuc:\fpc\units\i386-go32v2\*

(preferably in the similar line in fpc.cfg)

Libraries (external .a files), not that I know.

Milsa

  • Sr. Member
  • ****
  • Posts: 323
Re: Free Pascal DOS: Is LFN required for work?
« Reply #5 on: November 09, 2024, 02:57:04 pm »
I think units, yes. Thank you.

I just found out that FP doesn't work on the Pocket 386. I got a SIGILL error.
I work with Lazarus 2.2.2, FPC 3.2.2, date 2022-05-15
This information is actual to: 28st Dec 2022

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11946
  • FPC developer.
Re: Free Pascal DOS: Is LFN required for work?
« Reply #6 on: November 09, 2024, 04:54:46 pm »
My guess would be that it is the floating point requirement.  So probably you need to install/configure the emu387.dxe from djgpp.

It used to be in the dos distribution iirc.

 

TinyPortal © 2005-2018