Hello Tommi,

Thanks very much for integrating the Solaris diffs.  These compile
fine with Sun Studio C++ 12 (both with and without -m64).

They also compiled fine with gcc 4.2.1, both with and without -m64,
with just the one little tweak:

goanna% svn diff cxxtools
Index: cxxtools/configure.in
===================================================================
--- cxxtools/configure.in       (revision 369)
+++ cxxtools/configure.in       (working copy)
@@ -24,6 +24,7 @@

 AC_CHECK_LIB(nsl, setsockopt)
 AC_CHECK_LIB(socket, accept)
+AC_CHECK_LIB(rt, nanosleep)
 AC_SUBST(NETWORK_LIBS)

 AC_LANG(C++)
goanna%

Thanks very much.

Regards, Mark

PS: The following is just a note for anyone wanting to compile
it with gcc on Solaris.

That is, they compiled fine after I patched binutils 2.17 and
gcc 4.2.1 to work on Solaris 10 x86.  gcc 4.2.1 and binutils 2.17
may have more issues on Solaris SPARC, but I can't test that.
The required patches are installed automatically if you build
them from the spec files from:

http://pkgbuild.sourceforge.net/spec-files-extra/

After checking it out with Spec Files Extra as documented on the above
page, to build it, with your environment configured for JDS CBE
as documented on:

http://opensolaris.org/os/project/jds/contributing/building/

pkgtool build --download SFEbinutils.spec
pkgtool build --download SFEgcc.spec

Then to compile things with gcc as 32 bit:

export LDFLAGS='-L/usr/gnu/lib -R/usr/gnu/lib'
export LD_OPTIONS=''$LDFLAGS''

And as 64 bit:

export CFLAGS=''$CFLAGS' -m64'
export CXXFLAGS=''$CXXFLAGS' -m64'
export LDFLAGS='-L/usr/gnu/lib/amd64 -L/usr/lib/amd64
-R/usr/gnu/lib/amd64 -R/usr/lib/amd64' export LD_OPTIONS=''$LDFLAGS''

On Sun, 12 Aug 2007 17:24:03 +0200
Tommi Mäkitalo <[EMAIL PROTECTED]> wrote:

> I just uploaded new snapshots of cxxtools and tntnet. Here are the
> links: http://www.tntnet.org/download/cxxtools-1.4.5.20070812-1.tar.gz
> http://www.tntnet.org/download/tntnet-1.6.0.2.20070812-1.tar.gz
> 
> I integrated the patches Mark sent, which fixes some compile problems
> on solaris. I modified the solution iconv-problem since it does not
> work on linux. I added a autoconf check to solve. That works on linux
> at least.
> 
> It would be great if you test that version on solaris. I would like
> to support both gcc and SunStudio on solaris.

-- 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to