ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcljava-dev
tcljava-dev
[tcljava-dev] Tclblend and solaris
by Larry W. Virden other posts by this author
Feb 22 2007 8:26AM messages near this date
Re: [tcljava-dev] tcljava-dev Digest, Vol 5, Issue 2 | [tcljava-dev] Dynamic Languages on the JVM: The Future
I am wondering if anyone has gathered tips on the modifications
necessary to the current tcljava code so that it will build on SPARC
Solaris. 

The first problem I encountered is that the configure looks for:
Looking for /vol/javaNFS/jdk1.5.0/jre/lib/sun4u/libjava.so

However, Sun uses the path

/vol/javaNFS/jdk1.5.0/jre/lib/sparc/libjava.so

So I edited the tcljava.m4 file, as noted by the output from configure.
But configure doesn't seem to 
Recognize that change.

So I decided to try and regenerate configure after making this change.
However, autoconf indicated that I needed an autoconf newer than ships
with Sun . So I get a newer one and use that.

I get farther at this point - now I'm told that the gcc in my
environment has a bug that breaks Tcl Blend and that I should use
another version. 

So I set CC to point to a non-gcc compiler. That doesn't appear to
matter - configure continues to tell me that the gcc is broken.

checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... No

And then later:

checking for GCC 4.1.0 optimizer bug... yes
configure: error: This gcc release contains an optimizer bug that breaks
Tcl Blend, please use another version of gcc

The real problem, looking into the config.log, is:
configure:4564: checking for GCC 4.1.0 optimizer bug
configure:4601: cc -o conftest -g -O2   conftest.c  > &5
cc: Warning: option -2 passed to ld
/usr/ccs/bin/ld: illegal option -- 2

Am I forced to use gcc? I'd prefer to use Sun's compiler.

Oh, and note that the version of gcc that was used, as far as I can
tell, earlier, was 3.3.1, not 4.1.0. I don't have a newer gcc
available...


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
tcljava-dev mailing list
tcljava-dev@[...].net
https://lists.sourceforge.net/lists/listinfo/tcljava-dev
Thread:
Patrick Finnegan
Bruce Johnson
Charles Oliver Nutter
Larry W. Virden
Bruce Johnson
Larry W. Virden

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved