Tony van der Hoff wrote: > Hi, > > I'm trying to do a bit of assembly under RISC OS using GCC, using the > current version from http://www.riscos.info/index.php/GCC_for_RISC_OS. > > My makefile contains the following rule: > .s.o: ;$(AS) -o $@ $< > > which resolves to > as -o riscosa.o riscosa.s > File 'as' not found > > Now, 'as' sits in some obscure subdirecory under !gcc/bin, with no obvious > path to it, so how is it expected to find it? > > Am I supposed to override the default $(AS) with something else? > > I'm sure it's documented somewhere, but I can't find it.
Perhaps you can tell us what GCC version you're using, but 'as' isn't really meant be called directly under RISC OS, as calling 'gcc' does the job just as well (or better in some cases). The issue here is a missing default in make. AS=gcc should work in the top of the Makefile as work around. _______________________________________________ GCCSDK mailing list [email protected] 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
