Hi Viktor,
Can you post your -trace hbmk2 output?
Notice that now, (because i use HBHB_USER_CFLAGS="-fPIC"
to compile harbour mips(el)), i get 2 "-fPIC" in hbmk2 trace:
g...@cobalt:~$ hbmk2 -trace t
hbmk: Processing configuration:
/usr/local/bin/hbmk.cfg
hbmk: Harbour compiler command
(internal):
/usr/local/bin/harbour -n2 t -i/usr/local/include/harbour
Harbour 2.0.0beta1 (Rev. 11442)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 't.prg'...
Lines 3, Functions/Procedures 1
Generating C source output to 't.c'... Done.
hbmk: C compiler
command:
gcc -c -O3 *-fPIC -fPIC* -I/usr/local/include/harbour t.c
/tmp/hbmk_2hi5cp.c
hbmk: Linker
command:
gcc t.o hbmk_2hi5cp.o -Wl,--start-group -lharbour -lhbcplr -lhbdebug
-Wl,--end-group -ot -L/usr/local/lib/harbour
g...@cobalt:~$ cat /usr/local/bin/hbmk.cfg
# Harbour Make configuration
# Generated by Harbour build process
arch=linux
comp=gcc
cflags={linux&gcc} -fPIC
Best regards,
Guy
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour