No, now it dies a little later, making libraries
gcc -I. -I../../../../include -Wall -W -O3 -DTCPV40HDRS -DTCPV40HDRS -DTCPV40HDR S -DTCPV40HDRS -c ../../compi18n.c -ocompi18n.o gcc -I. -I../../../../include -Wall -W -O3 -DTCPV40HDRS -DTCPV40HDRS -DTCPV40HDR S -DTCPV40HDRS -c ../../hbmain.c -ohbmain.o IF EXIST ..\..\..\..\lib\os2\gcc\hbcplr.a del /n ..\..\..\..\lib\os2\gcc\hbcplr. a make[3]: *** [hbcplr.a] Segmentation fault make[3]: Leaving directory `E:/repository/harbour-svn/source/compiler/os2/gcc' make[2]: *** [descend] Error 2 make[2]: Leaving directory `E:/repository/harbour-svn/source/compiler' make[1]: *** [compiler] Error 2 make[1]: Leaving directory `E:/repository/harbour-svn/source' make: *** [source] Error 2 But this could be the 'new' make. Maurilio Longo wrote: > Przemyslaw, > > it seems to work if I write it this way > > +...@$(MK) -C $(ARCH_DIR) -f $(GRANDP)Makefile "TOP=$(GRANDP)" $(LIB_NAME) > $(MK_USR) > > That is, using double quotes. > > Does this break the other builds? Do I need an os2/lib.cf equal to the one > inside config but with this change? > > Maurilio. > > Maurilio Longo wrote: >> Przemyslaw Czerpak wrote: >> > And this is OK. Just simply in this place TOP variable should be set to >>> "../../" by: >>> +...@$(MK) -C $(ARCH_DIR) -f $(GRANDP)Makefile 'TOP=$(GRANDP)' >>> $(LIB_NAME) $(MK_USR) >>> from config/lib.cf so it should work. For some reasons it's not set. >>> You can remove '@' from the above line to see executed command. >> Here without '@', >> >> (E:\repository\harbour-svn\source\common)IF NOT EXIST os2 md os2 >> >> (E:\repository\harbour-svn\source\common)IF NOT EXIST os2\gcc md os2\gcc >> >> (E:\repository\harbour-svn\source\common)IF NOT EXIST ..\..\lib\os2 md >> ..\..\lib\os2 >> >> (E:\repository\harbour-svn\source\common)IF NOT EXIST ..\..\lib\os2\gcc md >> ..\..\lib\os2\gcc >> make -C os2/gcc -f ../../Makefile 'TOP=../../' hbcommon.a >> make[3]: Entering directory `E:/repository/harbour-svn/source/common/os2/gcc' >> ../../Makefile:29: ../../config/lib.cf: No such file or directory >> make[3]: *** No rule to make target `../../config/lib.cf'. Stop. >> make[3]: Leaving directory `E:/repository/harbour-svn/source/common/os2/gcc' >> make[2]: *** [descend] Error 2 >> make[2]: Leaving directory `E:/repository/harbour-svn/source/common' >> make[1]: *** [common] Error 2 >> make[1]: Leaving directory `E:/repository/harbour-svn/source' >> make: *** [source] Error 2 >> >> >> Has you can see, GRANDP has value '../../' which is ok to find Makefile, but >> TOP (or ROOT) is not set, am I right?, since makefile:29 has >> >> include $(TOP)$(ROOT)config/lib.cf >> >> but from the error message, it looks for '../../config/lib.cf' >> >> instead of >> >> '../../../../config/lib.cf' >> >> Does this help you? >> >> Maurilio >> > -- __________ | | | |__| Maurilio Longo |_|_|_|____| farmaconsult s.r.l. _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
