On 8 Jan at 20:23 Peter Naulls <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]>
> 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. > Sorry about posting from an obfuscated address, and thanks for your reply. > 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). > GCC 3.4.2 release 3. > The issue here is a missing default in make. AS=gcc should work in the > top of the Makefile as work around. > Yes, that works, thanks -- Tony van der Hoff | mailto:[EMAIL PROTECTED] Buckinghamshire, England _______________________________________________ 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
