Ticket UUID: | 1045093 | |||
Title: | Borland BC55 build problems | |||
Type: | Bug | Version: | obsolete: 8.4.7 | |
Submitter: | rmaris | Created on: | 2004-10-12 06:56:09 | |
Subsystem: | 53. Configuration and Build Tools | Assigned To: | dkf | |
Priority: | 2 | Severity: | ||
Status: | Closed | Last Modified: | 2008-07-19 16:15:07 | |
Resolution: | Out of Date | Closed By: | dkf | |
Closed on: | 2008-07-19 09:15:07 | |||
Description: |
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). | |||
User Comments: |
dgp added on 2007-06-05 21:32:14:
Logged In: YES user_id=80530 Originator: NO Since this is "Out of Date" should it be Closed? hobbs added on 2005-10-05 07:23:54: Logged In: YES user_id=72656 See also [ 701723 ] Patch for Borland for Tcl 8.4 / 8.5 rmaris added on 2004-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. rmaris added on 2004-10-12 13:56:09: File Added - 104791: tcl_bc55.zip |
Attachments:
- tcl_bc55.zip [download] added by rmaris on 2004-10-12 13:56:09. [details]