Recent

Author Topic: [solved] Where is the "-RIntel" option saved in the project? How to remove it ?  (Read 2516 times)

pik33

  • Jr. Member
  • **
  • Posts: 76
I want to compile the PC project on Raspberry Pi. The PC project has set Intel assembler syntax. The project (now assembler free) doesn't compile on raspberry pi because of "-RIntel" in the fpc command line. The workaround is of course open the project on the PC and set AT&T assembler. I thought it should be possible to simply delete this option somewhere in configuration file but I cannot found where it is kept in the project. 

Feature request: ignore foreign asm syntax configuration instead of fatal error signaling... This error doesn't allow me to write one project for both machines using {ifdef} and intel asm syntax in x86 version
« Last Edit: April 30, 2016, 07:44:25 pm by pik33 »

pik33

  • Jr. Member
  • **
  • Posts: 76
Found.

These lines in .lpi

    <Parsing>
      <Style Value="1"/>
    </Parsing>


guest58172

  • Guest
There are other ways to do this, directly in the source
- in a source or in an inc file:  {$AsmMode Intel}
- Menu project, Project options, Parsing, Assembler style

 

TinyPortal © 2005-2018