This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: SCO experiences
- To: Bill Walker <bw at student dot ecok dot edu>
- Subject: Re: SCO experiences
- From: Robert Lipe <robertl at dgii dot com>
- Date: Fri, 3 Oct 1997 09:37:25 -0500
- Cc: egcs at cygnus dot com
- References: <m0xH7GY-0000NWC@student.ecok.edu>
> This is just a report mentioning some experiences with SCO OSR 5.0.2 and 5.0.4
> and the 970929 egcs compiler. These experiences are good for anecdotes,
> I had trouble compiling it at first, but with a suggestion from Robert it
> compiled out of the box. Thanks Robert!
You're welcome.
> I used the new compiler to build emacs 20.1, just to see what would happen.
> It compiled fine, but produced a code file (ELF) about 500K larger than
> 970907 does. I don't know why, yet.
My money is on exceptions. Compile with -fno-exceptions and see if
it shrinks.
> I found that the following (bad) usage of command line switches would dump
> core: (it was in a makefile)
>
> gcc -s -c file1.c
> gcc -s -c file2.c
> gcc -s file1.o file2.o <-- dumps core here
>
> When I remade the makefile to do this:
>
> gcc -c file1.c
> gcc -c file2.c
> gcc -s file1.o file2.o
>
> it worked fine.
Stripping .o's before handing them to the linker can't be a good plan.
It's not actually gcc that drops core. It's ld/collect2. Stick a
debugger in it and see if you can give better hints.
Yes, I really need to go build a current gdb...
> The egcs project seems to be a useful one, and the dedicated folks
> involved seem both pleasant and highly competent. I am really glad to
> see this kind of talent and interaction on such an important project.
>
> Heartfelt congratulations to the entire team, and I encourage you
> to keep up the wonderful work you have begun.
I, too, am amazed at the speed things are moving on this list.
RJL