File: README.solaris

package info (click to toggle)
star 1.5a67-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,600 kB
  • ctags: 4,715
  • sloc: ansic: 37,601; sh: 3,198; makefile: 200
file content (82 lines) | stat: -rw-r--r-- 2,429 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Never compile anything in a locale other than "C" unless you are sure
that your C-compiler and the program 'nm' has been patched.
This is not needed with Solaris 2.6 or later and with the Workshop 5.0
compiler or later.

Even if you are a recent Solaris version, use locale "C" in case of problems.

To ensure that locale "C"' is set, do

setenv LC_ALL C

in csh
or

LC_ALL=C
export LC_ALL
in sh

before running make. Or simply call

env LC_ALL=C make

The reason:

1)	On Solaris before 2.5.1 'nm' dumps core in any other locale.
	For that reason lorder will not work.
	*** no patch available **** but fixed on Solaris 2.5.1
	according to Sun

2)	The SunPro C-compiler will not convert floating
	point numbers correctly if e.g. in "de" locale (Germany)
	1.3 will be interpreted as 1.0!!!!
	*** patch available ***

3)	/usr/xpg4/bin/tr does not work correctly if locale is not "C"
	Try:
		echo ABC | env LC_ALL=de /usr/xpg4/bin/tr 'A-Z' 'a-z'

	it prints:

	BCD



If you want to do compilations on Solaris, it is best not have /usr/ucb
in your PATH. If you want to have /usr/ucb in the PATH it must be the last
entry. You also should put /usr/ccs/bin/ before /usr/xpg4/bin/ in the PATH
to make sure that /usr/ccs/bin/make is used and not /usr/xpg4/bin/make.

To be able to use 'make' 'as' and 'ld' you need to make sure that 
/usr/ccs/bin is in your path.

Avoid /usr/ucb and /usr/xpg4/bin in your PATH if you have problems.

Make sure - even if you use GCC - you don't use GNU as, GNU ld 
and GNU tsort/lorder.

For CD-Recording please read the README.volmgt too.

On Solaris you need to stop the volume management if you like to use the USCSI
fallback SCSI transport code. Even things like cdrecord -scanbus
will not work if the volume management is running.

If you run Solaris 7 FCS, install patch 107465-02 to fix a read ahead bug in the
hsfs code.

If you have problems with 12 byte SCSI commands on Solaris (mainly x86) get
Patch 108779-01

If you have problems with ISO-9660 partitions > 4 GB  where Solaris wraps to
offset mod 4 GB when reading from the FS install patch 113277-04.


		IMPORTANT information for Solaris x86

If have no DMA, you will get problems with buffer underruns and may never use
the maximum write speed of current CD/DVD drives.

For more information, read README.solaris-x86-ata-DMA and README.solaris-x86-ATAPI-DMA
and take care that the locations for patching may change in future versions.