handling -march=invalidarch option in GCC driver

Marcus Binny marcusbinny@yahoo.com
Sat Oct 11 19:38:00 GMT 2003


Following only handles the valid values of -march or
if the -march is not given at all
#define LINK_SPEC   "\
%{march=small: -lsmall } \
%{march=big: -lbig } \
%{!march*:%(link_default)}"

but how to handle the situation if we want to
link_default in case -march=someinvalidarch is given
on the command line.

M



__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com



More information about the Gcc mailing list