Skip to contentSkip to conversation

static libgcc_s

Buildroot Zolnierczuk 1 participant 1 message Feb 28, 2007 1 message not in the archive

lore
Share & tools
lore

Zolnierczuk

#1 lore raw
In reply to a message not in the archive

Hi Thomas:
Thanks for prompt reply.
1. U-Boot compiles fine (I use NOSOFTFLAG=yes). I would like to compile AT91bootstrap
(http://www.atmel.com/dyn/resources/prod_documents/AT91Bootstrap1.2.zip)

2. AFAIK divsi3 is integer division not FP.
When I do
nm -B $PATH_TO_TOOLCHAIN/lib/libc.a
I can see undefined references to __divsi3. The functions are defined in libgcc_s.so, but I need a static one (-Bstatic) ... hence catch 22 :(

BTW: is there a simple way to convert a shared lib into a static one. Back in the dark days I used to manipulate static libs with ar (e.g. ar x libmylib.a would produce a set of *.o files). But I do not know how to "disassemble" a *.so

Piotr