Recent

Author Topic: how to proceed compilation of a unit after manually fix the .s file?  (Read 486 times)

Key-Real

  • Full Member
  • ***
  • Posts: 202
I'm compiling a library under osx(intel).
FPC trunk trows me errors compiling the .s file of a unit.
This is a fpc bug. I gona do a bug report.
I can fix the .s file manually.
It compiles now with #as file.s

how to proceed the compilation using this manually fixed .s file?

PascalDragon

  • Hero Member
  • *****
  • Posts: 5481
  • Compiler Developer
Re: how to proceed compilation of a unit after manually fix the .s file?
« Reply #1 on: December 04, 2022, 07:17:42 pm »
I can fix the .s file manually.
It compiles now with #as file.s

how to proceed the compilation using this manually fixed .s file?

You need to compile with -sh, do your patch and then execute the generated ppas.sh from the same directory you invoked the compiler from originally (even if it's put into a different location).

 

TinyPortal © 2005-2018