This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Static build of binutils 2.16.1


> That's surely not what's happening, have you looked at $(LINK) or at
> the actual commands being run?  $(LINK) includes $(LDFLAGS).

Euhh. Yes, it's happen.
LINK variable seems good, as it includes '-static' flag, but the flag is not
reported on actual command line. For example :

/bin/sh ./libtool --mode=link
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes
-g -O2 -static -o objdump  objdump.o budemang.o prdbg.o rddbg.o debug.o
stabs.o
ieee.o rdcoff.o bucomm.o version.o filemode.o ../opcodes/libopcodes.la
../bfd/libbfd.la ../libiberty/libiberty.a
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o objdump
objdump.o
budemang.o prdbg.o rddbg.o debug.o stabs.o ieee.o rdcoff.o bucomm.o
version.o
filemode.o  ../opcodes/.libs/libopcodes.a ../bfd/.libs/libbfd.a
../libiberty/libiberty.a

Makefile is :

objdump$(EXEEXT): $(objdump_OBJECTS) $(objdump_DEPENDENCIES)
        @rm -f objdump$(EXEEXT)
        $(LINK) $(objdump_LDFLAGS) $(objdump_OBJECTS) $(objdump_LDADD)
$(LIBS)

And I don't understand this behavior. I surely have missed something but I
don't see what... I precise that current version on my host systems are gcc
3.2 and binutils 2.13.

Regards
Pierre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]