> I have a question related to default linking. If I introduce a new > command line option (say -ping) how can I say to gcc to link a > library (say ping.o) whenever he encounters -ping in the command > line of compiler ? You can do that in the specs file. For example, see the processing of the -p option on alpha/vms.h Regards, Martin