Quote:
Originally Posted by DrCinicus
To call the linker inside AsmPro (should work also on AsmOne), I add these lines at the start of the source:
AUTO wl rad:main.o\
AUTO y c:blink rad:main.o LIB path:somelib.lib\
When you assemble, and there are 'No errors', the first line save the Linkable file, while the second line execute the linker to create the executable file.
In your work you should assemble and write-linkable one of the file, and put a similar command in the other:
AUTO wl rad:main.o\
AUTO y c:blink rad:main.o rad:file1.o TO rad:myexe\
Bye
Fabio
|
Very useful information, thank you. I've downloaded BLink and I've been doing some tests. I'm not using the AUTO command yet, I'm doing something like this from a shell window, and it's working fine:
blink main.o LIBRARY lib.o TO myexe
First, I tried with something like this:
blink main.o lib.o TO myexe
but it didn't work. Guess it was necessary to specify lib.o as a library.
I understand this is all basic stuff but it's new to me, so... thanks again for your help!