|
2008-11-30
| ||
| 01:26 | • Closed ticket [436116ffff]: TIP#60 patch plus 3 other changes artifact: 8d106b57d7 user: dkf | |
|
2004-10-26
| ||
| 23:36 | • Ticket [436116ffff]: 2 changes artifact: 7981570bd6 user: davygrvy | |
| 23:21 | • Ticket [436116ffff]: 4 changes artifact: 98b2e7b05b user: davygrvy | |
| 23:21 | • Add attachment patch.zip to ticket [436116ffff] artifact: 5c1335682f user: davygrvy | |
| 23:19 | • Ticket [436116ffff] Support for Borland compiler f Tcl 8.3.3 status still Op... artifact: b7a9600fe1 user: davygrvy | |
|
2003-12-14
| ||
| 06:10 | • Ticket [436116ffff]: 4 changes artifact: 7cd584e0f6 user: davygrvy | |
| 06:09 | • Ticket [436116ffff]: 4 changes artifact: f7f2dd171e user: davygrvy | |
| 06:07 | • Ticket [436116ffff]: 4 changes artifact: 7a761fe10f user: davygrvy | |
| 06:07 | • Add attachment patch.txt to ticket [436116ffff] artifact: 70b0e2e228 user: davygrvy | |
|
2002-09-01
| ||
| 07:27 | • Ticket [436116ffff] Support for Borland compiler f Tcl 8.3.3 status still Op... artifact: 1ba327aab4 user: davygrvy | |
| 07:26 | • Ticket [436116ffff]: 4 changes artifact: ce86dc8c25 user: davygrvy | |
| 07:26 | • Add attachment patch.txt to ticket [436116ffff] artifact: c8b0a64f87 user: davygrvy | |
| 07:26 | • Open ticket [436116ffff]: Support for Borland compiler f Tcl 8.3.3 plus 1 ot... artifact: bc3fb16197 user: davygrvy | |
| 07:24 | • Ticket [436116ffff]: 4 changes artifact: 7179e65d54 user: davygrvy | |
| 07:24 | • Ticket [436116ffff]: 2 changes artifact: b5584bbd7e user: davygrvy | |
|
2001-11-07
| ||
| 13:21 | • Closed ticket [436116ffff]. artifact: 1f357626c5 user: davygrvy | |
|
2001-09-08
| ||
| 07:27 | • Ticket [436116ffff]: 4 changes artifact: 538f24d8be user: davygrvy | |
|
2001-09-07
| ||
| 22:24 | • Ticket [436116ffff]: 4 changes artifact: 5a38fbe08c user: mdejong | |
| 09:03 | • Ticket [436116ffff]: 4 changes artifact: 0b9a1829f0 user: davygrvy | |
| 08:46 | • Ticket [436116ffff]: 4 changes artifact: 3863974876 user: davygrvy | |
| 08:46 | • Ticket [436116ffff]: 4 changes artifact: 9e4c1ac0f4 user: davygrvy | |
|
2001-09-06
| ||
| 13:06 | • Ticket [436116ffff]: 1 change artifact: e10a721a43 user: davygrvy | |
| 12:42 | • Ticket [436116ffff]: 4 changes artifact: c6aae35271 user: davygrvy | |
| 12:09 | • Ticket [436116ffff]: 4 changes artifact: 37b87b0d7f user: davygrvy | |
| 12:09 | • Ticket [436116ffff]: 4 changes artifact: 57bce6514c user: davygrvy | |
| 09:50 | • Ticket [436116ffff]: 4 changes artifact: 0d6b748ee9 user: davygrvy | |
| 08:43 | • Ticket [436116ffff]: 4 changes artifact: d9db7cd9fb user: davygrvy | |
| 08:16 | • Ticket [436116ffff]: 4 changes artifact: 725a3e2200 user: davygrvy | |
| 08:13 | • Ticket [436116ffff]: 4 changes artifact: ebff9c00ca user: davygrvy | |
| 07:55 | • Ticket [436116ffff]: 4 changes artifact: 714e2f995b user: dgp | |
|
2001-09-02
| ||
| 17:27 | • Ticket [436116ffff]: 4 changes artifact: 36f0076571 user: davygrvy | |
|
2001-08-25
| ||
| 00:55 | • Ticket [436116ffff]: 1 change artifact: 5224b87ce4 user: andreas_kupries | |
|
2001-06-25
| ||
| 22:38 | • Ticket [436116ffff]: 4 changes artifact: 3b59495fad user: nobody | |
| 15:38 | • New ticket [436116ffff]. artifact: c3da517168 user: nobody | |
TIP#60 patch
Closed / Out of Date436116ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 18 years ago
Descriptionplain2001-06-25 15:38:25
With the material submiited here it is possible to build Tcl 8.3.3 with the current
Borland compiler.
IMHO there are two points where someone more knowledgable than me should have
a look:
1) The typedef for ClientData
The original version did a test
# if defined(__STDC__) || defined(__cplusplus)
when defining the typedef ClientData, which does not work well for the Borland compiler:
- __cplusplus is not defined (or else the regexp-package will not compile)
- __STDC__ is only #defined if you set '-A' for strict ANSI compatibility. But then the
compiler is *really* strict and thus quite a few files will not compile for various reasons
(e.g. a '//' comment in one of the Windows header files).
So you're stuck with 'typedef int *ClientData;' - which in turn forces an ugly type cast
in the function 'Tcl_CreateThread' for the parameter 'proc' in the call to
_beginthreadex (file tclWinThrd.c).
But then I wondered: Are we asking the appropriate question? We ask:
Is it a (strict?) ANSI or a C++ compiler?
when all we want to know is whether it supports the 'void' key word or not. Hence
the #define KNOWS_VOID in tcl.h.
2) Borland #defines more error codes in <errno.h> than does VC++. This leads to a
clash in error definitions in tclWinPort.h when EDQUOT is #defined as 49, because
the last #define in Borland's errno.h is
#define ENOTEMPTY 49 /* Directory not empty */
With these two definitions tclPosixStr.c will not compile.
I changed the #define for EDQUOT to 69 because in some other header file I found the
same definition to achieve compilation.
However there might well be better choices.
I hope that this description makes sense and that the attached diff file is what you need.
Best regards
Helmut Giese
nobodyplain2001-06-25 22:38:25
File Added - 7772: patch.txt
andreas_kupries Ticket [436116ffff]: 1 change
[History diff]2001-08-25 00:55:39
davygrvyplain2001-09-02 17:27:24
Logged In: YES user_id=7549 I guess I got assigned to this, eh? Ok, I got the "free commandline tools" here. I'll look into it.
dgpplain2001-09-06 07:55:06
Logged In: YES user_id=80530 I'm guessing that this report is related to the changes checked in to generic/tclPlatDecls.h on Sept-05-2001. Note that those changes will be overwritten the next time someone does 'make genstubs'. The script tools/genStubs.tcl needs to be updated to generate the changed *.h file(s).
davygrvyplain2001-09-06 08:13:47
Logged In: YES user_id=7549 Hi Don, Not actually true. 1.10 was a mistake, but 1.11 a few minutes later has the changes above the marker: /* !BEGIN!: Do not edit below this line. */
davygrvyplain2001-09-06 08:16:45
Logged In: YES user_id=7549 I'm starting to put together a TIP about changing the EXTERN macro. Borland will need some partially ugly fixes put into tcl.h and genStubs.tcl.
davygrvyplain2001-09-06 08:43:44
Logged In: YES user_id=7549 as of <now>, everything is in except for the new makefile.bc and the errno stuff. I want to do a TIP regarding changing the EXTERN macro. For example, what is this for MSvc++: __declspec(dllexport) __cdecl int func (int a, int b); needs to be this with borland: int __cdecl __export func (int a, int b); The order of the attribute needs to be after the return type. Watch for a TIP soon. note to self: not sure what to do about the errno stuff yet...
davygrvyplain2001-09-06 09:50:03
File Added - 10426: patch.txt Logged In: YES user_id=7549 Here's a new patch for what I think the EXTERN macro should do.
davygrvyplain2001-09-06 12:09:16
Logged In: YES user_id=7549 I like this proposed patch better. More complete..
davygrvyplain2001-09-06 12:09:17
File Deleted - 10426: File Added - 10429: patch.txt
davygrvyplain2001-09-06 12:42:41
Logged In: YES user_id=7549 wheee! makefile.bc commited. Looking good. Not perfect yet. All changes in this patch report were commited to the HEAD not to the core-8-3-1-branch. Time to get the TIP ready...
davygrvy Ticket [436116ffff]: 1 change
[History diff]2001-09-06 13:06:39
davygrvyplain2001-09-07 08:46:17
File Added - 10469: patch.txt
davygrvyplain2001-09-07 08:46:18
File Deleted - 10429:
davygrvyplain2001-09-07 09:03:12
Logged In: YES user_id=7549 TIP inserted into system and newer patch file ready to go.
mdejongplain2001-09-07 22:24:29
Logged In: YES user_id=90858 I have to admit, I don't think it is a good idea to add a new makefile.bc file. Why can't Borland support be added using the ./configure and Makefile.in build system? There has been quite a bit of work done to get things working with VC++ and gcc under Windows. Adding a new Makefile will just lead to more duplicated work down the road.
davygrvyplain2001-09-08 07:27:01
Logged In: YES user_id=7549 The maintainence utility that goes with Borland is called make.exe. It's a Borland product. It's installed with the archive refered to as "free commandline tools". 'nuff said. If later on, we want to abstract a common denominator to a makefile.win, then launching either nmake.exe, make.exe, or wmake.exe with appropriate rules, we can. I know you think the whole world should run GNU tools, but guess what?... **** They aren't included with all IDE/dev products. ***** I mentioned makefile.bc in your TEA v2.0 TIP, and you got all worried. Well, here it is. go make some autoconf rules with it. PS. wmake.exe referes to Watcom, which I'm working on as I type this.
davygrvyplain2001-11-07 13:21:49
Logged In: YES user_id=7549 I'll call this closed. The TIP is dead, but doesn't matter bcc32 5.5+, only the older ones.
davygrvy Ticket [436116ffff]: 2 changes
[History diff]2002-09-01 07:24:44
davygrvyplain2002-09-01 07:24:45
File Deleted - 10469: File Added - 30218: patch.txt
davygrvy Open ticket [436116ffff].
[History diff]2002-09-01 07:26:31
davygrvyplain2002-09-01 07:26:32
File Added - 30219: patch.txt
davygrvyplain2002-09-01 07:27:16
File Deleted - 30218:
davygrvyplain2003-12-14 06:07:10
File Added - 70480: patch.txt
davygrvyplain2003-12-14 06:09:40
File Added - 70483: exports.txt
davygrvyplain2003-12-14 06:10:52
File Added - 70485: exports.txt
davygrvyplain2004-10-26 23:19:19
File Deleted - 7772:
davygrvyplain2004-10-26 23:21:38
File Added - 106562: patch.zip
davygrvy Ticket [436116ffff]: 2 changes
[History diff]2004-10-26 23:36:14
dkf Closed ticket [436116ffff].
[History diff]2008-11-30 01:26:14
Log in (anonymous is fine) to add a comment.
Attachments:
- patch.zip [download] added by davygrvy on 2004-10-26 23:21:38. [details]
- patch.txt [download] added by davygrvy on 2003-12-14 06:07:10. [details]