Re: SOT: g++ (command line) problem
Re: SOT: g++ (command line) problem
- Subject: Re: SOT: g++ (command line) problem
- From: Greg Guerin <email@hidden>
- Date: Tue, 19 Jun 2007 15:08:42 -0700
David Goldsmith wrote:
>It may be "fine" if you know what you're looking for, but if you don't,
>it's *way* too big to be very useful. It's great that gcc/++ is such a
>versatile compiler, but it's a mixed blessing: the size and scope that
>provide that versatility also make it very unwieldy, esp. for a relative
>newbie. Anyone for a g++lite?
I don't think it's a question of g++lite. The tool doesn't need lightening.
It's a question of how to find useful info in the copious man-page text.
I often use Xcode to read man pages in a searchable browsable context:
0. Launch Xcode.
1. Choose: Help Menu > Open man page...
2. Enter name of desired command & click OK.
3. Use Find dialog (cmd-F) in Xcode to find keywords or phrases.
For example, in g++'s man page, search for "header file". It will find a
lot of entries until it gets to the interesting ones near the end. Or
search for PATH, case-sensitive. There are far fewer of those, so PATH,
CPATH, etc. come up pretty quickly.
Sometimes, I'll use 'grep' on the command-line first, to see if there are
any interesting hits in a man page, then I'll open it for reading in Xcode.
You could even put the "open man page in Xcode" commands into a
command-line alias.
But if you're a relative newbie, and command-lines aren't really your
thing, then Xcode has other uses, too.
-- GG
p.s. Please send any replies to the list, not directly to me.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden