home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / n / bind / bind-4.001 / bind-4~ / bind-4.9.3-BETA9 / conf / Info.AIX.bsdcc < prev    next >
Internet Message Format  |  1994-07-04  |  3KB

  1. Received: by gw.home.vix.com id AA20833; Sun, 3 Jul 94 23:08:01 -0700
  2. Received: by gate1.ks.se id AA06485
  3.   (5.67b/IDA-1.5 for <paul@vix.com>); Mon, 4 Jul 1994 08:11:40 +0200
  4. Received: from patricia.ks.se(136.155.37.10) by gate1.ks.se via smap (V1.3mjr)
  5.     id sma006482; Mon Jul  4 08:11:07 1994
  6. Received: from grodan.data.ks.se by patricia.ks.se with SMTP id AA07920
  7.   (5.67a/IDA-1.5 for <paul@vix.com>); Mon, 4 Jul 1994 08:15:49 +0200
  8. Received: by grodan.data.ks.se (AIX 3.2/UCB 5.64/4.03)
  9.           id AA73470; Mon, 4 Jul 1994 08:05:02 +0100
  10. Date: Mon, 4 Jul 1994 08:05:01 +0100 (NFT)
  11. From: Urban Kaveus <uka@data.ks.se>
  12. Sender: Urban Kaveus <uka@data.ks.se>
  13. Reply-To: Urban Kaveus <uka@data.ks.se>
  14. Subject: Re: 4.9.3-beta4 private release (includes beta3-beta4 patch) 
  15. To: Paul A Vixie <paul@vix.com>
  16. Cc: Rikard Anderljung <ran@data.ks.se>
  17. In-Reply-To: <9407020153.AA21510@gw.home.vix.com>
  18. Message-Id: <Pine.3.89.9407040756.D20848-0100000@grodan.data.ks.se>
  19. Mime-Version: 1.0
  20. Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
  21.  
  22.  
  23. On Fri, 1 Jul 1994, Paul A Vixie wrote:
  24. > <sys/param.h> is supposed to include <sys/types.h>.  i take it yours doesn't?
  25.  
  26. Hi again !
  27.  
  28. Thanks a lot ! You gave me the clue to the AIX C compiler flags !
  29.  
  30. The top level Makefile says "Supid AIX" and defines "bsdcc" as the compiler
  31. to use. Now, there is no such thing as a bsdcc compiler on a vanilla AIX
  32. system. You have to create a link named bsdcc pointing at your
  33. original C compiler named xlc and create a "flavour entry" in your xlc.cfg
  34. file :
  35.  
  36. * Berkeley style compiler. Added 931221 by Urban K.
  37. bsdcc:  use             = DEFLT
  38.         crt             = /lib/crt0.o
  39.         mcrt            = /lib/mcrt0.o
  40.         gcrt            = /lib/gcrt0.o
  41.         libraries       = -lbsd, -lc
  42.         proflibs        = -L/lib/profiled,-L/usr/lib/profiled
  43.         options         = -H512,-T512, -qlanglvl=extended, -qnoro, 
  44.                           -D_BSD, -D_NONSTD_TYPES, -D_NO_PROTO,
  45.                           -bnodelcsect, -U__STR__, -U__MATH__
  46.  
  47. Of course you are right, <sys/param.h> DO include <sys/types.h> if the
  48. _BSD flag is set.
  49. Our problem was that we broke the configuration entry in xlc.cfg into
  50. several lines. That has been done in all other AIX configuration files so 
  51. why not in this one ?
  52.  
  53. But it did not work, we did not get the _BSD flag set and we did not
  54. even get warned about the configuration mistake.
  55.  
  56. Your clue togheter with the inctree perl program lead us right. Thanks !
  57. Now, the BETA 6 compiles like a charm with no changes at all.
  58.  
  59. Yours
  60.  
  61. Urban Kaveus  <uka@data.ks.se>
  62. dataavdelningen
  63. Karolinska Hospital
  64. S-171 76 Stockholm
  65. Sweden
  66.  
  67.