j_marc_olivieri at hotmail.com
Tue Oct 8 12:08:13 UTC 2002
Hi Mr Sato,
I was finally sucessfull in "init" compiling :
I had to modify associated Makefile in following way :
1) Make object files (use of -c gcc's option : don't link the stuff).
2) Explicitly have a link step and I had to include libcrypt.a and libc.a
3) Use of your ld script : uClinux-H 8.x (build of userland)
To do in that way I modified LDFLAGS in this way (in Topdir Makefile) :
LDFLAGS = -s -T /PATH_TO_uClinux-H 8.x/uClinux-H 8.x
Then I modified Makefiles in subdirs to have explicit linking and explicit
use of uClinux-H 8.x.
Is it correct ?
>At Thu, 03 Oct 2002 13:28:28 +0000,
>olivieri jean-marc wrote:
> > Hi,
> > I'm a newbee.
> > I successfully made my toolchain : crossgcc (linux i386 -> h8300h),
> > binutils, gdb
> > I crosscompiled as well uClibc v 0.9.9.9
> > I tested my uClinux kernel (v 2.0.x) on my development board
> > it works (with a romfs I fand at sourceforge.jp)
> > But now I'm having a problem with the userland : I don't know which
> > to include and more specifically : should I have to use init or init.org
> > package ?
> > I tried to compile init and I had a linker error with cypt function :
> > found in libraries (I already checked that libcrypt.a was in search
> > Could anyone HELP ME ?
> > Best regards
> > Jean-Marc OLIVIERI
>libcrypt.a was not demanded when I compiled it formerly.
>And I was able to get a binary without a problem.
>I want you to compile old source if possible.
><qzb04471 at nifty.ne.jp>
>uClibc mailing list
>uClibc at uclibc.org
Rejoignez MSN Hotmail, le plus important service de messagerie
More information about the uClibc