This is the mail archive of the crossgcc@sources.redhat.com 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] |
Hi Kai, > Ok, my new suggestion would however to be to add the following: > > %{static:-Bdynamic -ldl -Bstatic} %{!static:-ldl} > > after the '-lc' in the '*lib:'-spec in the 'specs'-file (The old one suggested only > the latter part)... Then the '-ldl' will be 'wrapped' between '-Bdynamic' and > '-Bstatic' on the command line for the linker. > This works. "objdump -p" shows that my target only needs the libdl.so.1 at running time. Thanks a lot. -Bin ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |