at the end of the page, it cautions that it's time to test that toolchain is properly working...
Quote:
Caution
At this point, it is imperative to stop and ensure that the basic functions (compiling and linking) of the new toolchain are working as expected. To perform a sanity check, run the following commands:
echo 'main(){}' > dummy.c
cc dummy.c
readelf -l a.out | grep ': /tools'
If everything is working correctly, there should be no errors, and the output of the last command will be of the form:
[Requesting program interpreter:
/tools/lib/ld-linux.so.2]
Note that /tools/lib appears as the prefix of the dynamic linker.
|
k.. i created the dummy.c file, and did cc dummy.c (also tried gcc dummy.c) .. and i get this output:
Code:
gcc: unrecognized option '-mtune=pentiumpro'
and it stalls there forever (left it for about 20 minutes) .... a CTRL-C breaks it, and nothing seems to of happened.
... never got to the readelf part at all...
I am doing this on a Notebook - Compaq Armada 7800, P2 266mhz, 256mb RAM PC66, 5GB HDD, using the LFS livecd..
everything seemed fine until now - for now i'm halting this project until i can figure this out
thanks if anyone can help.