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: Binutils on arm : pls advice me how to proceed


Hi Pedro,

Made a small test:
Three objects (from main.cpp main2.cpp main3.cpp), one function each, each calls the other in chain, and both all -lc functions (printf).


Linked with:

${OUTFILE}.exe : $(OBJECTS) Makefile
   $(CXX) -v main.o main2.o -nostdlib -r -o partial.o
   $(CXX) -v partial.o main3.o -static $(LDFLAGS) -o ${OUTFILE}.exe

Tested with runtime as dll and with -static.
And it ran ok.

Excellent - thanks for doing that.


I have now checked in your patches to the mainline sources.

Cheers
  Nick


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