Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-01-18
17:37 • Closed ticket [1870456fff]: build glitches on WinXP plus 8 other changes artifact: 61658d91ef user: dkf
2008-01-16
17:48 • Ticket [1870456fff]: 4 changes artifact: a8b203daa0 user: dkf
16:31 • Ticket [1870456fff]: 4 changes artifact: 81fec0739b user: dkf
2008-01-14
05:46 • Ticket [1870456fff]: 4 changes artifact: 0854149f1c user: kennykb
01:44 • Ticket [1870456fff]: 4 changes artifact: b351207e04 user: kennykb
01:44 • Add attachment tclOO20080113.patch to ticket [1870456fffffffff|1870456f... artifact: abea075633 user: kennykb
2008-01-13
18:44 • New ticket [1870456fff] build glitches on WinXP. artifact: ed5ce161ee user: kennykb

build glitches on WinXP

Closed / Fixed1870456fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2008-01-13 18:44:25
I just updated the 'oo' package to the HEAD, and I'm
tripping over a few build troubles.

(1) Using mingw [gcc.exe (GCC) 3.4.2 (mingw-special)]
I'm finding that 'ld' is crashing trying to link the
DLL.  If anyone else is seeing this and has anything
to offer by way of a workaround, I'd be grateful.

(2) So I switched to CC=cl configure ...etc....
(The 'cl' in question comes from VC2005SP1.)
The next problem is that there is a fair amount of
noise from the compiler complaining (incorrectly)
about mismatched 'const'ness of function parameters.
The attached patch silences the complaints.

(3) The next issue is that the configurator correctly
puts in RC=rc, but passes 'rc' command-line flags
that are appropriate to 'windres'.  Sorry, I don't
have a patch for this one, I just did
'make RC=windres' to get around it.
(Also, 'cl' complains that the '-o' option is
deprecated and will be removed in a future release.
I just ignored that complaint.)
kennykbplain2008-01-14 01:44:26
File Added - 262038: tclOO20080113.patch
kennykbplain2008-01-14 05:46:08
Logged In: YES 
user_id=99768
Originator: YES

Oh, also, with the VC2005 build, I had to run 'mt' manually prior to
'make install', or the dratted library wouldn't load:

mt -manifest TclOO01a0.dll.manifest -outputresource:TclOO01A0.dll;2
dkfplain2008-01-16 16:31:22
Logged In: YES 
user_id=79902
Originator: NO

Re (1) I'm using the same and can't duplicate. :-(
dkfplain2008-01-16 17:48:40
Logged In: YES 
user_id=79902
Originator: NO

Applied patch to resolve (2)
dkfplain2008-01-18 17:37:19
Logged In: YES 
user_id=79902
Originator: NO

I believe I've fixed issue (3) and got manifest building done right too, but I don't have the toolchain to test either.

The design of this fix involved looking at changes suggested by Andreas Kupries as well. Without that, I'd have had tremendous problems making the changes to the resource compiler. (Not sure if what I've done there is particularly elegant though...)
Log in (anonymous is fine) to add a comment.

Attachments: