On Thu, 30 Jul 2009, David Arturo Macias Corona wrote:

> First try with current Harbour and OpenWatcom 1.8 under OS/2

Have you tried to run OS2 OpenWatcom binaries created on other OS?
I.e. in Windows or Linux?


>  * $Id: ChangeLog 11922 2009-07-29 03:20:01Z druzus $
> 2009-07-29 05:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
> [E:\harbour907c\harbour]make -r            1>make_ow.log
> make[3]: *** [hbrtl.lib] Segmentation fault
> make[2]: *** [descend] Error 2
> make[1]: *** [rtl] Error 2
> make: *** [source] Error 2

Can you locate what exactly caused GPF?
As I can see in os2/gcc.cf for library creation this code:

   for %i in ( *$(OBJ_EXT) ) do @echo ADDMOD %i >> __lib__.tmp

is used instead of:

   $(foreach file, $(^F), $(lib_object))

and I can only guess it is workaround (quite dangerous) for such or
similar problem.
In such case replacing in os2/watcom.cf[114]:

   $(foreach file, $(^F), $(lib_object))

with:

   for %i in ( *$(OBJ_EXT) ) do @echo -+%i >> __lib__.tmp

gives the same effect and may help.

> All files of rtl are compiled, some show warnings / notes
> Below are partial content of make_ow.log showing them
> Same failure with old OpenWatcom 1.7x
> I will check / change switchs for OpenWatcom

They seems to be correct at least for hbpp.exe and harbour.exe
so I think that the problem is somewhere else.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to