[Clfs-support] some strange errors: ld --help gives errors

Joe Ciccone jciccone at gmail.com
Sun Nov 1 11:23:35 PST 2009


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.
>
> 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
>> Clfs-support at lists.cross-lfs.org
>> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
>>
>
> _______________________________________________
> Clfs-support mailing list
> Clfs-support at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
>




More information about the Clfs-support mailing list