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

RE: [microblaze-uclinux] Shared vs Static libraries?




John,

This probably isn't what you're running into but for my own uClinux
build I had the same issue with the image being outrageously large.
After some investigation it seemed like our load sharing server that I
was running the make on (open-mosix) had something to do with it. I
stopped job migration and I haven't had a problem since. I still don't
know if or why that helped but it did. So if you're building on a
cluster make sure the job won't migrate.

-----Original Message-----
From: owner-microblaze-uclinux@itee.uq.edu.au
[mailto:owner-microblaze-uclinux@itee.uq.edu.au] On Behalf Of John
McGrath
Sent: Wednesday, March 23, 2005 10:38 AM
To: microblaze-uclinux@itee.uq.edu.au
Subject: [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/


******************************************
The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege.  If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager.  Please do not copy it for any purpose, or disclose its contents to any other person.  The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company.  The recipient should check this e-mail and any attachments for the presence of viruses.  The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.
******************************************

___________________________
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/