config/kernel/bare-metal.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Apr 02 21:58:34 2009 +0000 (2009-04-02)
changeset 1287 2a70bb65824e
parent 890 6227df6bbb79
child 2444 896cb0d36c1a
permissions -rw-r--r--
Speaking of gcc-4.2.1, Ted Jordan writes on 20090401:
The generated libtool for building libstdc++ adds the -nostdlib option to the
g++ command for linking but doesn't add -lgcc. This causes a "hidden symbol"
error when linking against the libstdc++ shared object. This patch adds gcc
to the list of libraries linked against when linking libstdc++.

/trunk/patches/gcc/4.2.1/300-libstdc++-nostdlib-linking.patch | 21 21 0 0 +++++++++++++++++
1 file changed, 21 insertions(+)
     1 # Bare metal config options
     2 
     3 config KERNEL_bare_metal
     4     select BARE_METAL
     5     help
     6       'Bare metal' refers to those programs that run without any kernel.
     7       
     8       You probably want to say 'y' here if you plan to use your compiler
     9       to build bootloaders. It is not yet suitable to build Linux kernels,
    10       though, because the APCI stuff relies on the target C library headers
    11       being available?!?!...