[fpc-devel] DragonFly BSD x86-64 support --- patch sets ready for commit to trunk

John Marino fpc-devel at marino.st
Sun Nov 23 12:04:27 CET 2014

I've applied the DragonFly BSD support to the trunk.  The 2.6.4 compiler
can bootstrap it and it builds itself and helloworld.

I've split it into 3 patch sets for the convenience of the committer:




The first diff are modifications to existing files minus anything in
packages.  The second diff are modifications to existing files in
packages.  The third diff is the entire rtl/dragonfly directory minus a

After committing,
  1) all makefile needs need regenerated (and rtl/dragonfly/Makefile
  2) utils/fpcm/fpcmake.inc needs to be regenerated

  A) The change to compiler/cfileutl.pas is not intended to be
permanent, but until I figure out why dircache isn't working, it's needed.
  B) rtl/bsd/ostypes: fixed constants S_IRUSR, S_IWUSR, S_IRGRP,
S_IWGRP, S_IXGRP.  These were actually incorrect.
  C) rtl/bsd/ostypes: changed S_IFMT and friends to octal.  They were
correct but octal is a lot easier to check than decimal -- headers are
written in octal.

I would be very elated if this could get committed prior to the next
release as Free Pascal 2.6.4 is already available to via a derivative of
the FreeBSD Ports Collection (called DPorts)

Thanks to all who provided advise to get me here.

More information about the fpc-devel mailing list