public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Robert Lipe <robertl@dgii.com>
To: Bill Walker <bw@student.ecok.edu>
Cc: egcs@cygnus.com
Subject: Re: SCO experiences
Date: Fri, 03 Oct 1997 07:38:00 -0000	[thread overview]
Message-ID: <19971003093725.13937@dgii.com> (raw)
In-Reply-To: <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



  reply	other threads:[~1997-10-03  7:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-03  5:54 Bill Walker
1997-10-03  7:38 ` Robert Lipe [this message]
1997-10-03 12:53   ` J. Kean Johnston
1997-10-03 12:14 ` Horst von Brand
1997-10-03 12:51 ` J. Kean Johnston
     [not found] <m0xH7GY-0000NWC.cygnus.egcs@student.ecok.edu>
1997-10-03  8:11 ` Jason Merrill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19971003093725.13937@dgii.com \
    --to=robertl@dgii.com \
    --cc=bw@student.ecok.edu \
    --cc=egcs@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).