This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Passing options through gcc to linker


On Tue, Apr 30, 2002 at 10:44:31AM +0100, D. Towner wrote:
> I am writing a gcc port for a new machine. I need to pass various options
> to the linker, through gcc. Up until now, I have done this using Xlinker:
> 
> gcc test.c -Xlinker --set-stack-offset -Xlinker 1024
> 
> This is not particularly neat...

Try -Wl,--set-stack-offset,1024 instead.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]