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] |
2009/5/26 Dimitry Andric <dimitry@andric.com>: > 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 Well... it seems it built it dynamically: $ ./parking: can't load library 'libstdc++.so.6' :/ the resulting binary is much greater than normal file, but somewhat smaller than built with -static. I saw somewhere some suggestion with this -W option, too (although with other params) - where can I find some help on its use? -- Piotr "utak3r" Borys http://utak3r.pl -- 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] |