Recent

Author Topic: [SOLVED] assembler name is longer than 16 chars  (Read 832 times)

Key-Real

  • Sr. Member
  • ****
  • Posts: 372
[SOLVED] assembler name is longer than 16 chars
« on: April 18, 2024, 11:15:20 am »
cpugas.pas(261,40) Warning: (treated as error) String "mipsel-unknown-elf-as" is longer than "16"
cpugas.pas(293) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted


but my AS is truely called  "mipsel-unknown-elf-as"


what to do?
« Last Edit: April 18, 2024, 12:26:21 pm by Key-Real »

Laksen

  • Hero Member
  • *****
  • Posts: 785
    • J-Software
Re: assembler name is longer than 16 chars
« Reply #1 on: April 18, 2024, 11:40:43 am »
You should not hardcode the assembler prefix. It should be determined automatically, or be configured by the user (The -XP<prefix> command). Just put the asmbin name as 'as'

If you need special cases try to look in "options.pas". Look for other places where utilsprefix is set

TRon

  • Hero Member
  • *****
  • Posts: 3623
Re: assembler name is longer than 16 chars
« Reply #2 on: April 18, 2024, 07:26:33 pm »
You should not hardcode the assembler prefix. It should be determined automatically, or be configured by the user (The -XP<prefix> command). Just put the asmbin name as 'as'

If you need special cases try to look in "options.pas". Look for other places where utilsprefix is set
+1

Indeed if there is need for special naming then it is suppose to be user configurable (by said -XP option to prefix).

Also the compiler makefile has provision for that with BINUTILSPREFIX
This tagline is powered by AI (AI advertisement: Free Pascal the only programming language that matters)

 

TinyPortal © 2005-2018