Recent

Author Topic: gdb crashes if project on vfat partition !  (Read 5319 times)

CodeError

  • New Member
  • *
  • Posts: 22
gdb crashes if project on vfat partition !
« on: September 01, 2007, 07:45:46 pm »
Hi all,

I'm trying to share all projects between windows and linux on the same pc. In order to obtain this all code must be on a vfat partition (all win versions support vfat). When I do this, all runs well and I can perfectly open and compile the project under Linux, but the gdb crashes every time when debugging ! I did some testing and I can place my shared units in the vfat (and of course place a reference in the other units section in the compiler options), this works all fine and correct. The problems start when I place the projectfile (lpi) on the vfat partition. BTW I use the default gdb in usr/bin.

A second question is if the o files will not cause troubles when running and compiling one time from within linux and another time from within windows (diverse versions). If I'm correct, other versions are generated per OS. If I cannot use the projects in a shared dir, so be, but at least it should be possible to have no problems in using shared units between the different OS !

Thanks,

CodeError

Bart

  • Hero Member
  • *****
  • Posts: 5575
    • Bart en Mariska's Webstek
gdb crashes if project on vfat partition !
« Reply #1 on: September 02, 2007, 02:12:57 pm »
Somewhere in the IDE you can say where Lazarus should put your executable.
I guess you cannot execute a program under linux on a vfat partition (there maye be a noexec for this partition in fstab)?

Bart

 

TinyPortal © 2005-2018