[gccsdk] correct syntax for as

Tony van der Hoff news at nospam.vanderhoff.org
Tue Jan 8 11:59:48 PST 2008


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.

Cheers, Tony

Tony van der Hoff       | mailto:news_0711 at vanderhoff.org
Buckinghamshire, England

More information about the gcc mailing list