nanogui: mipsel-linux-gcc keeps core dumping
Subject:
Re: mipsel-linux-gcc keeps core dumping
From:
"Yu Xuanwei" ####@####.####
Date:
1 Feb 2001 01:16:41 -0000
Message-Id: <01c001c08bed$66009c80$6400000a@sinocluster.com>
----- Original Message -----
From: Alex Holden ####@####.####
To: Yu Xuanwei ####@####.####
Cc: nanogui linuxhacker ####@####.####
Sent: Wednesday, January 31, 2001 5:53 PM
Subject: Re: mipsel-linux-gcc keeps core dumping
> On Wed, 31 Jan 2001, Yu Xuanwei wrote:
> > > Don't do that- strip removes the symbols which are needed when linking
the
> > > objects together. You can strip the program after it's been linked
> > > together.
> > I doubt it. As far as I know, a striped library is available.
>
> [alex@hyperspace tea-total]# rm -f teatotal
> [alex@hyperspace tea-total]# strip *.o
> [alex@hyperspace tea-total]# make teatotal
> gcc -s -o teatotal teatotal.o teauntea.o tea-kgen.o randdev.o tead.o
> teatun.o teash.o teacp.o teaprot.o huffman.o heap.o base64.o md5.o btea.o
> readkey.o lineget.o util.o getarg.o
> /usr/lib/crt1.o: In function `_start':
> /usr/lib/crt1.o(.text+0x36): undefined reference to `main'
> collect2: ld returned 1 exit status
> make: *** [teatotal] Error 1
> [alex@hyperspace tea-total]#
>
You are right. I misunderstood you. what I meant is that the library
binaries linked Ok can be striped. That won't affect the running a.out. Is
this right?
> --
> ------- Alex Holden -------
> http://www.linuxhacker.org/
> http://www.robogeeks.org/
>
>