ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(Fwd) Re: Build problems for ddd-3.3 on AIX and HP-UX


From: Freddy Jensen
Subject: (Fwd) Re: Build problems for ddd-3.3 on AIX and HP-UX
Date: Wed, 21 Mar 2001 11:23:53 -0800

I finally succeeded building ddd-3.3 on AIX using
gcc 2.95.2. If you think it is useful, then please
include these notes in the README file for the next
ddd release:


===> begin


Building ddd-3.3 on AIX 4.3.3 with gcc 2.95.2
---------------------------------------------

I found two problem with the build on AIX:

1) Some of the headerfiles in /usr/include cause
   compile errors when used with the gcc 2.95.2
   compiler.  The problematic files are:

   ctype.h
   unistd.h
   pthread.h

   To make sure that gcc uses its own versions of 
   those files instead of the ones in /usr/include
   you should add a -I option to the CPPFLAGS
   environment variable. If your gcc compiler is
   installed here:

   /usr/mygcc/aix/gcc_2.95 then you should set CPPFLAGS to:

   
"-I/usr/mygcc/aix/gcc_2.95/aix_4.3/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/include"

2) For some reason the function tcdrain() cannot be found be the linker
   even though the configure script determines that it is present on
   the system. To work around this problem edit the file: ddd/config.h
   and change this:

   From: #define HAVE_TCDRAIN 1
   To:   #define HAVE_TCDRAIN 0

   The type "make"

===> end

Thanks

--
Freddy Jensen, Sr. Computer Scientist, Adobe Systems Incorporated
345 Park Avenue, San Jose, CA 95110-2704, USA, Ph: (408) 536-2869
Email: address@hidden, URL: http://www.adobe.com
--



reply via email to

[Prev in Thread] Current Thread [Next in Thread]