need help on GCC driver

2009-07-30 Thread Vikram KS
Hi, I have some question on gcc driver. Whenever we invoke gcc, it'll pass some default options to the compiler, assembler linker etc. But if i dont want to pass all these default options but only some of them, what should i do? For eg: gcc will pass the following option to cc1 /usr/libexec/gcc

Re: need help on GCC driver

2009-07-30 Thread Basile STARYNKEVITCH
Vikram KS wrote: Hi, I have some question on gcc driver. You really should give more context. Are you doing cross-compilation? Are you patching the GCC sources? Why do you want to generate a *.sl file? What are your host & target systems? Whenever we invoke gcc, it'll pass some default opt

Re: need help on GCC driver

2009-07-30 Thread Vikram KS
On Thu, Jul 30, 2009 at 8:14 PM, Basile STARYNKEVITCH wrote: > > Vikram KS wrote: >> >> Hi, >> >> I have some question on gcc driver. > > You really should give more context. Are you doing cross-compilation? Are you > patching the GCC sources? Why do you want to generate a *.sl file? What are >

Re: need help on GCC driver

2009-07-30 Thread Basile STARYNKEVITCH
Vikram KS wrote: So in the back-end there are driver options that will help me to invoke the existing tool-chain through GCC driver. But the assembler takes only .sl extensions. I tried to replace the .s extension with .sl extension. But by default the cc1 will have some options passed from the