Resources for Portable Programming
This page is a set of pointers to useful references for writing good portable code, for the R developers and for people writing R extensions.
C99 standard
(technically a draft). And its
rationale
.
Fortran standards
, including links to the F77 standard and to draft current standards (currently
here
),
as well as the correct
layout
of Fortran 77 subprograms.
POSIX 1003 standards
: how Unix-alike functions and tools are to behave.
Porting to 64 bit GNU/Linux systems
. Covers a lot of details about 64- vs 32-bit architectures.
The File Hierarchy Standard
. Not written to the standard of a standard, but Debian Linux policy.
How to write shared libraries
. Lots of information on GCC 4.0.0 features, including controlling symbol visibility.
mudflap
. A debugging tool for GCC 4.0.0.
Valgrind
. A debugging tool for ix86 Linux. (See also `Writing R Extensions')