Joe Ciccone wrote:
Stef Bon wrote:
Joe Ciccone wrote:
Stef Bon wrote:
Hello,

after building a clfs system, I've removed the /tools and the
/cross-tools directories. Now I cannot compile a program
and just /usr/bin ld gives errors:

/usr/bin/ld --help
-bash: /usr/bin/ld: No such file or directory

while:
ls -al /usr/bin/ld
-rwxr-xr-x 1 root root 1087752 2009-10-29 10:19 /usr/bin/ld

huh??

Somebody reckognizes this?
This is what happens when your binaries are linked wrong. You probably
missed the toolchain adjustment after installing eglibc. Your easiest
option would be to rebuild /cross-tools and /tools and then rebuild
binutils/gcc in the final system.
Thanks,

great!! (not)
I've discovered that on my system the spec file is missing, while I'm
sure I did this step. Is this spec file neseccary?
The spec file is only provided to override builtin settings anymore. It
hasn't been a required file in a long long long time.
So basically, you're saying start all over again! Or only gcc and binutils (chapters 8.14 and 8.15)?

Well, ok.
But the specs of gcc, with gcc -dumpspecs, shows nothing of /tools or /cross/tools, the ld-2.5.1.so is located at /lib, and the startfile_prefix_spec is/are empty.

So how come?? Ok, I, already see, it's build again in 8.15. That explains it.

Futher I would like to know is there still some interest in automating the build. I'm thinking of a system which uses something like pkgtool and another tool to download the instructions (and packages) from the clfs website. User has choice to build manually or getting and following the instructions from the book, and letting the tool do pieces of the book without userinvention.

Stef


But where in the book, which chapter the dirs /tools and /cross-tools
are removed?? I cannot find this.
They are not. After you're done they can be removed.
Stef
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org


_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org


_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to