public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Scott L. Price" <prices@dflytech.com>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] libgcc
Date: Tue, 28 Feb 2006 08:52:37 -0600	[thread overview]
Message-ID: <440463B5.6000706@dflytech.com> (raw)
In-Reply-To: <200602281248.39498.ladmanj@volny.cz>


Have you tried merging busybox with the 'static' keyword?  Then it 
shouldn't require any libraries.  Of course it will be larger.

Scott  =)

Jakub Ladman wrote:
> Hi there
> 
> I have done
> 
> crossdev -t sh4-pc-linux-uclibc
> 
> then created this script
> 
> trotl ladmanj # cat memerge
> #!/bin/bash
> 
> ARCH=sh4
> ACCEPT_KEYWORDS="-x86 -~x86 sh ~sh"
> ROOT="/home/ladmanj/work_projects/sh4prj"
> CFLAGS="-Os -pipe"
> CXXFLAGS="${CFLAGS}"
> LDFLAGS="-L${ROOT}/lib -L${ROOT}/usr/lib"
> CBUILD=i686-pc-linux-gnu
> CHOST=sh4-pc-linux-uclibc
> CTARGET=sh4-pc-linux-uclibc
> CC=sh4-pc-linux-uclibc-gcc
> CXX=sh4-pc-linux-uclibc-g++
> PKGDIR=/usr/portage/packages/sh4
> USE="-* -X -kde -gnome -glibc uclibc make-symlinks"
> 
> export ARCH ACCEPT_KEYWORDS CFLAGS CXXFLAGS LDFLAGS ROOT CBUILD CHOST CTARGET 
> CC CXX PKGDIR USE
> 
> emerge -b $*
> trotl ladmanj #       
> 
> then 
> 
> ./memerge -va sys-libs/uclibc busybox baselayout-lite zlib dropbear tinylogin 
> tar bzip2 gzip
> 
> Everything was merged succesfully, but when i am trying to boot it at my sh4 
> powered board i get this message.
> 
> VFS: Mounted root (nfs filesystem).
> Freeing unused kernel memory: 68k freed
> init: can't load library 'libgcc_s.so.1'
> Kernel panic: Attempted to kill init!
> 
> 
> Can you help me? What must i emerge to fulfil the needs?
> Thank you.
> Best regards
> Jakub ladman
> 

-- 
Electrical Engineering/Web Development
Dragonfly Technologies, Inc.                 http://www.dflytech.com
Hunt Utilities Group LLC                     http://www.hugllc.com
Hopkins, MN                                  (952) 935-2418

-- 
gentoo-embedded@gentoo.org mailing list



  reply	other threads:[~2006-02-28 14:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-28 11:48 [gentoo-embedded] libgcc Jakub Ladman
2006-02-28 14:52 ` Scott L. Price [this message]
2006-02-28 17:50   ` Jakub Ladman
2006-02-28 21:33     ` Mike Frysinger
2006-02-28 17:20 ` solar

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=440463B5.6000706@dflytech.com \
    --to=prices@dflytech.com \
    --cc=gentoo-embedded@lists.gentoo.org \
    /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