PORTABILITY
author viric <viriketo@gmail.com>
Tue, 11 Oct 2011 19:50:10 +0200
changeset 303 2edd42e77392
parent 172 224b503838de
permissions -rw-r--r--
Updating the version to 0.7.1, for a release.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
121
7a42c36de0d0 Added notes about portability.
viric@llimona
parents:
diff changeset
     1
ANSI C and POSIX
7a42c36de0d0 Added notes about portability.
viric@llimona
parents:
diff changeset
     2
-------------------------
7a42c36de0d0 Added notes about portability.
viric@llimona
parents:
diff changeset
     3
The code should compile without any warning in a system providing an ANSI C
7a42c36de0d0 Added notes about portability.
viric@llimona
parents:
diff changeset
     4
compiler and a Single Unix Specification rev 5 library. I tried only with glibc.
7a42c36de0d0 Added notes about portability.
viric@llimona
parents:
diff changeset
     5
7a42c36de0d0 Added notes about portability.
viric@llimona
parents:
diff changeset
     6
If you find any inconsistency between the code and this statement, please let
7a42c36de0d0 Added notes about portability.
viric@llimona
parents:
diff changeset
     7
know the auther.
7a42c36de0d0 Added notes about portability.
viric@llimona
parents:
diff changeset
     8
7a42c36de0d0 Added notes about portability.
viric@llimona
parents:
diff changeset
     9
Compilers
7a42c36de0d0 Added notes about portability.
viric@llimona
parents:
diff changeset
    10
-------------------------
7a42c36de0d0 Added notes about portability.
viric@llimona
parents:
diff changeset
    11
(Lluís) I could compile easily with gcc.
172
224b503838de Updating the dpkg construction for 0.4.2.
viric@llimona
parents: 121
diff changeset
    12
I could also compile with tcc 0.9.23 if I change the features to
224b503838de Updating the dpkg construction for 0.4.2.
viric@llimona
parents: 121
diff changeset
    13
-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D__STRICT_ANSI__ .
121
7a42c36de0d0 Added notes about portability.
viric@llimona
parents:
diff changeset
    14
7a42c36de0d0 Added notes about portability.
viric@llimona
parents:
diff changeset
    15
HP-UX 10.2 in PA-RISC
7a42c36de0d0 Added notes about portability.
viric@llimona
parents:
diff changeset
    16
-------------------------
172
224b503838de Updating the dpkg construction for 0.4.2.
viric@llimona
parents: 121
diff changeset
    17
(Lluís) I could compile ts 0.3 changing the #include for sys/select.h in
224b503838de Updating the dpkg construction for 0.4.2.
viric@llimona
parents: 121
diff changeset
    18
server.c to sys/time.h. I also had to use gcc instead of the system's cc.