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 (top-level build machinery, mainline, ping1): Fix in-src 'strap


In article <200312181956.hBIJuumT025609@greed.delorie.com>
DJ Delorie<dj@redhat.com> writes:

>> DJ, could Kelley adjust the proposed libiberty vpath patch to use
>> this form:
>> 
>> @USE_SRC_VPATH@
>> 
>> which expands to '#' or nothing?  This trick is used elsewhere in
>> various gcc Makefile.in ('s).  This way, (if I understand it right) we
>> could unconditionally remove the staging of all target libs from gcc's
>> top-level instead of just libstdc++-v3.

> Would this fix the problem for non-gnu make?

In the following manner: Only a top-level gcc configuration would set
@USE_SRC_VPATH@ to empty.  The default would be to set it to '#' thus
by default one would get a libiberty Makefile which looks just like
the current Makefile.

In the alternative, I will just install an update of my patch with the
logic flipped and enabled for all target-only libraries as requested
by Nathanael.

Regards,
Loren


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