hi,

this is a very uncharted territory for me, so sorry in advance if i'm 
too off.

export HB_BUILD_DEBUG=yes
export HB_COMMERCE=yes
export HB_BUILD_OPTIM=no      (also happens w/ optimized build)
export HB_CONTRIBLIBS=no
export WATCOM="/opt/ow"
export PATH="$WATCOM/binl:$PATH"
export INCLUDE="$WATCOM/h:$WATCOM/h/nt"
export EDPATH="$WATCOM/eddat"
export HB_PLATFORM=win
export HB_COMPILER=watcom
export HB_XBUILD=yes
export HB_BUILD_MODE=cpp
export HB_INSTALL_PREFIX=$appdir/inst/$HB_PLATFORM/$HB_COMPILER/$HB_BUILD_MODE

(i know most of these are unneeded, but it's part of a bigger script 
monster that builds hb in many combinations.)

! Building Harbour 2.0.0beta3 from source - http://www.harbour-project.org
! MAKE: make 3.81 /bin/sh   
! HB_INSTALL_PREFIX: /home/ice/w/xhb/inst/win/watcom/cpp
! HB_BUILD_DEBUG: yes
! HB_BUILD_OPTIM: no
! HB_BUILD_MODE: cpp
! HB_CONTRIBLIBS: no
! HB_HOST_PLAT: linux  HB_SHELL: sh
! HB_PLATFORM: win (x86) 
! HB_COMPILER: watcom 
! HB_BIN_COMPILE not specified. Automatically set to: /usr/bin
! Component: 'openssl' not supported with watcom compiler
! Component: 'gpm' explicitly disabled
! Component: 'slang' explicitly disabled
! Component: 'curses' location not specified
! Component: 'x11' location not specified
! Component: 'wattcp/watt-32' not supported on win platform
! REVISION: 12432
[...]
wpp386  -zq -bt=nt -bm -w3 -3s -i. -i../../../../../include -d2  
-DHB_TR_LEVEL_DEBUG   -fo=wait.obj  wait.c
wpp386  -zq -bt=nt -bm -w3 -3s -i. -i../../../../../include -d2  
-DHB_TR_LEVEL_DEBUG   -fo=wait_dyn.obj -DHB_DYNLIB  wait.c
wlib -q -p=64 -c -n  ../../../../../lib/win/watcom/hbrtl.lib -+abs.obj
   -+accept.obj -+ampm.obj -+at.obj -+ati.obj -+base64c.obj -+binnum.obj
   -+binnumx.obj -+box.obj -+cdpapi.obj -+chrasc.obj -+colorind.obj 
-+console.obj
   -+copyfile.obj -+cputime.obj -+datec.obj -+dates.obj -+dateshb.obj 
-+datesx.obj
   -+defpath.obj -+defpathu.obj -+descend.obj -+dirdrive.obj -+direct.obj
   -+diskspac.obj -+disksphb.obj -+do.obj -+empty.obj -+errapi.obj -+errapiu.obj
   -+errint.obj -+errintlo.obj -+file.obj -+filebuf.obj -+filehb.obj 
-+filesys.obj
   -+fkmax.obj -+fmhb.obj -+fnsplit.obj -+fscopy.obj -+fserr.obj -+fssize.obj
   -+fstemp.obj -+gete.obj -+gt.obj -+gtapi.obj -+gtchrmap.obj -+gtclip.obj
   -+gtfunc.obj -+gtkbstat.obj -+gtkeycod.obj -+gtsys.obj -+gttone.obj -+gx.obj
   -+hardcr.obj -+hbadler.obj -+hbbit.obj -+hbbyte.obj -+hbcrc.obj -+hbhex.obj
   -+hbfeof.obj -+hbmd5.obj -+hbntos.obj -+hbfile.obj -+hbgtcore.obj 
-+hbi18n1.obj
   -+hbinet.obj -+hbproces.obj -+hbprocfn.obj -+hbrandom.obj -+hbregex.obj
   -+hbregexc.obj -+hbrunfun.obj -+hbsha1.obj -+hbsha1hm.obj -+hbsha2.obj
   -+hbsha2hm.obj -+hbsocket.obj -+hbstrfmt.obj -+hbstrsh.obj -+hbtoken.obj
   -+hbzlib.obj -+hbzlibgz.obj -+idle.obj -+idlex.obj -+inkey.obj -+inkeyapi.obj
   -+is.obj -+isprint.obj -+itemseri.obj -+lang.obj -+langapi.obj -+left.obj
   -+len.obj -+lennum.obj -+math.obj -+maxrow.obj -+memofile.obj -+minmax.obj
   -+mlcfunc.obj -+mod.obj -+mouse53.obj -+mouseapi.obj -+mousehb.obj 
-+mousex.obj
   -+mtran.obj -+natmsg.obj -+natmsgu.obj -+net.obj -+oemansi.obj -+oemansix.obj
   -+oldbox.obj -+oldclear.obj -+pad.obj -+padc.obj -+padl.obj -+padr.obj
   -+philes.obj -+philes53.obj -+philesx.obj -+rat.obj -+replic.obj -+right.obj
   -+round.obj -+run.obj -+samples.obj -+saverest.obj -+scroll.obj -+scrrow.obj
   -+secondfs.obj -+seconds.obj -+setcolor.obj -+setcurs.obj -+setkey.obj
   -+setpos.obj -+setposbs.obj -+sha1.obj -+sha1hmac.obj -+sha2.obj 
-+sha2hmac.obj
   -+shadow.obj -+shadowu.obj -+soundex.obj -+space.obj -+spfiles.obj -+str.obj
   -+strc.obj -+strcase.obj -+strmatch.obj -+strpeek.obj -+strtoexp.obj
   -+strtran.obj -+strxor.obj -+strzero.obj -+stuff.obj -+substr.obj -+tone.obj
   -+trace.obj -+transfrm.obj -+trim.obj -+tscalara.obj -+tscalarb.obj
   -+tscalarc.obj -+tscalard.obj -+tscalarh.obj -+tscalarl.obj -+tscalarn.obj
   -+tscalarp.obj -+tscalars.obj -+tscalart.obj -+tscalaru.obj -+type.obj 
-+val.obj
   -+valtostr.obj -+valtype.obj -+version.obj -+word.obj -+xhelp.obj 
-+xsavescr.obj
   -+achoice.obj -+adir.obj -+alert.obj -+altd.obj -+base64.obj -+browdb.obj
   -+browdbx.obj -+browse.obj -+checkbox.obj -+color53.obj -+dbedit.obj
   -+devoutp.obj -+dircmd.obj -+dirscan.obj -+einstv52.obj -+einstvar.obj
   -+einstvau.obj -+errsys.obj -+fieldbl.obj -+getlist.obj -+getsys.obj
   -+getsys53.obj -+gui.obj -+hbi18n2.obj -+hbini.obj -+input.obj -+listbox.obj
   -+memoedit.obj -+memvarbl.obj -+menuto.obj -+menusys.obj -+objfunc.obj
   -+perfuncs.obj -+profiler.obj -+pushbtn.obj -+radiobhb.obj -+radiobtn.obj
   -+radiogrp.obj -+readkey.obj -+readvar.obj -+scrollbr.obj -+setfunc.obj
   -+setta.obj -+tclass.obj -+tbcolumn.obj -+tbrowse.obj -+tbrowsys.obj
   -+teditor.obj -+text.obj -+tget.obj -+tgethb.obj -+tgetint.obj -+tgetlist.obj
   -+tgetx.obj -+thfuncx.obj -+tlabel.obj -+tmenuitm.obj -+tmenusys.obj
   -+tobject.obj -+tpersist.obj -+tpopup.obj -+treport.obj -+tscalar.obj
   -+tsymbol.obj -+ttextlin.obj -+tthreadx.obj -+ttopbar.obj -+typefile.obj
   -+typefilx.obj -+valtoexp.obj -+wait.obj
Error! Library too large.  Recommend splitting the library into two or trying a 
page_bound larger than 64.
make[3]: *** [hbrtl.lib] Error 8
make[2]: *** [descend] Error 2
make[1]: *** [rtl] Error 2
make: *** [source] Error 2

(line broken 'cause it was was too long)

this does not happen for HB_PLATFORM=os2.

do i get it right that openwatcom on a linux host is only for 
cross-compiling to win/dos/os2 targets (ie. openwatcom can not build a 
native linux hb)?

when does one need to use HB_XBUILD=yes? i'm getting the idea that 
"always if your host and target platforms differ", though i was able 
to cross-build from linux to win target using mingw32.

thanks,

-- 
[-]

mkdir /nonexistent
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to