Recent

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

MarkMLl

  • Hero Member
  • *****
  • Posts: 1319
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
Turbo Pascal v1 on CCP/M-86, multitasking with LAN and graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.

 

TinyPortal © 2005-2018