|
@@ -42,7 +42,7 @@ ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld</userinput></screen>
|
|
functions (compiling and linking) of the adjusted toolchain are working
|
|
functions (compiling and linking) of the adjusted toolchain are working
|
|
as expected. To do this, perform the following sanity checks:</para>
|
|
as expected. To do this, perform the following sanity checks:</para>
|
|
|
|
|
|
-<screen os="a"><userinput>echo 'main(){}' > dummy.c
|
|
|
|
|
|
+<screen os="a"><userinput>echo 'int main(){}' > dummy.c
|
|
cc dummy.c -v -Wl,--verbose &> dummy.log
|
|
cc dummy.c -v -Wl,--verbose &> dummy.log
|
|
readelf -l a.out | grep ': /lib'</userinput></screen>
|
|
readelf -l a.out | grep ': /lib'</userinput></screen>
|
|
|
|
|