problem compile with BCC55

Started by HPW, December 01, 2003, 10:08:09 AM

Previous topic - Next topic

HPW

Just download BCC55 and tried to compile newlisp_7311:


Quote
C:newlispnewlisp_7311>c:BorlandBCC55Binmake -f makefile_win32

MAKE Version 5.2  Copyright (c) 1987, 2000 Borland

        bcc32 -DOPSYS=6 -c -w-par- -w-8064 -w-8004 -w-8012 newlisp.c

Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland

newlisp.c:

Error E2209 newlisp.c 21: Unable to open include file 'signal.h'

Error E2209 newlisp.h 20: Unable to open include file 'stdio.h'

Error E2209 newlisp.h 21: Unable to open include file 'stdlib.h'

Error E2209 newlisp.h 22: Unable to open include file 'locale.h'

Error E2209 newlisp.h 23: Unable to open include file 'setjmp.h'

Error E2209 newlisp.h 24: Unable to open include file 'stdarg.h'

Error E2209 newlisp.h 25: Unable to open include file 'dirent.h'

Error E2209 newlisp.h 28: Unable to open include file 'winsock2.h'

Error E2209 newlisp.h 29: Unable to open include file 'dos.h'

Error E2209 newlisp.h 30: Unable to open include file 'io.h'

Error E2209 newlisp.h 40: Unable to open include file 'math.h'

Error E2209 newlisp.h 41: Unable to open include file 'float.h'

Error E2209 newlisp.h 42: Unable to open include file 'string.h'

Error E2209 newlisp.h 43: Unable to open include file 'ctype.h'

Error E2209 newlisp.h 44: Unable to open include file 'fcntl.h'

Error E2209 newlisp.h 45: Unable to open include file 'stdarg.h'

Error E2209 newlisp.h 46: Unable to open include file 'time.h'

Error E2209 newlisp.h 47: Unable to open include file 'sys/stat.h'

Error E2209 newlisp.h 48: Unable to open include file 'sys/timeb.h'

Error E2209 newlisp.h 49: Unable to open include file 'sys/types.h'

Error E2303 newlisp.h 230: Type name expected

Error E2141 newlisp.h 304: Declaration syntax error

Error E2209 pcre.h 39: Unable to open include file 'stdlib.h'

Error E2141 protos.h 309: Declaration syntax error

Error E2141 protos.h 310: Declaration syntax error

Error E2228 protos.h 310: Too many error or warning messages

*** 26 errors in Compile ***



** error 1 ** deleting newlisp.obj

C:BorlandBCC55Include

and

C:BorlandBCC55Bin

are in the path.



Any hints?
Hans-Peter

Lutz

#1
the only thing in my path is: c:BorlandBCC55Bin



not the Include





Lutz

Lutz

#2
the only thing in my path is: c:BorlandBCC55Bin



not the Include



I will also put a compiled newlisp.dll in the development directory,





Lutz

Lutz

#3
the only thing in my path is: c:BorlandBCC55Bin



not the Include



I will also put a compiled newlisp.dll and .exe in the development directory,





Lutz

adamss3

#4
In the c:borlandbcc55bin directory, you need two files:



bcc32.cfg which contains



-I"C:BorlandBcc55include"

-L"C:BorlandBcc55lib;C:BorlandBcc55libPSDK"





and ilink32.cfg which contains



-L"C:BorlandBcc55lib;C:BorlandBcc55libPSDK"





That's how the tool finds the libraries.

HPW

#5
Thanks for the hints, now I got them compiled!



One question: The downloaded 7311-exe is 2 KB smaller than the DLL.

My compiled EXE is the same size as the DLL. Both 189 KB.



But now it's to late to try more. Will do in the morning.
Hans-Peter

HPW

#6
I found the solution when I tried it again on my office pc.

I have to delete all compile-files between compiling DLL and EXE.

When I do not do this I get a different size DLL which also crashes on use.



So now I can test from other calling enviroments.
Hans-Peter

Lutz

#7
do a 'make clean' before compiling different flavors.



Lutz