Viktor, you are right as usual....

On Sun, Nov 15, 2009 at 1:25 AM, Viktor Szakáts <[email protected]> wrote:
>> I had to rem this line in config\win\global.mk to compile succesfully in bcc 
>> 5.5
>> # SYSLIBS += kernel32 user32 ws2_32 advapi32 gdi32
>>
>> bcc has no kernel32.lib and the other ones....
>
> This is not true. All of them are present in PSDK dir,
> which is part of BCC 5.5 kit.

Yes there are.

> If it doesn't work for you pls post your env and error,

Error:
bcc32.exe  -I. -I../../../../../include -q -tWM -w -w-sig- -Q -d -6
-O2 -OS -Ov -Oi -Oc   -onortl.obj -c ../../../nortl.
c
../../../nortl.c:
tlib.exe /P128  "..\..\..\..\..\lib\win\bcc\hbnortl.lib" -+nortl.obj
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
Warning: 'nortl' not found in library
bcc32.exe  -I. -I../../../../../include -q -tWM -w -w-sig- -Q -d -6
-O2 -OS -Ov -Oi -Oc   -ohbpp.obj -c ../../../hbpp.c
../../../hbpp.c:
bcc32.exe  -I. -I../../../../../include -q -tWM -w -w-sig- -Q -d -6
-O2 -OS -Ov -Oi -Oc   -ohbpp_dyn.obj -DHB_DYNLIB -c
../../../hbpp.c
../../../hbpp.c:
bcc32.exe -q -tWM -w -w-sig- -Q -d -6 -O2 -OS -Ov -Oi -Oc
-L../../../../../lib/win/bcc   -e..\..\..\..\..\bin\win\bcc\h
bpp.exe hbpp.obj ../../../../../lib/win/bcc/hbnortl.lib
../../../../../lib/win/bcc/hbcommon.lib kernel32.lib user32.lib
ws2_32.lib advapi32.lib gdi32.lib
Fatal: Unable to open file 'KERNEL32.LIB'
win-make[3]: *** [hbpp.exe] Error 1
rm hbpp.obj
win-make[2]: *** [descend] Error 2
win-make[1]: *** [pp] Error 2
win-make: *** [src] Error 2

As you can see, kernel32 is listed and since my bcc32.cfg is
-I"c:\dev\l\bcc55\include" -L"c:\dev\l\bcc55\lib"
it's not found....

I now added -L"...\psdk" and works....


I'm only a bit puzzled about the fact that removing that libraries it
compiles, links and works.....

Thanks,
Francesco
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to