On Fri, 22 May 2009, [email protected] wrote:

Hi,

> 2009-05-22 18:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
>   * utils/hbmk2/hbmk2.prg
>     ! Fixed to only add -march/-mtune gcc parameters for mingw/gcc 
>       targets. These values are ignored by mingwarm on Windows, but 
>       generate errors on Linux.

Thank you. The link phase has some problems yet.

   /opt/mingw32ce/bin/arm-wince-mingw32ce-gcc hbmk2.o hbmk_5qp70y.o \
      -Wl,--start-group -lgttrm -lhbcpage -lhblang -lhbcommon -lhbcplr \
      -lhbdebug -lhbvm -lhbrdd -lhbusrrdd -lhbuddall -lhbhsx -lhbsix \
      -lrddntx -lrddnsx -lrddcdx -lrddfpt -lhbrtl -lhbpp -lhbmacro -lhbextern \
      -lgtcgi -lgtpca -lgtstd -lgtwvt -lgtgui  -lhbpcre \
      -lhbzlib -lwininet -lws2 -lcommdlg -lcommctrl -luuid -lole32 \
      -Wl,--end-group -ohbmk2.exe -L/home/druzus/CVS/harbour/out-cmg/lib

/opt/mingw32ce/lib/gcc/arm-wince-mingw32ce/4.1.0/../../../../arm-wince-mingw32ce/bin/ld:
 cannot find -lgttrm
collect2: ld returned 1 exit status
hbmk: Error: Running linker. 1

Looks that the library list contains:
   -lgttrm -lgtxwc -lgtcrs -lgtsln
which do not exist in Windows builds.
I've found that -lgtxwc -lgtcrs -lgtsln are added by:
   libdynhas=gtxwc
   libdynhas=gtcrs
   libdynhas=gtsln
in hbmk.cfg from native hbmk2 build. I think that hbmk2 should ignore any
settings from hbmk.cfg if it has incompatible 'arch' or 'comp' settings
to the one used by user in command line. Anyhow here I can create some
custom hbmk2 and hbmk.cfg copy for cross builds but how to disable default
GT (-lgttrm)?

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to