Stupid question about GCC-1.37.23 installation (sun2 - SunOS 4.0)

Stupid question about GCC-1.37.23 installation (sun2 - SunOS 4.0)

Post by Nick Say » Fri, 26 Oct 1990 19:05:54



Hi. After making gcc's "stage1" and "stage2," I found that "hello world"
programs compiled with stage2 bombed. The compiler itself ran, but
the output dumped core (c-parse.tab.c also produced 6 assembler warnings
when compiled with stage1/gcc, but they were just warnings. I'm sure
gcc is not happy with sun's assembler).

But get this: The same "hello world" program, compiled with stage1/gcc,
and LINKED with /bin/cc work just fine. So do other applications
I've tried -- a crc program, an alternate du, other hello-worlds,
etc.

So the compiler itself doesn't seem to be buggy, just the way it calls
the system linker (which must be /bin/ld, no?).

I also note that gcc's output is not dynamically linked. This is
to be expected, I would think, but it may be a helpful fact. They
come out of the /bin/cc compiler as "68010 demand paged dynamically linked
executable not stripped" They come out of stage1/gcc as simply
"68010 executable not stripped."

My thinking is that I've simply overlooked something silly. If
some kind soul could fill in the missing space, and/or a newsgroup
outside of the gnu.* distribution (which I don't get) where I should
be asking this question, that'd be nice.

All I want is a c++ compiler. To get there, I seem to have to
get gcc, g++, GNUemacs (to pull out various "missing" .c files),
bison, and probably gnuchess as well. :-/ ...or buy it from AT&T (yeah,
right).

--
Nick Sayer               | Disclaimer: "Don't try this at home, | RIP: Mel Blanc

N6QQQ  [44.2.1.17]       | trained, professional idiots."       |  May he never
209-952-5347 (Telebit)   |                     --Plucky Duck    |  be silenced.

 
 
 

1. --stupid question but then there are no stupid questions--

        I'm a beginner here so, so far everything i read has gone
    way over my head. My problem is I got a script sent to me
    decoded or something like that. You are supposed to enter the
    data into a uudecode or something but I'm not sure how that's
    done. There's a program on the university's main menu that
    called UUDECODE but everytime I run it through it, it says it
    can't open the file. Comments ??????? Help ?

        eric

2. mirroring software?

3. Cross compiling GCC 2.0 rs6000 for a sun2

4. AIX link options

5. fixincludes script (gcc 2.8.1 SUN2.5.1)

6. metadb problem

7. Stupid XFree 4.0 setup question

8. IGNORE MY PREVIOUS POSTING

9. Stupid SunOS Question

10. Stupid question about gcc

11. stupid gcc question

12. Please *answer my STUPID GCC QUESTION*

13. Stupid, stupid, stupid...