config/debug/gdb.in.native
author Titus von Boxberg <titus@v9g.de>
Mon Aug 22 09:36:30 2011 +0200 (2011-08-22)
changeset 2628 a4f56e266879
parent 2098 9a8f0e3fe605
child 2717 13df2720b374
permissions -rw-r--r--
docs: Document usage with Xcode 4.1

With Xcode 4.1 'gcc' is symlinked llvm-gcc-4.2 which cannot bootstrap
other gccs.
See http://llvm.org/bugs/show_bug.cgi?id=9571

On my machine the faulty gcc is
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)

Document a workaround.

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
     1 # Menu for the native GDB
     2 
     3 config GDB_NATIVE
     4     bool
     5     prompt "Native gdb"
     6     depends on ! BARE_METAL
     7     depends on ! BACKEND
     8     help
     9       Build and install a native gdb for the target, to run on the target.
    10 
    11 if GDB_NATIVE
    12 
    13 config GDB_NATIVE_NO_STATIC
    14     bool
    15 
    16 config GDB_NATIVE_STATIC
    17     bool
    18     prompt "Build a static native gdb"
    19     depends on ! GDB_NATIVE_NO_STATIC
    20     help
    21       In case you have trouble with dynamic loading of shared libraries,
    22       you will find that a static gdb comes in handy.
    23 
    24 endif # GDB_NATIVE