On Thu, 16 Jul 2009, [email protected] wrote:
Hi,
> 2009-07-16 14:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
> * config/global.cf
> ! Switched to use HB_FLAGSEXTRA for __PLATFORM__ macros instead
> of cumulating HB_USER_PRGFLAGS. It didn't work in linux/watcom
> builds from win hosts. This way also HB_HOST_FLAG_ isn't needed.
> * config/wce/global.cf
> - Deleted commented HB_FLAGSEXTRA line.
New make configuration works realy nice.
It greatly simplify cross compilation.
Thank you very much for your work and my congratulations.
I think that few things can be tuned yet.
1. Borland generates .tds file in bin/win/bcc which are not removed
by clean.
2. clean does not remove
<dir>/obj/<platform,...>
lib/<platform>/<compiler>
bin/<platform>/<compiler>
directories
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.
best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour