Saturday, 6 July 2013

[gccsdk] Help Using Asasm

Is there anything like a "beginners' guide" to using Asasm to assemble code
(on Linux, if that makes any difference)? Google's failed to turn anything
up.

I've got a set of ObjAsm files for a couple of RISC OS projects, which at
present I have to assemble and link using the DDE on RISC OS. Given that I
don't use the DDE for much else, that's always been a hassle.

From Asasm's --help option, I can see that I should probably be assembling
to ELF and then linking. A simple ObjAsm version of what I'm attempting to
do looks a bit like this:

ObjAsm s.SourceFile -NoCache -desktop ^ -ABSolute -o o.ObjectFile
Link o.ObjectFile -bin -c++ -o OutputFile

Can anyone suggest how it would convert across? What is the equivalent to
Link in this case?

--
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/

_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment