C:\hb20\bin>hbmk2 ..\tests\hello.prg -compiler=mingw64
hbmk2: Processing configuration: C:\hb20\bin\hbmk.cfg
Harbour 2.0.0beta3 (Rev. 12422)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling '../tests/hello.prg'...
Lines 11, Functions/Procedures 1
Generating C source output to 'hello.c'... Done.
hello.o:hello.c:(.text+0xf): undefined reference to `hb_vmExecute'
hello.o:hello.c:(.text+0x2c): undefined reference to `hb_vmProcessSymbols'
hello.o:hello.c:(.data+0x38): undefined reference to `HB_FUN_QOUT'
c:/mingw/bin/../lib/gcc/mingw32/4.3.3/../../../libmingw32.a (main.o):main.c:(.tex
t+0x104): undefined reference to `winm...@16'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe hello.o -mconsole -Wl,--start-group -lhbextern -lhbdebug - lhbvm -lhbr tl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt - lgtgui -lhbrdd -l hbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd - lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbpcre -lhbzlib -lkernel32 - luser32 -lgdi 32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 - luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -Wl,-- end-group
-ohello.exe -LC:/hb20/lib/win/mingw64

MinGW w64 4.5.0 installed c:\devl\mingw64 and added to  path

What i miss?

In this case you should drop -compiler option. It's autodetected.

You should use -compiler option if you install mingw64 into comp/ mingw64.

Brgds,
Viktor

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

Reply via email to