Recent

Author Topic: [SOLVED] How to install FPC on RISCV  (Read 1411 times)

Thausand

  • Sr. Member
  • ****
  • Posts: 389
Re: How to install FPC on RISCV
« Reply #15 on: November 02, 2025, 09:39:36 am »
He does not need to set a path to the assembler, it will have been installed into his /usr/bin dir.
No, is no /need/  :)

CROSSBINDIR option is for make sure it is find and not depend system (control user). When use then can change version any and have install every where. That more easy for target new and when is target move ...

Is suggest and have check and work. Have make linux-cross + risc-native compiler.

Kra008

  • Newbie
  • Posts: 6
Re: How to install FPC on RISCV
« Reply #16 on: November 04, 2025, 01:46:36 pm »
Hello everyone again, I think we were able to do this, thank you all very much for your help! :-[ :-*
Code: Bash  [Select][+][-]
  1. @:./ppcrossrv64 -i
  2. Free Pascal Compiler version 3.3.1
  3.  
  4. Compiler date      : 2025/10/31
  5. Compiler CPU target: riscv64
  6.  
  7. Supported targets (targets marked with '{*}' are under development):
  8.   Linux: Linux for RISC-V 64
  9.   Embedded: Embedded
  10.  
  11. Supported CPU instruction sets:
  12.   RV64IMAC,RV64IMA,RV64IM,RV64I,RV64IMAFDC,RV64IMAFD,RV64GC,RV64GCB
  13.  
  14. Supported FPU instruction sets:
  15.   NONE,LIBGCC,SOFT,FD
  16.  
  17. Supported inline assembler modes:
  18.   STANDARD
  19.  
  20. Recognized compiler and RTL features:
  21.   HEAP,INITFINAL,RTTI,CLASSES,EXCEPTIONS,EXITCODE,ANSISTRINGS,WIDESTRINGS,
  22.   TEXTIO,CONSOLEIO,FILEIO,RANDOM,VARIANTS,OBJECTS,DYNARRAYS,THREADING,
  23.   COMMANDARGS,PROCESSES,STACKCHECK,DYNLIBS,SOFTFPU,OBJECTIVEC1,RESOURCES,
  24.   UNICODESTRINGS
  25.  
  26. Recognized modeswitches:
  27.   CLASS,OBJPAS,RESULT,PCHARTOSTRING,CVAR,NESTEDCOMMENTS,
  28.   CLASSICPROCVARS,MACPROCVARS,REPEATFORWARD,POINTERTOPROCVAR,
  29.   AUTODEREF,INITFINAL,ANSISTRINGS,OUT,DEFAULTPARAMETERS,
  30.   HINTDIRECTIVE,DUPLICATELOCALS,PROPERTIES,ALLOWINLINE,
  31.   EXCEPTIONS,OBJECTIVEC1,OBJECTIVEC2,NESTEDPROCVARS,
  32.   NONLOCALGOTO,ADVANCEDRECORDS,ISOUNARYMINUS,SYSTEMCODEPAGE,
  33.   FINALFIELDS,UNICODESTRINGS,TYPEHELPERS,CBLOCKS,ISOIO,
  34.   ISOPROGRAMPARAS,ISOMOD,ARRAYOPERATORS,MULTIHELPERS,
  35.   ARRAYTODYNARRAY,PREFIXEDATTRIBUTES,UNDERSCOREISSEPARATOR,
  36.   IMPLICITFUNCTIONSPECIALIZATION,FUNCTIONREFERENCES,
  37.   ANONYMOUSFUNCTIONS,MULTILINESTRINGS
  38.  
  39. Supported ABI targets:
  40.   DEFAULT
  41.   LP64
  42.   LP64F
  43.   LP64D
  44.   LP64Q
  45.  
  46. Supported Optimizations:
  47.   REGVAR
  48.   STACKFRAME
  49.   PEEPHOLE
  50.   LOOPUNROLL
  51.   TAILREC
  52.   CSE
  53.   DFA
  54.   STRENGTH
  55.   ORDERFIELDS
  56.   FASTMATH
  57.   REMOVEEMPTYPROCS
  58.   CONSTPROP
  59.   USELOADMODIFYSTORE
  60.   UNUSEDPARA
  61.   FORLOOP
  62.  
  63. Supported Whole Program Optimizations:
  64.   All
  65.   DEVIRTCALLS
  66.   OPTVMTS
  67.   SYMBOLLIVENESS
  68.  
  69. Code Generation Backend
  70.   FPC
  71.  
  72. Supported LLVM/Xcode versions (only available with LLVM Code Generation Backend)
  73.  
  74.  
  75. This program comes under the GNU General Public Licence
  76. For more information read COPYING.v2
  77.  
  78. Please report bugs in our bug tracker on:
  79.                  https://bugs.freepascal.org
  80.  
  81. More information may be found on our WWW pages (including directions
  82. for mailing lists useful for asking questions or discussing potential
  83. new features, etc.):
  84.                  https://www.freepascal.org

 

TinyPortal © 2005-2018