Recent

Author Topic: Assembler and linker script  (Read 1092 times)

TRon

  • Hero Member
  • *****
  • Posts: 4377
Assembler and linker script
« on: May 03, 2020, 04:01:19 pm »
Hi,

A while ago i've read on this forum that there isn't really a syntax check available. Someone suggested a clever workaround for that by passing the commandline option -s to the compiler.

The documentation on that switch states:
"Do not call assembler and linker"

However, it does still generate a assembler/linker script.

Is that even necessary when assembling and linking is omitted ?
Today is tomorrow's yesterday.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12771
  • FPC developer.
Re: Assembler and linker script
« Reply #1 on: May 03, 2020, 04:08:47 pm »
Well, that option is primarily meant to inspect and/or modify those scripts, and then assemble/link. So yes, that is necessary.

TRon

  • Hero Member
  • *****
  • Posts: 4377
Re: Assembler and linker script
« Reply #2 on: May 07, 2020, 09:22:24 am »
@marcov:
Thank you, as i did not know/understood that was the intention behind the option.
Today is tomorrow's yesterday.

 

TinyPortal © 2005-2018