#1597 SDCC assemblers do not process "-o" option correctly.

closed-fixed
assembler (26)
5
2013-05-25
2010-01-03
No

- On latest (svn) version of SDCC, assemblers (sdas6808, sdas8051, sdasgb,
sdasz80) do not process "-o" option correctly.

- Below, an example of "sdasz80" message output:

+++
$ /usr/local/sdcc/bin/sdasz80.exe -o crt0.o ../src/mpu/crt0.asm
crt0.o: cannot open.
removing
+++

- Remarks: The same problem exist on Cygwin (1.7) and Linux (Slackware 12.1).

Claude.

Discussion

  • Borut Ražem

    Borut Ražem - 2010-01-03

    That is because the current sdasz80 version doesn't support -o option. This is due the unification with sdas for other targets and with asxxxx. Only as-z80 and as-gbz80 supported the -o option, asx8051 and as-hc80 did not.

    This is not documented yet, since is not yet decided if it will remain for the next sdcc release...

    I'm leaving this bug open until it is decided how will it be in the final version and it is properly documented.

    Borut

     
  • Borut Ražem

    Borut Ražem - 2010-01-03
    • milestone: --> known_bugs
    • assigned_to: nobody --> borutr
     
  • Borut Ražem

    Borut Ražem - 2010-01-29

    The sdas command line syntax is now compatible with asxxxx v5.0.

    Fixed in svn revision #5656.

    Borut

     
  • Borut Ražem

    Borut Ražem - 2010-01-29
    • status: open --> closed-fixed
     

Log in to post a comment.