Steve Fink <[EMAIL PROTECTED]> writes: > On Sep-18, Juergen Boemmels wrote: > > > Following things were done: > > - s,/,\${slash},g > > Ugh. How difficult would it be to have Configure do this rewriting > automatically? (Or rewrite to whatever it is you need, instead)? This > just clutters up the makefiles a little too much, IMO.
Yes. In principle it is adding above line to config/gen/makefile.pl I went the above way because parts of the Makefile already used this style. > > - remove of && in the makefiles: > > I introduced $(MAKE_C) which calls a perlscript which recursively > > calls $(MAKE) to get rid of > > cd doc && make && cd .. > > This seems like a clear improvement. > > > The few cases where && is not used for descending into > > subdirectories it is replaced with ${make_and} which expands to > > && on everything but bcc32 > > What does bcc32 use? Is an infix operator likely to also work with > other platforms that don't like &&? bcc32 uses a simple "\n\t" which works quite well for the cases were it is still used, but i would like it more to get rid of && entirly. > > - TLIB needs the options after the outputfile so I introduced > > ${ar_extra} > > This seems good. Is there a better name? ${ar_final}? Could they just > always be in this order? They need to be between the archive and the members. TLIB <archive> /au [members] whereas ar needs the action flags before the archive ar cr <archive> [member] > > - The ${link} variable is set to bcc32 > > Obviously good. > > > The final problem for getting make test running on BCC is the > > name-clash key.c and classes/key.c (and some others like this). There > > are two possible way to solve this problem: > > - rename either key.c or classes/key.c > > - build a seperate classes.lib > > How difficult would the latter be? I have no strong opinion either way > for this one. I already have a hacky version of the later running, I just need to integrate them with Configure. The downside of this approach is that we always need to link with -lclasses additionally to -lparrot. bye boe -- Juergen Boemmels [EMAIL PROTECTED] Fachbereich Physik Tel: ++49-(0)631-205-2817 Universitaet Kaiserslautern Fax: ++49-(0)631-205-3906 PGP Key fingerprint = 9F 56 54 3D 45 C1 32 6F 23 F6 C7 2F 85 93 DD 47