UNIX Socket FAQ

A forum for questions and answers about network programming on Linux and all other Unix-like systems

You are not logged in.

#1 2003-09-25 10:11 PM

r4rahul82
Guest

Re: C on Linux

Hi,
I am a newbie to using linux. I hav experience using C and C++ on windows. I want to know is it any different on linux coz we need to compile from command line and also can i get some help/tutorials about using c on linux and debuggers

Sincerely
Rahul

#2 2003-09-26 01:37 PM

RobSeace
Administrator
From: Boston, MA
Registered: 2002-06-12
Posts: 3,839
Website

Re: C on Linux

Offline

#3 2003-09-26 07:42 PM

i3839
Oddministrator
From: Amsterdam
Registered: 2003-06-07
Posts: 2,239

Re: C on Linux

man gcc works for me, takes a century to load, but after that it's at least clear what some advantages of the info system are...

In short: The info system is a nightmare, but huge manpages are hell.

2

Offline

#4 2003-09-27 06:09 PM

RobSeace
Administrator
From: Boston, MA
Registered: 2002-06-12
Posts: 3,839
Website

Re: C on Linux

Hmmm, yeah, it looks like the GCC man page does have some
useful info in it...  For some reason, I thought it was one of those
which simply said basically "This man page is obsolete: use the
info system now!"...  I've seen those a lot with GNU stuff...  Maybe
it was on an older system, and they've since gone back to keeping
the man page updated? *shrug*  But, it's still not as informative as
the "info" page, anyway...  (Once you manage to find your way
through the damn thing, anyway...)  They would've been much
better off just making the "info system" work via HTML pages,
and use something simple like lynx for text-based viewing, or you
could use a GUI browser instead, if you liked...  If they had to have
their separate "do things differently from the rest of the world, just
because we're GNU, and we want to!" system, in the first place,
that is... ;-)  But, yeah, I think the BEST solution would be multiple
reasonable sized man pages...  Eg: "man gcc_debug" brings up
full info on all the debugging options, "man gcc_extensions" brings
up info on all their extensions beyond normal C, etc...  Or, simply
left the extensive full documentation as separately packaged stuff
under "/usr/share/docs/" or something, and people that really
needed it could seek it out...  (I'd rather hunt around there, then
read through text files with "less", or fire up a browser on HTML
files, than deal with their wacky info system... ;-)  I mean, what the
hell IS that thing, anyway??)

Offline

#5 2003-09-28 12:06 AM

i3839
Oddministrator
From: Amsterdam
Registered: 2003-06-07
Posts: 2,239

Re: C on Linux

Yes, they should use html, they want the same functionality, so no reason to make their own system. First thing I do after typing 'info gcc' is scrolling down to the "Option Index" and press enter.

I found interesting info a couple of times, but of course can't find it back. But that's the fun of the info system: It's a labyrinth.

Offline

Board footer

Powered by FluxBB