login about faq

I'm interested in integrating SFTP into my software but the static library trial for Objective-C/Cocoa is quite large for my use case (48MB). Is it possible to get a binary just for SFTP? And if so, how large is it? These are the header files I’m currently using:

CkoSFtp.h CkoSshKey.h CkoTask.h

asked Oct 06 at 10:13

markh's gravatar image

markh
31


When a program is compiled and linked against a static library, only the code that is directly or indirectly used by the application will get linked into the executable. Therefore, it makes no difference if separate libs are provided.

For example, if Chilkat added new functionality for XYZ that increased the size of the static libs by 6000MB, but your application does not use XYZ, then the code for XYZ does not get linked into your executable.

Also, just in case you don't realize it... you don't include the static libs with your application's install. There's no need for it because the code in the static libs is linked directly into your executable.

link

answered Oct 06 at 10:22

chilkat's gravatar image

chilkat ♦♦
12.8k317363471

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:

×227
×38
×9

Asked: Oct 06 at 10:13

Seen: 67 times

Last updated: Oct 06 at 10:22

powered by OSQA