[G95] Building on cygwin

Tobias Schlüter <Tobias.Schlueter-PRwTpj6vllKk3R3rdxfvAFldt430NS3G@public.gmane.org> Sun, 11 May 2003 16:00:47 +0200
Newsgroups gmane.comp.compilers.g95
Message-ID <[email protected]>
Your latest changes let the build fail on cygwin, as there is no 
<stdint.h>. This is fixed by making libgfor.h include <sys/types.h> instead.

--- libgfor.h   7 May 2003 18:56:04 -0000       1.8
+++ libgfor.h   11 May 2003 13:51:49 -0000
@@ -26,7 +26,7 @@

  #include <math.h>
  #include <stddef.h>
-#include <stdint.h>
+#include <sys/types.h>

  #ifndef M_PI
  #define M_PI 3.14159265358979323846264338327

BTW, I found out why I couldn't build the documentation. I have symlinks 
to gcc-g95's directories in my gcc tree. When building doumentation it 
issues 'makeinfo -I ../doc/include g95.texi' while in gcc/gcc/f95.  This 
fails because .. points to the parent directory of the directory where 
the symlink points to, i.e gcc-g95/gcc instead of gcc/gcc. I fixed this 
by having a symlink to gcc/gcc/doc in gcc-g95/gcc/

- Tobi



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com