Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-04-23
06:18 • Closed ticket [544203ffff]: mingw support plus 6 other changes artifact: 1011912c61 user: hobbs
2002-04-20
05:58 • Open ticket [544203ffff]. artifact: bb761d6dd8 user: fandom
03:42 • Ticket [544203ffff]: 7 changes artifact: df50c7c874 user: hobbs
03:42 • Pending ticket [544203ffff]. artifact: a3fadb93fe user: hobbs
2002-04-19
02:14 • Ticket [544203ffff]: 5 changes artifact: e47a98f83b user: mdejong
2002-04-15
21:42 • Ticket [544203ffff]: 4 changes artifact: 70376008aa user: fandom
21:42 • Add attachment sampleextension.patch to ticket [544203ffffffffff|544203... artifact: 959ffcd033 user: fandom
14:42 • New ticket [544203ffff] mingw support. artifact: eaa68bad3a user: fandom

mingw support

Closed / Fixed544203ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-04-15 14:42:19
The patch I submitted a couple weeks ago to make the 
sample extension compile with mingw has a little 
problem.

The mingw test uses cc.exe to try to compile the test, 
this program is not present so the test fails.

In the computer where I developed the patch I had 
created cc.exe as a shortcut to gcc.exe so I didn't 
notice the problem.

As far as I can see there is no code in tcl.m4 or 
configure.in to create this test, so if this comes 
from a macro in autoconf, the simplest way to solve it 
is to tell the user to do: CC=gcc ./configure, so I 
have updated the README.cygwin accordingly.

I have also added a comment in the file on how to use 
autoconf with cygwin.

On the other hand I noticed that 'make distclean' 
didn't delete the 'pkgIndex.tcl' file, I don't know if 
this is deliberate, so I modified 'makefile.in' to 
delete it.
fandomplain2002-04-15 21:42:20
File Added - 21224: sampleextension.patch
mdejongplain2002-04-19 02:14:08
Logged In: YES 
user_id=90858

I am sending this one to hobbs since he has been
doing some work on sampleextension to get it
working with mingw.
hobbs Pending ticket [544203ffff]. [History diff]2002-04-20 03:42:16
hobbsplain2002-04-20 03:42:19
Logged In: YES 
user_id=72656

I made the 1-line change in README.cygwin and added 
pkgIndex.tcl to the CLEANFILES arg in configure.in.  Is 
that all that was necessary?
fandomplain2002-04-20 05:58:17
Logged In: YES 
user_id=316500

I also think the comment in README.cygwin about autoconf should be changed 
to something like the following. Before I noticed they also included 
version 2.13, I lost a lot of time generating the 'configure' scripts in 
a Linux box and then taking them to Windows. I would like to think I 
am not the only one capable of being such a fool. 
 
Authoring TEA extensions 
 
If you are authoring a TEA extension, you will also want the GNU 
autoconf package.  The Cygnus tools now include two versions of 
autoconf: v2.13 and v2.52, with the latest version being invoked 
by default, TEA scripts don't yet work with it, so you will have 
to invoke version 2.13 explicitely with the command: 
 
/usr/autotool/stable/bin/autoconf
hobbsplain2002-04-23 06:18:31
Logged In: YES 
user_id=72656

I have instead removed the AC_CYGWIN macro call, the only 
thing that prevented using autoconf 2.5x.  This only 
enabled us to warn people against using cygwin's gcc, and I 
don't think there was enough value there to prevent being 
able to use autoconf 2.5x.
Log in (anonymous is fine) to add a comment.

Attachments: