[Starkit] Tclkit 8.4.11
Steve Landers
steve at DigitalSmarties.com
Tue Sep 27 21:26:30 CEST 2005
On 27/09/2005, at 8:17 PM, Larry W. Virden wrote:
> I have a genkit question.
>
> I'm trying the latest genkit on SPARC Solaris, to see if it works
> better for me than in the past.
>
> Here's what I'm setting:
>
>
> export CC=/vol/gnu/gcc-3.4.4/bin/gcc
> export CCC=/vol/gnu/gcc-3.4.4/bin/g++
> export CFLAGS="-L/vol/gnu/gcc-3.4.4/lib -R/vol/gnu/gcc-3.4.4/lib"
> export CXXFLAGS="-L/vol/gnu/gcc-3.4.4/lib -R/vol/gnu/gcc-3.4.4/lib"
>
>
> and then I invoke genkit. The CFLAGS and CXXFLAGS variables
> don't seem to be used by genkit.
not by genkit itself - but they are by the makefiles for various
packages
> I'm trying to tell genkit extra flags it needs to use, in addition
> to (and
> in front of) what it is already using, to find the gcc libraries.
>
> I'm looking in genkit, and it doesn't seem like it is going to do what
> I'm wanting by default.
That's because it does what I need by default :)
> So this is what I'm trying.
>
>
> if {![info exists env(CFLAGS)]} {
> set Z(tclstuff) "$env(CFLAGS) $Z(tclstuff)"
> set Z(tkstuff) "$env(CFLAGS) $Z(tkstuff)"
> }
> if {![info exists env(CXXFLAGS)]} {
> set Z(tclstuff) "$env(CXXFLAGS) $Z(tclstuff)"
> }
>
> 1. Does this look right? Am I forgetting anything?
Hmm - I can't see why this is necessary because the various package
Makefiles should be using these variables. But then again, maybe they
aren't - I haven't looked in detail.
> 2. Does this look useful to anyone else?
Not for me - I've got gcc set up so that "it just works" (i.e. use
the version from sunfreeware.com)
> Maybe it would have helped if I'd said what I was trying to fix...
>
> When I run the genkit, metakit fails. Here's the error I get:
>
> RUN: g++ -o kitsh pwb.o kitInit.o zlib.o rechan.o tclAppInit.o ../
> tcl/libtcl8.4.a ../vfs/libvfs1.3.a ../zlib/libz.a ../mk/Mk4tcl.a -L/
> ldatae/tclkit/install/lwv28awu/lib -ltcl8.4 -ldl -lsocket -lm -Wl,-
> Bstatic -lstdc++
>
> /vol/gnu/gcc-3.4.4/bin/ld: cannot find -lgcc_s
> collect2: ld returned 1 exit status
Have you confirmed that libgcc_s is installed under vol/gnu/gcc-3.4.4/
lib?
Steve
More information about the Starkit
mailing list