Thread View: gnu.g++
3 messages
3 total messages
Started by Mike Thome
Mon, 16 Oct 1989 01:57
Help with g++ (1.36)
Author: Mike Thome
Date: Mon, 16 Oct 1989 01:57
Date: Mon, 16 Oct 1989 01:57
17 lines
1077 bytes
1077 bytes
A Plea for Help: With things configured as "sun3", gcc 1.36.0, g++ 1.36.0 (last mod Sun Oct 15 00:44:01), I'm having real trouble getting the bloody thing to do anything useful: Ok - it all compiled with only a few problems (mostly makefile stupidity)... now: (1) as set up, any attempt to use g++ to compile anything complains about crt0+.o not available. (ok - I can fix that...) (2) with crt0+.o installed in libdir, we get multiple definition warnings on ___do_global_cleanup and ___do_global_init in crt0.c and gnulib3.c (ok - the ones in crt0.c are nulls (why?? who knows), zap 'em) (3) Peachy, no? No... now helloworld.c compiles and loads without even a single warning... but where's the executable??!? sulk. -mik (mthome@bbn.com, mthome@thalamus.bu.edu)
Re: Help with g++ (1.36)
Author: David W. Forslund
Date: Mon, 16 Oct 1989 12:51
Date: Mon, 16 Oct 1989 12:51
29 lines
1713 bytes
1713 bytes
Michael Tiemann writes: When you next install GNU C++, think of it more like GCC for a new language that needs all the other GNU tools to work, and less like its old self, which was GNU C++ not relying on a lot of tools, but relying on a lot of system support work instead. While I am at it, note that ld++ no longer needs to exist. The GNU linker distributed with GNU C++ (and perhaps the current version distributed by FSF) works without modification or special flags. This means, among other things, that you can compile C++ programs with `gcc' (as opposed to `g++') and the right things will happen, provided you have named your files with the right extension (.cc or .C or .cxx). I would like to voice my objection to this style for differentiating gcc and g++. I believe it is perfectly within the C++ specification to have .c as a suffix for C++ programs. The suffix should not be the distinguishing characteristic of C++ programs necessarily. Some other mechanism should be used to distinguish C++ programs other than the suffix. -- David Forslund MS E531 Los Alamos National Laboratory Los Alamos, NM 87545 (505) 665-1907 (dwf@lanl.gov)
Re^2: Help with g++ (1.36)
Author: Cory Kempf
Date: Tue, 17 Oct 1989 22:00
Date: Tue, 17 Oct 1989 22:00
22 lines
1527 bytes
1527 bytes
dwf@prudence.lanl.gov (David W. Forslund) writes:
>I would like to voice my objection to this style for differentiating
>gcc and g++. I believe it is perfectly within the C++ specification
>to have .c as a suffix for C++ programs. The suffix should not be the
>distinguishing characteristic of C++ programs necessarily. Some other
>mechanism should be used to distinguish C++ programs other than the suffix.
Interesting. I tend to prefer the other POV: that C++ files have
different endings that C files do. Just like Pascal files have
diferent endings that either C or Fortran. I even carry the point a
bit further and name my C++ include files with a .hh suffix rather than
the more normal .h suffix.
I think that it is valuable to be able to tell at a glance whether a
file is a C++ file or a C file. (besides, that way, emacs can call up
the correct major mode!!!!).
+C
--
Cory Kempf Technology Concepts phone: (508) 443-7311 x341
uucp: {anywhere}!uunet!tci!kempf, kempf@tci.bell-atl.com
DISCLAIMER: TCI is not responsible for my opinions, nor I for theirs
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads