From owner-freebsd-questions Sat Sep 16 20:49:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id EFB4537B422 for ; Sat, 16 Sep 2000 20:49:04 -0700 (PDT) Received: (from grog@localhost) by wantadilla.lemis.com (8.11.0/8.9.3) id e8H3kQk70656; Sun, 17 Sep 2000 13:16:26 +0930 (CST) (envelope-from grog) Date: Sun, 17 Sep 2000 13:16:26 +0930 From: Greg Lehey To: Francisco Reyes Cc: FreeBSD Questions List Subject: Re: C programming on FreeBSD Message-ID: <20000917131626.A67912@wantadilla.lemis.com> References: <20000917101758.B42114@wantadilla.lemis.com> <200009170330.XAA47736@sanson.reyes.somos.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200009170330.XAA47736@sanson.reyes.somos.net>; from fran@reyes.somos.net on Sat, Sep 16, 2000 at 11:37:06PM -0400 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday, 16 September 2000 at 23:37:06 -0400, Francisco Reyes wrote: > On Sun, 17 Sep 2000 10:17:58 +0930, Greg Lehey wrote: > >>> -Good function list reference. This is one of the things I always admired >>> of the Borland C compiler for DOS. It had a great online reference. >> >> Well, we have a pretty good reference too, sections 2 and 3 of the >> manual. Cross references and overviews are a little more of a >> problem. > > Which manual? The RTFM manual. man(1). >>> So far I have started to read the GNU Info file. >> >> That's not idea. Which one? > > I started with the Gnu C info pages. After all that is the tool I > will be using. I also bought Code-Forge since I am used to > programming with the help of an IDE. That's a bad habit. > I find that they aid greatly productivity wise, specially while one > is starting out. It's possible that they help initially. Later on they get in your way. Remember that UNIX has lots of other, more flexible tools available. > The IDE is why I have always liked Borland tools, Delphi in > particular, since they help with a lot of the mundane things. FWIW, I liked the Borland IDE, too, when I was using Microsoft, but I kept running into limitations, and I spent a lot of time in vain trying to configure things the way I wanted them. I haven't had that problem with UNIX. >> Hmm. I'm sure there are more than you would like to see. Check >> out the /usr/ports/devel. > > I actually did a search on the ports collection for the word > "library". > Lots of good possible candidates. > What I was hoping thought was for any recommendations on > libraries known to be woth the time/effor to learn them. > > In particular I was hoping to find out, what if any, libraries > are part of the standard distribution. That's in intro(3). > Long term I would like to work on the FreeBSD userland and try to > make friendlier. I see no reason for a lot of the arcane interfaces > int he OS other than the fact nobody has had time to work on them. In some cases, you're right. In other cases, it's because you don't understand them yet. > I really have never been too crazy about C, but it is what > FreeBSD uses AND it sure has much more appeals to employers than > Delphi. I love Delphi, but compared to the number of C jobs > Delphi jobs are scarce. Also I feel myself much more attached to > the FreeBSD project than to Delphi. There is also the issue of > Borland been so clueless that I am timid to continue to invest > time on a tool that the company is just surviging so to speak. C is much more flexible than Delphi. In many cases, flexibility gets in your way in the beginning, but it helps in the long run. >>> TCP/IP library. >> >> That's in libc. > > I see a /usr/src/lib/libc which has a number of directories. > Is this what you were refering to? That's where the sources are. The library itself is in /usr/lib/libc.so. >> The best you can find are intro(2) and intro(3). > > Thanks for those two pointers. > intro(3) looks interesting. > > Between that and the libs on the ports I think I have a good > starting point. > > Wasn't there at some point discussions of a developer handbook > or FAQ? Yes, there was a discussion. We still need somebody to do the work. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message