login about faq

When i merged all the libraries using "makeUniversalLib.sh" the final file size of library came to be about 240 mb.This size is too large. Is there a way to reduce this size??

I am evaluating this library for scp file transfer and it seems that even on wifi the scp file transfer is very slow. It takes about 10 mins to upload a file of 25 mb. What can i do to increase its speed.

asked Apr 05 at 08:49

arpit0125's gravatar image

arpit0125
32


  1. Edit makeUniversalLib.sh to NOT include architectures you don't need.
  2. The .lib's are static libraries. When compiling/linking against static libraries, a linker only includes the library code that is directly or indirectly referenced. Therefore, one could have a .lib that is 60000GB, and if only 1K of internal code is referenced, then only 1K of code is added to your executable. The actual size of the .lib is not of importance -- it is the size of your app after linking. There is no need to include the .lib files in your application's distribution. When a program is linked, the code contained in a static library is linked into your .exe.
  3. This slowness is not due to the Chilkat implementation. It must be due to external factors.
link

answered Apr 05 at 09:08

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×94
×7
×6
×3

Asked: Apr 05 at 08:49

Seen: 279 times

Last updated: Apr 05 at 09:08

powered by OSQA