Recent

Author Topic: [SOLVED] Accessing Disks in Linux seems no longer possible with FileOpen  (Read 3060 times)

MarkMLl

  • Hero Member
  • *****
  • Posts: 6683
Re: Accessing Disks in Linux seems no longer possible with FileOpen
« Reply #15 on: August 28, 2020, 08:46:29 pm »
because I couldn't run the program as sudo within Lazarus with the debugger and that was obviously what was cuasing -1 by FileOpen)

Run it with gdbserver. The stuff that I'm working on either needs POSIX capabilities (which are lost inside gdb) or to be run as root, and using root to run gdbserver then the usual IDE is a combination that works well.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018