Overview
| Artifact ID: | 44b1f1691ee037991afaede989f67aa39a728ce5 |
|---|---|
| Ticket: | ee9501624a9fdc5ec0aae2062c70cffdf1fdf5c2
Improve cross-compilability |
| User & Date: | jan.nijtmans on 2014-02-06 21:53:48 |
Changes
- assignee changed to: "jan.nijtmans"
- icomment:
The first part of the patch I agree with: Existance of the __BORLANDC__ macro should be checked before using it. Modern gcc doesn't groc on that but older mingw compilers might. The other two patches are wrong: the "install-tzdata" and "install-msgs" work fine in cross-compile situation, only Tcl needs to be installed on the host BEFORE starting the cross-compile. The last patch has no relation at all to the Windows build, because it is for the UNIX configure script. Apart from that, when cross-compiling there is no way to check whether strtod is buggy, the best that can be assumed is that it is buggy, so Tcl uses its replacement. First part applied to core-8-5-branch and trunk. I regularly cross-compile Tcl for Win32/Win64 on Linux, and as far as I know it work fine. But I'm using either MinGW-w64 or MinGW-4, I don't use MinGW-3 any more.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"