[fpc-devel] Packaging

Marco van de Voort marcov at stack.nl
Wed Mar 30 22:44:56 CEST 2005


> I think this should be a nice solution:
> bootstrap-<arch>-<os>-<the version i can bootstrap with this>.tar.gz
> 
> This results in:
> bootstrap-386-linux-1.9.8.tar.gz containing a 1.0.10 version binary, for
> example.
> 
> Please note i used "386" for <arch>, not x86, or something. So <arch> is
> always a valid ppc* ending. This eases up scripting.

In the FPC crosbuild and  installation scripts there are some conversions
for this, e.g.

 # conversion from long to short archname for ppc<x>
  case $FPCTARGET in
    m68k*)
      PPCSUFFIX=68k;;
    sparc*)
      PPCSUFFIX=sparc;;
    i386*)
      PPCSUFFIX=386;;
    powerpc*)
      PPCSUFFIX=ppc;;
    arm*)
      PPCSUFFIX=arm;;
    x86_64*)
      PPCSUFFIX=x64;;
    mips*)
      PPCSUFFIX=mips;;
    ia64*)
      PPCSUFFIX=ia64;;
    alpha*)
      PPCSUFFIX=alpha;;
  esac

See install/ directory.




More information about the fpc-devel mailing list