Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-07-19
16:15 • Closed ticket [1045093fff]: Borland BC55 build problems plus 2 other changes artifact: 02deecb7d2 user: dkf
2007-06-05
21:32 • Ticket [1045093fff]: 5 changes artifact: dadd99549d user: dgp
2007-01-18
18:51 • Ticket [1045093fff]: 1 change artifact: b10eeca67e user: dkf
2006-10-17
15:01 • Ticket [1045093fff]: 1 change artifact: a4675dfae4 user: dkf
2006-07-06
04:13 • Ticket [1045093fff]: 1 change artifact: de26071fa5 user: davygrvy
03:58 • Ticket [1045093fff]: 1 change artifact: aed9e2d136 user: mdejong
2005-10-05
07:23 • Ticket [1045093fff]: 4 changes artifact: 2e25c2cc6b user: hobbs
2004-10-12
14:07 • Ticket [1045093fff]: 4 changes artifact: ad9d8305a1 user: rmaris
13:56 • Ticket [1045093fff]: 4 changes artifact: b969f44aee user: rmaris
13:56 • Add attachment tcl_bc55.zip to ticket [1045093fff] artifact: 85a5a52e21 user: rmaris
06:56 • New ticket [1045093fff] Borland BC55 build problems. artifact: c9aa6c5e77 user: rmaris

Borland BC55 build problems

Closed / Out of Date1045093fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 18 years ago
Descriptionplain2004-10-12 06:56:09
The makefile for borland as supplied with the 8.4.7 
sources has been tested using the free borland compiler 
version 5.5.

Some errors in the makefile were identified and fixed. 
Further, some source files had to be updated in order to 
allow error free build. The attachment has the files 
included (as a zip archive). Lines which are changed are 
tagged with a "bc55" C-comment.

=== The changes as a list ===
* win/makefile.bc *
Line 324/8: OUT_DIR should be OUTDIR (this section had 
been rewritten compared to Giese's 8.3 original makefile).
Note: I have outcommented the "echo" since it appeared 
as concatenated to the mkdir command.
Line 495: I added a compile rule for tclWinPipe.obj since 
the following define was needed:
-DTCL_PIPE_DLL=\"$(TCLPIPEDLLNAME)\"

Line 546: The rule for all generic sources has been 
extended with -DWIN32, because tclThreadJoin refers to 
it. I believe that this is a workaround solution. Perhaps 
the #define of WIN32 should be altered in tcl.h. It is 
defined only, when __WIN32__ is not defined.

* win/tclWinFile.c *
Line 519: Variable initialization with another variable was 
complained.

* win/tclWinPort.h *
Line 61: The following line was added:
#  define _utimbuf utimbuf
because borland's utime.h does not have the underscore.

With these changes, tcl was build correctly. Note: the 
compiler reports warnings (variables not used, suspicious 
pointer conversions etc).
rmarisplain2004-10-12 13:56:09
File Added - 104791: tcl_bc55.zip
rmarisplain2004-10-12 14:07:22
Logged In: YES 
user_id=968757

The ZIP archive also contains two .rc files. Apparently, borland 
does not recognize "STRINGIFY". For the purpose of a 
successful build I replaced the function by a fixed string, since 
I am not familiar with .rc-syntax.
hobbsplain2005-10-05 07:23:54
Logged In: YES 
user_id=72656

See also [ 701723 ] Patch for Borland for Tcl 8.4 / 8.5
mdejong Ticket [1045093fff]: 1 change [History diff]2006-07-06 03:58:06
davygrvy Ticket [1045093fff]: 1 change [History diff]2006-07-06 04:13:01
dkf Ticket [1045093fff]: 1 change [History diff]2006-10-17 15:01:27
dkf Ticket [1045093fff]: 1 change [History diff]2007-01-18 18:51:43
dgpplain2007-06-05 21:32:14
Logged In: YES 
user_id=80530
Originator: NO


Since this is "Out of Date"
should it be Closed?
dkf Closed ticket [1045093fff]. [History diff]2008-07-19 16:15:07
Log in (anonymous is fine) to add a comment.

Attachments: