libf2c modifications:
---------------------
The itk libf2c (itkv3p_netlib.a) is not used because uncomplet.

- cp sysdep1.h0 sysdep1.h
- cp signal1.h0 signal1.h
- NO cp f2c.h0 otb_6S_f2c.h
- change header inclusion "f2c.h" by "otb_6S_f2c.h" in all files *.c
- omit c files : ftell64_.c pow_qq.c qbitbits.c qbitshft.c signbit.c

- From ITK/Utilities/vxl/v3p/netlib/ 
    - cp v3p_f2c_mangle.h               otb_6S_f2c_mangle.h
    - cp v3p_f2c_unmangle.h             otb_6S_f2c_unmangle.h
    - cp v3p_f2c_original.h             otb_6S_f2c_original.h
    - cp v3p_f2c.h                      otb_6S_f2c.h
    - cp v3p_netlib_mangle.h            otb_6S_mangle.h
    - cp v3p_netlib_unmangle.h          otb_6S_unmangle.h
    - cp v3p_netlib_prototypes.h        otb_6S_prototypes.h
    - cp v3p_netlib.h                   otb_6S.h
- in open.c and inquire.c; pb generation in Visual platform. 
    -> Comment header inclusion "io.h" in MSDOS macro.
    #ifdef MSDOS
    /* OTB Modifications */
    /* #include "io.h" */
    ...

TODO : if problem, use vcl functions. Replace pow_dd(), etc... methods by vcl_pow(), etc.... use ITK vcl (#define pow_dd vcl_pow, ...) !!

6SV1.0B modifications:
----------------------
- generate .c file with f2c applications. Command line execute : f2c -A -a -C++ -c -ec -E -P -r8 
- *.f corection because f2c generate errors (.f files no ASCII).
    patch: ATMREF.f DISCOM.f ISO.f KERNELPOL.f OS.f OSPOL.f VERSBRDF.f
    dimension tab are set (ex : mu replace by 25, nt by 30, ) for locale tab but parameter dimension.
    
- change header inclusion in .h files: replace "f2c.h" by "otb_6S.h"
- change 6S type by new otp types: example: integer is repalce by otb_6s_integer, ...
TO DO:
echo "/* Include prototype headers. */" > otb_6S_prototypes.h
for f in 6SV1.0B/*.P ; do
  b=`echo "$f" | sed 's/\.P//'`
  if [ ! -f "${b}.h" ] ; then
    echo "Converting prototype $b"
    cat ${b}.P |
    grep -v "^/\\*" |
    sed 's/\([A-Za-z0-9]*\)_(/otb_6s_\1_(/' |
    sed 's/(/(\n  /g' |
    sed 's/, /,\n  /g' |
    sed 's/)/\n  )/g' |
    sed 's/const/otb_6s_const/g' |
    sed '/ logical1/ {s/logical1/otb_6s_logical1/g}' |
    sed '/ real/ {s/real/otb_6s_real/g}' |
    sed '/ integer1/ {s/integer1/otb_6s_integer1/g}' |
    sed '/ uinteger/ {s/uinteger/otb_6s_uinteger/g}' |
    sed '/ integer/ {s/integer/otb_6s_integer/g}' |
    sed '/ address/ {s/address/otb_6s_address/g}' |
    sed '/ shortint/ {s/shortint/otb_6s_shortint/g}' |
    sed '/ doublereal/ {s/doublereal/otb_6s_doublereal/g}' |
    sed '/ doublecomplex/ {s/doublecomplex/otb_6s_doublecomplex/g}' |
    sed '/ complex/ {s/complex/otb_6s_complex/g}' |
    sed '/ shortlogical/ {s/shortlogical/otb_6s_shortlogical/g}' |
    sed '/ logical/ {s/logical/otb_6s_logical/g}' |
    sed '/ longint/ {s/longint/otb_6s_longint/g}' |
    sed '/ ulongint/ {s/ulongint/otb_6s_ulongint/g}' |
    sed '/ ftnlen/ {s/ftnlen/otb_6s_ftnlen/g}' |
    sed '/ C_f/ {s/C_f/otb_6s_C_f/g}' |
    sed '/ E_f/ {s/E_f/otb_6s_E_f/g}' |
    sed '/ H_f/ {s/H_f/otb_6s_H_f/g}' |
    sed '/ Z_f/ {s/Z_f/otb_6s_Z_f/g}' |
    cat > ${b}.h
  fi
  echo "#include \"${b}.h\"" >> otb_6S_prototypes.h
done


- about main.c file: comment definition functions: because is not very necessary and the definition in the libf2c is different !!
     -> /* int s_copy(char *, char *, ftnlen, ftnlen); */
     -> /* int s_cat(char *, char **, integer *, integer *, ftnlen); */

TODO : move main.c file to the executable (in /Testing/Utilities for exeample).
TODO : IMPORTANT : corection: dynamic allocation memory in files ATMREF.c DISCOM.c ISO.c KERNELPOL.c OS.c OSPOL.c VERSBRDF.c
