Next: Some notes on installation
Up: Trouble shooting
Previous: Some notes on installation
Contents
Since July 2000 Doris can be installed to Linux X86 systems. The code
needed some changes. Please refer to the general problems section as
well.
- Byte order on X86 systems. Use the functions htonl and htons to
read the record length and data of the SLC volume, leader, and data
file.
- File io.
- (gcc compiler only?) ios::ate does not act as expected. It
should open an input file stream at the end, but it does not.
ios::app (ofstream class) does work, as does a
file.seekg(0,ios::end);
- ios::in (or out) has to be set, even for statements like
ifstream ifile(ios::nocreate); The default and logical, that a file
is an input stream if it is declared ifstream, is not true for gcc
compiler.
- strcmp. The statement strcmp(word,'
0') gives a
memory fault if tested.
Leijen
2009-04-14