Hi, > I'm trying build WinCE-HB and i get : > > gcc -I. -I../../../../../include -Wall -W -O2 -fomit-frame-pointer > -DHB_LEGACY_TYPES_OFF -DUNICODE -ohbpp.o -c ../../../hbpp.c > gcc -L../../../../../lib/wce/mingwarm -o > ..\..\..\..\..\bin\wce\mingwarm\hbpp.exe hbpp.o -lhbnortl -lhbcommon > -lcoredll -lws2 > d:/qt/4.5.3/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: > cannot find -lcoredll > collect2: ld returned 1 exit status > mingw32-make[3]: *** [hbpp.exe] Error 1 > rm hbpp.o > mingw32-make[2]: *** [descend] Error 2 > mingw32-make[1]: *** [pp.inst] Error 2 > mingw32-make: *** [src.inst] Error 2 > > Waht's wrong ? > > My batch : > > SET PATH=D:\Qt\4.5.3\mingw\bin;%PATH% > SET HB_BIN_COMPILE=D:\LASTHB\HARBOUR\bin > SET HB_PLATFORM=wce > SET HB_COMPILER=mingwarm > SET HB_WITH_QT=D:\Qt\4.5.3\include > SET HB_DIR_QT=D:\Qt\4.5.3 > SET HB_QT_STATIC=yes > SET HB_INSTALL_PREFIX=%~dp0 > win-make clean install %1 %2 > log-%HB_COMPILER%.txt 2>&1
You're manually forcing HB_COMPILER and HB_PLATFORM values, and they are wrong. I strongly suggest for all users to drop HB_COMPILER and HB_PLATFORM from all of the scripts, unless there is a rare need to override autodetection. This is about the 40th times I write this, maybe the last one :( You will need the CEGCC version of mingw to create WinCE Harbour build, the Win32 edition won't do. See INSTALL for links and examples. Brgds, Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
