2009/2/3 Sean Callanan <spy...@cs.sunysb.edu>: > -- > -Wl,option > Pass option as an option to the linker. If option contains > commas, > it is split into multiple options at the commas. > -- > So perhaps we could do something like > -- > -Wplugin-$NAME,arg=value >
I apologise if this sounds bikeshedding, but the "W", in -Wl is just historical, it doesn't have any meaning as far as I know. And not all options of gcc must start by either -f or -W. So please use just -plugin, or, following your proposal: -plugin=$NAME,arg1=value1,arg2=value2 Let -Wplugin be something that warns about plugins, whatever that may mean in the future. Cheers, Manuel.