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

See the CrossGCC FAQ for lots more information.


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: C++ linked statically?


On 2009-05-26 18:34, Piotr Borys wrote:
> LDFLAGS = -L$(STAGING_DIR)/arm-unknown-linux-uclibcgnueabi/lib
> --static -lstdc++ -lc

Try appending to LDFLAGS:

-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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