From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Lipe To: Bill Walker Cc: egcs@cygnus.com Subject: Re: SCO experiences Date: Fri, 03 Oct 1997 07:38:00 -0000 Message-id: <19971003093725.13937@dgii.com> References: X-SW-Source: 1997-10/msg00153.html > 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