On Sat, 17 Sep 2011, Norbert Thiebaud wrote:
On Fri, Sep 16, 2011 at 7:07 PM, Peter Foley <pefoley2@verizon.net> wrote:
I'm working on converting soltools to gbuild but I've come across a
problem.
soltools/testhxx/makefile.mk echos the commandline to compile a
cxx file to a temporary file and then runs it through a perl script.
What I need is a way to get the command line used to compile a file with
out actually executing it.
With dmake this seems to be accomplished with
CAPTURE_COMMAND but I haven't been able to find equivalent funcionality in
gbuild. A pointer would be appreciated.
Peter,
The first question you should ask youself is: is this thing actually
used somewhere....
git grep testhxx
soltools/prj/build.lst:so soltools\testhxx
nmake - all so_testhxx so_mkdep NULL
soltools/prj/d.lst:..\%__SRC%\bin\testhxx* %_DEST%\bin\testhxx*
soltools/testhxx/create.pl: $in =~ s!\S+/testhxx.cxx!-x c++ /proc/self/fd/0!
soltools/testhxx/create.pl: $in =~ s!\S+/testhxx.cxx!\${my_tmp}!
soltools/testhxx/create.pl: $in =~ s!\S+/testhxx.cxx!\${my_tmp}!
soltools/testhxx/create.pl: print STDOUT 'echo \'no testhxx on this
platform\'', "\n";
soltools/testhxx/makefile.mk:TARGET := testhxx
soltools/testhxx/makefile.mk:CAPTURE_OUTPUT = >
$(MISC)$/testhxx.output && $(TOUCH) $(SLO)$/testhxx.obj
soltools/testhxx/makefile.mk:SLOFILES = $(SLO)$/testhxx.obj
soltools/testhxx/makefile.mk:$(BIN)$/$(TARGET) .ERRREMOVE :
$(MISC)$/testhxx.output create.pl
soltools/testhxx/makefile.mk: $(PERL) -w create.pl <
$(MISC)$/testhxx.output > $@
soltools/testhxx/makefile.mk:$(MISC)$/testhxx.output: $(SLO)$/testhxx.obj
Apparently the answer is.. no.
Not that soltools contain mostly stuff in support for the old build
system. it is possible that some of theses tools may still be
used/needed by gbuild... but it is quite possible that most will not.
That may not be the best module to convert. if any of it remain
necessary after the full gbuild conversion, it will be the last module
to ever join tail_build since any dmake module left would depends on
it.
Norbert
Ok, I'll work on another module.
Peter
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.