Menu

Build on AIX 5.

Developers
2003-05-21
2013-10-17
  • Jim Edwards

    Jim Edwards - 2003-05-21

    I've built the latest CVS on AIX 5 using xlc and xlC compilers.  It seems that autoconf 2.57 produces a configure file which looks for a gnu compatable malloc.  This means that malloc(0) should return a none Null value.  Since the AIX malloc returns null, the configure adds to config.h :

    #define HAVE_MALLOC 0  and
    #define malloc rpl_malloc

    As I understand the autoconf documentation, it is your responsibility to provide this rpl_malloc function :
    http://www.gnu.org/manual/autoconf/html_node/autoconf_46.html

    I have done this and would like to contribute the changes to the repository.  This includes an additional file src/nco/malloc.c and changes to: Makefile.am Makefile.in

     
    • Rorik Peterson

      Rorik Peterson - 2003-05-21

      Jim,
      That's great.  If you send a patch, I can apply it to the CVS source, since I'm the one that usually deals with the autoconf stuff. 

      rorik

       
      • Jim Edwards

        Jim Edwards - 2003-05-21

        Okay I've uploaded a patch.  I did not send a Makefile.in since we are using different automakes I think it would be better if you build that. 

         

Log in to post a comment.