On Wed, 11 Feb 2009, Massimo Belgrano wrote: > > The above is very bad idea. It sets access to Harbour and xHarbour > > header files simultaneously. They are not binary compatible so > > you will create wrong binaries at least for one of the above compilers. > > _NEVER_ _MIX_ INCLUDE, BIN, and LIB paths for both compilers because > > many files have exactly the same name. As result you may have unpredictable > > compile time or runtime errors. > I use only bcc path common harbour and an old xharbour are in > different directory with different lib > Using harbour and xharbour i must have double bcc installed?
No Massimo, you do not need it. Just simply you created the problem _YOURSELF_ by adding xharbour paths to BCC *.cfg files. It's not necessary for using xHarbour and never was. Just remove it and create two separated batch files with Harbour and xHarbour environment settings. The main problem with environment variables is that 90% of users and even [x]Harbour developers does not exactly know what they do but they've seen them somewhere added to own build scripts and public the final results on [x]Harbour related forums increasing the noise. F.e. Enrico still keeps HB_LEX=simplex for xHarbour builds and this variables is not necessary for xHarbour and AFAIR never was (maybe only in 1-st few days of xHarbour life just after coping Harbour source) because xHarbour has only one lexer and only this lexer can be and always is enabled. Using HB_LEX may only exploit some bugs in old Harbour scripts if they were not updated properly for xHarbour In xMate default configuration there are macros which does not have any effect or may cause that wrong binaries will be created. They also should be removed. In fact only few macros many times public here are used to compile Harbour core code and in practice non of them is necessary to compile user code by Harbour and/or C compiler. best regards, Przemek _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
