This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch: toplevel patch for --enable-libgomp


> I'd much rather have a generic --disable-<component> argument that
> having people come up with separate but nearly-identical code for each
> component one might want to disable.  I'd hook this right before the
> loop preceded by the comment:
> 
> # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
> # $build_configdirs and $target_configdirs.
> # If we have the source for $noconfigdirs entries, add them to $notsupp.
> 
> Iterate over configdirs, build_configdirs and target_configdirs and,
> if eval \"\${enable_${dir}}\" = no, add dir to noconfigdirs.

Sure, I can do this.

However, right now we have options for things like --disable-libgcc-math,
which if I use your scheme above would be --disable-target-libgcc-math.
Is it ok to sed out the "target-" ??

Aldy


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]