RE: how to truly override a specs file

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

 




> -----Original Message-----

> can anyone suggest a method for either completely and actually overriding
> the system specs file, or else *removing* via command line arguments
> -I/-L directives that arrived via the system specs file?  does anyone
> else find this documentation a bit confusing?


just rename the parts of the main spec file you wish to override like so :-

%rename link		old_link
%rename endfile		old_endfile

*link:
-T gba_er.ld%s %(old_link)

*startfile:
er_crt0%O%s

this is from a specs fragment I used to get rid of the extra crt files and
insert a custom linkscript for a particular subtarget.


Dave



[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