This is the mail archive of the
mailing list for the GCC project.
Passing options down to assembler and linker
- From: Jean Christophe Beyler <jean dot christophe dot beyler at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 23 Apr 2010 13:55:48 -0400
- Subject: Passing options down to assembler and linker
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
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
how to do it internally.
Any advice would be much appreciated!