Re: progress made on tclkit lite on sparc solaris 9

Jean-Claude Wippler <[email protected]>
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
Virden, Larry W. wrote:

> Okay, after doing a checkout of kitgen this morning, editing the
> config.sh to add the LDFLAGS mentioned for SunOS, then removing my
> 8.5 tree and doing a new gmake large,
[...]

I've tweaked some further, following Brian Theado's remarks.

No need to start from scratch, unless you're more comfortable that way.
Here's what I'd do:

- move away any files you edited
- in kitgen/: cvs up
- in kitgen/8.5/vlerq: cvs up
- rm -rf kitgen/8.5/kit-large
- gmake large

Note that you're aiming for the most extensive configuration: 8.5  
with threading.  If you get stuck, you might want to try "gmake  
small" first (8.4, no threads).  Or any other configuration - see the  
kitgen.html web page.

> ../../../vlerq/generic/vlerq.c:35:1: warning: "_BIG_ENDIAN" redefined
> In file included from /usr/include/sys/feature_tests.h:15,
>                  from /vol/gnu/gcc/lib/gcc-lib/sparc-sun- 
> solaris2.8/3.3.1/includ
> e/iso/stdlib_iso.h:39,
>                  from /usr/include/stdlib.h:18,
>                  from ../../../vlerq/generic/vlerq.c:11:

Thanks, I'll look into that.

> ../../../vlerq/generic/vlerq.c:57: warning: redefinition of `uint8_t'

Fixed.

> [3x] warning: dereferencing type-punned pointer will break strict- 
> aliasing rules

Harmless.

> cc -o kit-cli -I/usr/dt/include -I/usr/openwin/include ../../ 
> kitInit.c ../../pwb
> .c ../../rechan.c ../../zlib.c ../tcl/unix/tclAppInit.c -Ibuild/ 
> include \
>   -DKIT_LITE -DTCL_LOCAL_APPINIT=TclKit_AppInit -DSTATIC_BUILD \
>   build/lib/vfs1*/*vfs1*.a build/lib/vlerqtcl4*/*vlerqtcl4*.a \
>   build/lib/libz.a build/lib/libtcl8*.a -ldl -lsocket -lnsl -lm
[...]
> Undefined                       first referenced
>  symbol                             in file
> __lshrdi3                           build/lib/libtcl8.5.a(tclStrToD.o)
> __floatdidf                         build/lib/libtcl8.5.a(tclBasic.o)
> __ashldi3                           build/lib/libtcl8.5.a 
> (tclExecute.o)
> __ashrdi3                           build/lib/libtcl8.5.a 
> (tclExecute.o)

Looks like low-level C runtime calls from Tcl to me.  No idea - looks  
like Brian Theado isn't getting these on his Solaris 8 builds.

-jcw
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.