[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Shared vs Static libraries?



Hi,
I just sucessfully compiled the kernel / image for the current uClinux 
distribution. I wanted to have a pertty minimal setup, but after 
compilation I discovered the image.bin was 8.8 Mb!! I looked and saw the 
kernel was about 1.2Mb, while the user applications took up the rest. On 
looking in the romfs/bin directory I saw all the executable files there 
were about 200-500K! for example cat was 159K while the cat on my linux 
machine is 19K !! so clearly there is something going wrong. My guess it 
is is statically linking the programs. I did not do anything (to my 
knowledfge) to turn this on - but I assume it would not be the default, 
as space is a premium! Anyone got any ideas on what this could be?

Cheers
John

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/