New make configuration works realy nice.
It greatly simplify cross compilation.
Thank you very much for your work and my congratulations.
Thanks!
I think that few things can be tuned yet.
For sure.
1. Borland generates .tds file in bin/win/bcc which are not removed
by clean.
This part I didn't inspect fully yet. Should be fixed
in globsh.cf. I'm a little bit confused about the clean
rule also present in rules.cf for bash. I'd appreciate if
you could clean that up, and I'll continue looking at it.
After that it will be possible to do all cleanups for
all platforms for each of the 4 shells. The set of files
to be cleaned is equal for all shells.
2. clean does not remove
<dir>/obj/<platform,...>
lib/<platform>/<compiler>
bin/<platform>/<compiler>
directories
I know, it was never working fully so I didn't even concentrate
on it. Such support can now be added by modifying globsh.cf
for all 4 shells. I'll check what I can do without being lost
in the details too much.
3. You used new GNU make extension: 'else-if'
It's not support by GNU make older then 3.80 (I'm not sure that 3.80
supports it but 3.81 does) what creates problems for some platforms
where the newest GNU make is not avilable, i.e. DOS where GNU make
DJGPP port is 3.79.1. AFAIR also in OS2 there is problem with the
newest GNU make binaries. For me the biggest problem will be with
some *nixes where I cannot upgrade [g]make, i.e. if I do not have
administrator rights or such binaries are not available.
Compiling own version of GNU make from source to compile Harbour on
some more exotic machine will make the whole build process much more
complicated then necessary.
I know that 'else-if' nicely simplifies make file body and reduces
typos but I want to ask to replace it by old syntax.
I know about it, well we can make the code uglier or require 3.81
(it's 3.81 feature). For dos/win the embedded GNU makes are now
both 3.81. For OS/2 we can also include a make for convenience,
but I have no idea where to get it or even to check the version.
For *nixes it remains a problems.
Probably we should clean the code.
There is one more thing:
In all gcc.cfs there is logic dealing with the case when gtcrs, gtsln,
gtxwc are the default GTs. With current makefile setup these are dead
cases. Should we leave them there or delete them? [gpm logic should
stay]
Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour