Re: Passing options down to assembler and linker

2010-04-23 Thread Jean Christophe Beyler
That's exactly what I needed, thanks a lot :-) Worked like a charm ! Jc On Fri, Apr 23, 2010 at 2:09 PM, Nathan Froyd wrote: > On Fri, Apr 23, 2010 at 01:55:48PM -0400, Jean Christophe Beyler wrote: >> I know we can pass -Wl,option, -Wa,option from gcc down to as and ld >> however if I have to w

Re: Passing options down to assembler and linker

2010-04-23 Thread Nathan Froyd
On Fri, Apr 23, 2010 at 01:55:48PM -0400, Jean Christophe Beyler wrote: > I know we can pass -Wl,option, -Wa,option from gcc down to as and ld > however if I have to write : > > gcc -mArch2 -Wl,--arch2 -Wa,--arch2 hello.c > > it gets a bit redundant, I must be blind because I can't seem to find >

Re: Passing options down to assembler and linker

2010-04-23 Thread David Daney
On 04/23/2010 10:55 AM, Jean Christophe Beyler wrote: Dear all, I've been working on a side port for an architectural variant and therefore there are a few differences in the assembler and linker to be handled. I know we can pass -Wl,option, -Wa,option from gcc down to as and ld however if I ha

Passing options down to assembler and linker

2010-04-23 Thread Jean Christophe Beyler
Dear all, I've been working on a side port for an architectural variant and therefore there are a few differences in the assembler and linker to be handled. I know we can pass -Wl,option, -Wa,option from gcc down to as and ld however if I have to write : gcc -mArch2 -Wl,--arch2 -Wa,--arch2 hello