This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: Any MIPS experts?
- From: "Maciej W. Rozycki" <macro at linux-mips dot org>
- To: Dave Korn <dave dot korn at artimi dot com>
- Cc: "'Thiemo Seufer'" <ths at networkno dot de>, binutils at sourceware dot org
- Date: Fri, 23 Sep 2005 21:48:06 +0100 (BST)
- Subject: RE: Any MIPS experts?
- References: <SERRANOqLpHkatd4gmS00000234@SERRANO.CAM.ARTIMI.COM>
On Fri, 23 Sep 2005, Dave Korn wrote:
> Yes, I can see that it should not, but we've been getting the bloat with
> 2.16.1 and 3.3.4. So perhaps the gcc driver is sending different command
> line flags (such as -N, for example) to the linker between these two
> versions. Can I see your "gcc -v" output?
No problem (except I must have clearly not looked at the version number
of GCC carefully enough previously) -- here it is:
$ mipsel-linux-gcc -v -o main main.c
Using built-in specs.
Target: mipsel-linux
Configured with: ../configure --prefix=/usr --mandir=/man
--with-local-prefix=/mipsel-linux/local --enable-libc --disable-multilib
--enable-shared --enable-static --with-system-zlib --enable-threads
--cache-file=config.cache --build=i386-linux --host=i386-linux
--target=mipsel-linux
Thread model: posix
gcc version 4.0.0
/usr/libexec/gcc/mipsel-linux/4.0.0/cc1 -quiet -v main.c -quiet -dumpbase
main.c -auxbase main -version -o /tmp/ccUerFNs.s
ignoring duplicate directory
"/usr/lib/gcc/mipsel-linux/4.0.0/../../../../mipsel-linux/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc/mipsel-linux/4.0.0/include
/usr/mipsel-linux/include
End of search list.
GNU C version 4.0.0 (mipsel-linux)
compiled by GNU C version 4.0.0.
GGC heuristics: --param ggc-min-expand=38 --param ggc-min-heapsize=15932
/usr/lib/gcc/mipsel-linux/4.0.0/../../../../mipsel-linux/bin/as -EL
-no-mdebug -mabi=32 -v -KPIC -o /tmp/ccaSPpXL.o /tmp/ccUerFNs.s
GNU assembler version 2.16.1 (mipsel-linux) using BFD version 2.16.1
/usr/libexec/gcc/mipsel-linux/4.0.0/collect2 --eh-frame-hdr -EL
-dynamic-linker /lib/ld.so.1 -o main
/usr/lib/gcc/mipsel-linux/4.0.0/../../../../mipsel-linux/lib/crt1.o
/usr/lib/gcc/mipsel-linux/4.0.0/../../../../mipsel-linux/lib/crti.o
/usr/lib/gcc/mipsel-linux/4.0.0/crtbegin.o
-L/usr/lib/gcc/mipsel-linux/4.0.0 -L/usr/lib/gcc/mipsel-linux/4.0.0
-L/usr/lib/gcc/mipsel-linux/4.0.0/../../../../mipsel-linux/lib
/tmp/ccaSPpXL.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc
--as-needed -lgcc_s --no-as-needed
/usr/lib/gcc/mipsel-linux/4.0.0/crtend.o
/usr/lib/gcc/mipsel-linux/4.0.0/../../../../mipsel-linux/lib/crtn.o
Maciej