All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert P. J. Day <rpjday@crashcourse.ca>
To: buildroot@busybox.net
Subject: [Buildroot] couple questions about what's generated under output/host/
Date: Thu, 16 Apr 2015 11:34:31 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LFD.2.11.1504161128470.31691@localhost> (raw)


  going through the results of building for a BBB and curious about
two fairly minor things.

  i'm looking under output/host/usr/arm-buildroot-linux-gnueabihf, and
the first curiosity is further under the subdirectory bin/:

$ ls -l
total 9860
-rwxr-xr-x. 2 rpjday rpjday  860248 Apr 16 09:53 ar
-rwxr-xr-x. 2 rpjday rpjday 1494440 Apr 16 09:53 as
lrwxrwxrwx. 1 rpjday rpjday       3 Apr 16 10:01 cc -> gcc
-rwxr-xr-x. 4 rpjday rpjday 1347224 Apr 16 09:53 ld
-rwxr-xr-x. 4 rpjday rpjday 1347224 Apr 16 09:53 ld.bfd
-rwxr-xr-x. 2 rpjday rpjday  837608 Apr 16 09:53 nm
-rwxr-xr-x. 2 rpjday rpjday 1027080 Apr 16 09:53 objcopy
-rwxr-xr-x. 2 rpjday rpjday 1280720 Apr 16 09:53 objdump
-rwxr-xr-x. 2 rpjday rpjday  860248 Apr 16 09:53 ranlib
-rwxr-xr-x. 2 rpjday rpjday 1027112 Apr 16 09:53 strip

the symlink cc -> gcc is, as you can see, broken since there is no gcc
in the current directory. is that a build error? what is that broken
symlink supposed to represent? is this a configuration error on my
part?

  second, under the subdirectory lib/, we have this:

$ ls -l
total 1540
-rw-r--r--. 1 rpjday rpjday  176730 Apr 16 10:01 libatomic.a
-rwxr-xr-x. 1 rpjday rpjday    1021 Apr 16 10:01 libatomic.la
lrwxrwxrwx. 1 rpjday rpjday      18 Apr 16 10:01 libatomic.so -> libatomic.so.1.1.0
lrwxrwxrwx. 1 rpjday rpjday      18 Apr 16 10:01 libatomic.so.1 -> libatomic.so.1.1.0
-rwxr-xr-x. 1 rpjday rpjday   68060 Apr 16 10:01 libatomic.so.1.1.0
-rw-r--r--. 1 rpjday rpjday     132 Apr 16 10:01 libgcc_s.so
-rw-r--r--. 1 rpjday rpjday 1316900 Apr 16 10:01 libgcc_s.so.1
$

  what is that lib/ directory supposed to represent? since if i move
up and go into the sysroot/ directory, i see a whole pile of ARM
libraries, *including* the two libgcc* entries that were in the
earlier lib/ directory, so those two files are being duplicated. is
there a reason for that?

  thanks.

rday


-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

                 reply	other threads:[~2015-04-16 15:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=alpine.LFD.2.11.1504161128470.31691@localhost \
    --to=rpjday@crashcourse.ca \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.