Author Topic: Compiling instructions  (Read 657 times)

Offline SharkD

  • Hero Member
  • *****
  • Posts: 1011
    • View Profile
    • Isometricland
Compiling instructions
« on: August 29, 2006, 02:36:23 AM »
I copied the contents of "compiling.txt" into this page in the wiki: http://ghwiki.chaosforge.org/index.php/Development      :Compiling

Offline Aquillion

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Compiling instructions
« Reply #1 on: August 31, 2006, 11:03:05 PM »
Those instructions are only for Gearhead 1, though.  For Gearhead 2, it's reversed; SDL is the default, and ASCII requires the command line as follows:

ppc386 gearhead -dASCII

Offline Tung Nguyen

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • http://tunginobi.spheredev.org/
Compiling instructions
« Reply #2 on: September 01, 2006, 08:27:07 AM »
I distinctly remember ppc386 telling me that the recommended compiler invocation was via the "fpc" command. Not that it makes too much a difference, but that could change.

threetoast

  • Guest
Compiling instructions
« Reply #3 on: October 17, 2006, 04:31:10 PM »
I get this error when trying to compile with these options:

"/usr/lib/fpc/2.0.4/units/i386-linux/rtl/system.o:  In function `SYSTEM_init':
system.pp:(.text+0x1632b): undefined reference to `__stkptr'
gearhead.pas(232,1) Error: Error while linking"

Is this my problem?