Re: statically linking standard libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



JJ <alchemistmba@xxxxxxxxx> writes:

> I also need to pass a linker script to the linker. I tried the
> following option to g++:
>
> -Xlinker "-T temp.ld"

That will pass "-T temp.ld" as a single option, which causes the
linker to look for the file " temp.ld" (with a leading space).

Use

-Xlinker -T -Xlinker temp.ld

or

-Wl,-T,temp.ld

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux