<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Greets,<br><br>> Date: Wed, 5 Nov 2008 15:05:05 +0800<br>> From: dangbinghoo<br>> To: clfs-dev<br>> Subject: [Clfs-dev] clfs-embedded toolchain: uClibc build against with libgcc.a when the gcc-pass2 haven't been installed yet!<br>> <br>> Hello,<br>> <br>> I just installed linux headers,binutils,then uClibc-headers(my arch and<br>> target is the same i686, so uClibc-headers worked!),then<br>> gcc-static(pass1),and then when I was installing uClibc, I got this<br>> $ make<br>> LD ld-uClibc-0.9.30-rc3.so<br>> i686-pc-linux-uclibc-gcc: libgcc.a: No such file or directory<br>> make: *** [lib/ld-uClibc.so] Error 1<br>> <br>> the book tells to make the package use `make CC="${CC} ${BUILD}"`,of<br>> corce it would not work,since there's no $CC set according to the book,<br>> my target and host is same, so I just use make ,because the<br>> ${CLFS_TARGET-gcc} is already in my PATH,there's no need to point the<br>> CC. But it was failed, it seems that uClibc attempt to link against with<br>> libgcc.a which is not installed and will be install in the stage<br>> gcc-pass2 after current stage(the uClibc). Does anyone knows this?<br>> What's the problem with the installation?<br>> And, there's another question: is this toolchain dependency tree right?<br>> * binutils need: NOTHING (but the host env.)<br>> * kernel-headers need: NOTHING (but the host env.)<br>> * gcc-pass1 need :binutils (toolchain) and host env..<br>> * libc need: toolchain package:gcc-pass1, kernel-headers,libc-headers<br>> when cross-compiling and the host env.<br>> * gcc-pass2 need: libc (toolchain) and host env.<br>> <br>> Thank you!<br>> <br><br>Just a note here -- I'll attempt a CLFS embedded build over the next couple<br>of days on a via-epia board sitting here doing nothing....if for no other reason<br>than to check the current book content for accuracy.<br><br>Regards,<br><br>Don<br><br /><hr />Sign up for the Hotmail Road Trip today. <a href='http://www.ninemsn.com.au/hotmailroadtrip' target='_new'>Your dream beach house escape for summer!</a></body>
</html>