[svlug] Re: Compiling C++, Linux vs OpenBSD ?
Bill Schoolcraft
bill at wiliweld.com
Sun Sep 3 14:38:02 PDT 2000
At Sun, 3 Sep 2000 it looks like Karen Shaeffer composed:
<humbly_snipped>
KS-->g++ is just a wrapper around gcc. You could just use gcc and compile
KS-->the code. You would need to specify all the options that g++ is
KS-->automatically specifying for you. But, then you would have full control
KS-->over the compilation process. You see the g++ wrapper is at the root
KS-->of the differing compilation results for the two different hosts.
KS-->
</humbly_snipped>
Thanks, I've just learned more from your post than I ever dreamed of
when posting this minor observation between the same program
compiled on different Unix machines.
I got stung once doing some homework in my last Sys-Admin class
where my flags on the 'tar' command (in a script) for Linux didn't
work when I ran the script on the HP-Unix machine at school. Ever
since then I've spread my homework out on three different platforms,
Linux, OpenBSD, and HP-Unix. Although the classes will always end,
my experience will stay with me. I'd rather be embarressed here at
home instead of some customers job site one day.
Anyway, those are the immediate machines I have access to. I haven't
even checked to see if the HP-Unix machine has g++ yet, got my hands
full testing with just Linux and OpenBSD..... Thanks again.
(PS) I feel sad for the other students who went out and besides
spending the $70 dollars for our book, another $50 for the "Borland
Turbo C++" that the College bookstore offered only to do their
homework in DOS.
--
Bill Schoolcraft http://wiliweld.com
PO Box 210076 San Francisco, CA 94121
" Ofortunatos nimium, sua si bona norint! "
More information about the svlug
mailing list