Recent

Author Topic: [Solved] FPC help screen about -T  (Read 102 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 1993
    • UVviewsoft
[Solved] FPC help screen about -T
« on: November 26, 2022, 10:35:42 pm »
Code: [Select]
  -T<x>  Target operating system:
      -Taros     AROS
      -Tdarwin   Darwin/Mac OS X
      -Tdragonfly DragonFly BSD
      -Tembedded Embedded
      -Tfreebsd  FreeBSD
      -Tiphonesim iPhoneSimulator
      -Tlinux    Linux
      -Tnetbsd   NetBSD
      -Topenbsd  OpenBSD
      -Tsolaris  Solaris
      -Twin64    Win64 (64 bit Windows systems)
I miss Win32 here and DOS. Why they are missed? Win32 cross-compiler is installed here. (MSDOS not.)
« Last Edit: November 26, 2022, 10:57:43 pm by AlexTP »

tetrastes

  • Sr. Member
  • ****
  • Posts: 295
Re: FPC help screen about -T
« Reply #1 on: November 26, 2022, 10:46:14 pm »
Because your fpc is 64-bit. Try fpc -Pi386.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 10478
  • FPC developer.
Re: FPC help screen about -T
« Reply #2 on: November 26, 2022, 10:51:25 pm »
(to clarify:  the architecture that "fpc" is compiled with determines the backend (ppc386,ppcx64) it tries first without the additional -P parameters that Tetrastes mentions. In your case it seems compiled for  x86_64 so it only lists 64-bit x86_64 targets)

 

TinyPortal © 2005-2018