title: can't compile statically programs
body: <p>I am trying to build a cross-compiler for an ARM and not having success with Clang and LLVM, too much stuff to do to make my machine do its thing..
  So, I went to the web page for LinuxKD, to get clang and LLVM to build correctly, which I have done and they work..
  So, I went back to that same site, (LinuxKD) to find out How to build a cross compiler for ARM, and it uses "Crosstool-ng" which is fine with me.. I have loaded a later Version than is shown in the web site, He uses crosstool-ng-1.12.0 and I am using crosstool-ng-1.19.0...
  So, it starts to do its thing after setting it up, but it comes with the following error:</p>
  
  <pre><code>[DEBUG]  Checking that gcc can compile a trivial statically linked program   (CT_WANTS_STATIC_LINK)
  [DEBUG]    You may need to ensure that static libraries such as libc.a are installed on your system
  [DEBUG]    ==&gt; Executing: 'x86_64-build_unknown-linux-gnu-gcc' '-O2' '-g' '-pipe' '/home/cctools/arm/.build/arm-unknown-eabi/build/test.c' '-static' '-o' '/home/cctools/arm/.build/arm-unknown-eabi/build/.gccout' 
  [DEBUG]    /usr/bin/ld: cannot find -lc
  [ERROR]    collect2: error: ld returned 1 exit status
  [ERROR]  
  [ERROR]  &gt;&gt;
  [ERROR]  &gt;&gt;  Build failed in step 'Checking that gcc can compile a trivial statically linked program (CT_WANTS_STATIC_LINK)'
  [ERROR]  &gt;&gt;        called in step '(top-level)'
  [ERROR]  &gt;&gt;
  [ERROR]  &gt;&gt;  Error happened in: CT_DoExecLog[scripts/functions@257]
  [ERROR]  &gt;&gt;        called from: main[scripts/crosstool-NG.sh@540]
  [ERROR]  &gt;&gt; 
  </code></pre>
  
  <p>My system is a Fedora 20, running on an I7 Asus..
  It states that /usr/bin/ld: cannot find -lc  ,, 
  Is -lc a program or a sub instruction of the Ld program, or is it something else ??
  Or am I missing a program ?? Something like Glibc, which I have the latest for this Fedora 20 Linux..</p>