[Starkit] Tclkit IRIX problem + encoding
Laborda Sanchez, Oscar
oscar.laborda at gedas.es
Mon Oct 24 17:02:06 CEST 2005
Hello Jean-Claude & "Guaca Mole",
> > BTW, this file is several times gzipped:
> > http://www.equi4.com/pub/tk/8.4.1/tclkit-irix-mips.gz
>
> Are you sure? I can't confirm that:
>
> $ gzip -d <8.4.1/tclkit-irix-mips.gz >a
> $ file a
> a: ELF 32-bit N32 MSB MIPS-IV executable, MIPS, version 1 (SYSV),
> dynamically linked (uses shared libs), stripped
Hmmm, yes, it seems to be OK, now.
Don't know what I did... :-?
> If you have the opportunity, I suggest doing the build yourself,
> using the genkit script and working with the latest 8.4.11
I have finally managed to compile it both with gcc/g++ and MIPSpro native
compiler.
Have aplied the patch noted by Guaca Mole (thank's!) and it seems to work
fine now.
To compile in IRIX with gcc:
Modify genkit, adding the following in line 49:
-----
IRIX64 { array set X {make gmake}
array set Z {stripopt "-f"} }
-----
Then, after "tclsh genkit A", do the following:
1. Apply patch to Tcl from Guaca Mole's link
http://sourceforge.net/tracker/index.php?func=detail&aid=878333&group_id=108
94&atid=110894
2. Modify src/vfs/configure, line 6063:
vars="-I\"$(${CYGPATH} ${TCL_SRC_DIR}/generic)\""
into
vars=""
3. File: src/mk/Makefile.in:
Remove all calls to "ranlib"
To compile with MIPSpro:
Modify genkit, adding the following in line 49:
-----
IRIX64 { array set X {make gmake gcc cc g++ CC}
array set Z {stripopt "-f"} }
-----
Set environment variables, e.g. in tcsh (HAVE_LONG_LONG define is for mk
package):
-----
setenv CC cc
setenv CXX CC
setenv CFLAGS "-O -mips4 -n32 -DHAVE_LONG_LONG"
setenv CXXFLAGS "-O -mips4 -n32 -DHAVE_LONG_LONG"
----
Do also previous steps 1 through 3 after "tclsh genkit A"
For Guaca Mole:
I have both the MIPSpro 7.4 compiler and gcc working fine. Just installed
gcc from the SGI freeware distribution: http://freeware.sgi.com
Now, I've found another problem, this time with encodings and both in IRIX,
Solaris an Linux, but works fine in Windows and also with standard
tclsh/wish.
E.g. the output of this should be the input: É
----
% encoding convertfrom utf-8 [encoding convertto utf-8 "É"]
Ã
----
PS: Jean-Claude, let me know if you want the IRIX Tclkit binary for your
site?
Best regards
Óscar
***************************************************************************
El correo corporativo de gedas iberia está protegido por
Antigen de Sybari Software.
Todo el correo se escanea con seis motores de antivirus de
diferentes fabricantes de forma simultánea, multiplicando
la protección del sistema.
Para más información, e-security at gedas.es y www.sybari.com.
***************************************************************************
DISCLAIMER: Este mensaje contiene información propietaria
de la cual parte o toda puede contener información confidencial
o protegida legalmente. Esta exclusivamente destinado al
usuario de destino.
Si, por un error de envio o transmisión, ha recibido este mensaje
y usted no es el destinatario del mismo, por favor, notifique
de este hecho al remitente.
Si no es el destinatario final de este mensaje no debe usar,
informar, distribuir, imprimir, copiar o difundir este mensaje
bajo ningún medio.
---------
DISCLAIMER: This e-mail contains propietary information some
or all of which may be legally protected. It is for the intended
recipient only. If an addressing or transmission error has
misdirected this e-mail, please notify the author by replying to
this e-mail. If you are not the intended recipient you must not use,
disclose, distribute, copy, print or relay this e-mail.
***************************************************************************
More information about the Starkit
mailing list