above, is 255 in Solaris releases prior to 2.6. Solaris 2.6
and Solaris 2.5.1 with the Solaris Internet Server Supplement (SISS) allow you to set this value with ndd, upto a
hard maximum of 8192.
/usr/sbin/ndd -set /dev/ip ip_addrs_per_if 4000
There's no limit inspired by the code; so if you bring out adb you can increase the maximum even further.
5.15) I messed up /etc/system, now I can't boot.
Boot with -as. The kernel will ask you all sorts of questions, including the name of the system file. Use the
previous /etc/system file or specify /dev/null.
5.21) When reading mail on non-Solaris clients of a Solaris mail server, or with
non-Solaris mail readers, some messages get split into multiple messages.
Solaris 2.x uses the "Content-Length:" header to tell the MUAs where messages should be split.
Unfortunately, no-one else understands this convention. Instead, the old convention, ``split on "From " lines'' is
used most of the time. Those mail readers expect extra lines with "From" to be escaped with ">".
Workaround: add "E" to the mailerflags of the local mailer. Edit /etc/mail/sendmail.cf on your Solaris machines,
add E to F= on the line that reads:
Mlocal, P=/bin/mail, F=flsSDFMmnP, S=10, R=20, A=mail -d $u
so that it becomes:
Mlocal, P=/bin/mail, F=EflsSDFMmnP, S=10, R=20, A=mail -d $u
6.1) Where is the C compiler or where can I get one?
Where have you been? :-) Sun has dropped their old K&R C compiler, supposedly to create a market for
multiple compiler suppliers to provide better performance and features. Here are some of the contenders:
1) SunPro C:
SunPro, SMCC, and various distributors sell a new ANSI-standard C compiler on the unbundled (extra cost)
SPARCcompiler/SPARCworks CD-ROM. There are some other nice tools there too, like a "make tool" and a
visual diff (interactive diff).
You have to license and pay per concurrent user.
2) Apogee compilers
Apogee sells C, C++, f77 and f90 compilers, mainly for SPARC. These compiler include the KAP
preprocessors from Kuck and Associates.
3) Cygnus GCC:
Cygnus Support and the Free Software Foundation make the GNU C compiler for Solaris, a free software
product. Source code and ready-to-run binaries can be installed from the CDware CD (Volume 4 or 5).
Like all GNU software, there are no restrictions on who can use it, how many people can use it at a time, what
machines it can be run on, or how many copies you can install, run, give away, or sell.
Cygnus sells technical support for these tools, under annual support contracts.
The Cygnus distribution includes: gcc (ansi C compiler), gdb (good debugger), byacc (yacc repl), flex (lex repl),
gprof, makeinfo, texindex, info, patch, cc (a link to gcc)
The Cygnus compiler on uunet is starting to show its age a bit. If you want to compile X11R5, you can get the
latest version of GCC in source code, from the usual places (prep.ai.mit.edu or one of the many mirrored copies
of it). Build and install that compiler using the Cygnus gcc binaries. Or get tech support from Cygnus; they
produce a new version for their customers every three months, and will fix any bug you find.
4) Gcc.
Gcc is available from the GNU archives in source form. You need gcc 2.3.3 or later. You should not use GNU
as or GNU ld. Make sure you run just-fixinc if you use a binary distribution. Better is to get a binary version and
use that to bootstrap gcc from source.
GNU software is available from:
prep.ai.mit.edu:/pub/gnu
gatekeeper.dec.com:/pub/GNU
ftp.uu.net:/systems/gnu
wuarchive.wustl.edu:/mirrors/gnu
nic.funet.fi:/pub/gnu
When you install gcc, don't make the mistake of installing GNU binutils or GNU libc, they are not as capable as
their counterparts you get with Solaris 2.x.
5) Info on other compiler vendors will be added if you send us some.
Last-modified: Fri, 08 Aug 1997 05:40:05 GMT