Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Sep 2000 13:16:26 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Francisco Reyes <fran@reyes.somos.net>
Cc:        FreeBSD Questions List <questions@FreeBSD.ORG>
Subject:   Re: C programming on FreeBSD
Message-ID:  <20000917131626.A67912@wantadilla.lemis.com>
In-Reply-To: <200009170330.XAA47736@sanson.reyes.somos.net>; from fran@reyes.somos.net on Sat, Sep 16, 2000 at 11:37:06PM -0400
References:  <20000917101758.B42114@wantadilla.lemis.com> <200009170330.XAA47736@sanson.reyes.somos.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000917131626.A67912>