Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] New package: cJSON (v2)
Date: Tue, 12 Jun 2012 10:08:27 +0200	[thread overview]
Message-ID: <87txyhc5qc.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <CANxTyt7PWShWW=7KcysmHxNAQUogw=8fb=+JRDfZuiVAwrQ_Dg@mail.gmail.com> (Danomi Manchego's message of "Mon, 11 Jun 2012 20:03:38 -0400")

>>>>> "Danomi" == Danomi Manchego <danomimanchego123@gmail.com> writes:

 Danomi> Peter,
 >> I'm not sure it makes sense to build a .so of something as simple (and
 >> unversioned) as this. How about just doing a static .a like ezxml??

 Danomi> We use cJSON in about half a dozen apps in our project, so a
 Danomi> .so seemed like the way to go. ?If you feel strongly about
 Danomi> this, would you be open to having an option to make a shared
 Danomi> object? ?(Maybe something like the logic in zlib.mk or qt.mk.)

cJSON is quite small, so the overhead of dynamically loading it is
probably in the same ballpark:

size cJSON.o
   text	   data	    bss	    dec	    hex	filename
   7047	     16	      8	   7071	   1b9f	cJSON.o

But ok, I don't feel strongly about it. If you prefer .so, then keep it
like that.

-- 
Bye, Peter Korsgaard

      reply	other threads:[~2012-06-12  8:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-05  0:38 [Buildroot] [PATCH] New package: cJSON (v2) Danomi Manchego
2012-06-11 10:08 ` Peter Korsgaard
2012-06-12  0:03   ` Danomi Manchego
2012-06-12  8:08     ` Peter Korsgaard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87txyhc5qc.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox