From: Bernhard H. <ber...@be...> - 2001-11-09 08:12:38
|
>I have my .rel files. Great :-) >Also i need to link couple of .rel files >from the share/sdcc/lib directory. Please let me know with what options >i can use aslink from the makefile to link the files and generate an intel hex file. The easiest way is to use sdcc as linker driver. The following example will work, when the libraries are installed in the standard path /usr/local/share/lib: sdcc obj_with_main_first.rel second.rel third.rel Different library search path: sdcc obj_with_main_first.rel second.rel third.rel -L/my/lib/path Add option -V to see, what subcommands are run by sdcc. Bernhard |