Thomas Zepf via Sdcc-user wrote on 2024-12-30 03:34:
SDCC v4.4 I need to add some lowlevel asm functions to my project. Since i dont like output files in my src directory i am using relative paths. All outputs go to my ./SDCC/ob/j sources are at ../src/ When i am doing "sdas8051 -losg .\obj\lowlevel ..\src\lowlevel.as" all outs are in .\obj\.... exept for the .rel file which is not generated or more likely deleted. "sdas8051 -o .\obj\lowlevel.rel ..\src\lowlevel.as" on the otherhand creates .\obj\lowlevel.rel "sdas8051 -losg ..\src\lowlevel.as" populates my src directory with all outfiles.
The generated .\obj\lowlevel.asm will be your .rel file. If you choose to leave out the extension sdas8051 will use a .asm extension. Happy New Year, Maarten _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user