Menu

#1 Invalid compile comand for asm sources.

open
nobody
None
5
2006-07-05
2006-07-05
Anonymous
No

Package:
net.sourceforge.eclipsesdcc-1.0.0-linux.gtk.x86.tar.gz

Compile log is:
Building file: ../rom1210.asm
Invoking: SDCC Assembler
asx8051 -losffgp -orom1210.rel ../rom1210.asm

ASxxxx Assembler V01.70 + NoICE + SDCC mods + Flat24
Feb-1999 (Intel 8051)

Usage: [-dqxjgalopsf] file1 [file2 file3 ...]
d decimal listing
q octal listing
x hex listing (default)
j add line number and debug information to file
g undefined symbols made global
a all user symbols made global
l create list output file1[LST]
o create object output file1[REL]
s create symbol output file1[SYM]
p disable listing pagination
f flag relocatable references by ` in listing file
ff flag relocatable references by mode in listing file

removing
make: *** [rom1210.rel] Błąd 1
make: Obiekt `all' nie został wykonany z powodu błędów.

Command should be:
asx8051 -losffgp ../rom1210.asm

asx8051 does not accept -o as a filename parameter.

Discussion

  • Ekkehard Domning

    Logged In: YES
    user_id=292298
    Originator: NO

    Additionally using the given command parameters the created file(s) are placed into the directory where the source resides instead of the output directory, leading into the situation where the linker can not find them.

     
  • Ekkehard Domning

    Logged In: YES
    user_id=292298
    Originator: NO

    Take a look to the work around in the patches section.

     

Log in to post a comment.