[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] Newbie: dynamic linking questions
From:       Rob Landley <rob () landley ! net>
Date:       2005-01-26 15:13:14
Message-ID: 200501261013.15552.rob () landley ! net
[Download RAW message or body]

On Wednesday 26 January 2005 03:54 am, busybox@gingermail.net wrote:
> New to linux and the embedded world, I have tried to create a valid root
> filesystem using BusyBox and uClibC.  I am not cross compling to another
> platform, its all i386.
>
> If I make busybox with a static linked library all works fine as expected
> and I can boot from my new filesystem.  Changing the busybox config to a
> dynamic linked library configuration, I start to get problems.  This is
> where my knowledge takes a nose dive.  From what I can google, I need to
> compile busybox against uclibc libs as right now it's being compiled
> against the glibc lib.  Now I think that uclibc should create a gcc wrapper
> for me to cross compile against somewhere under /usr/i386-linux-uclibc.  No
> such luck.
>
> Can anyone tell me how to get it do this?  Am I missing something
> fundermental?
>
> Also is there a way to just compile against another /lib?
>
> I'm going mad with this.  Your help would be much appreciated.

I did this with a big bash script you can pick the relevant bits out of.

http://www.landley.net/code/firmware

Rob
_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic