Lazarus

Free Pascal => General => Topic started by: Key-Real on December 04, 2022, 02:22:25 pm

Title: how to proceed compilation of a unit after manually fix the .s file?
Post by: Key-Real on December 04, 2022, 02:22:25 pm
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?
Title: Re: how to proceed compilation of a unit after manually fix the .s file?
Post by: PascalDragon 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