Changeset a858910 in rtems


Ignore:
Timestamp:
02/11/98 22:13:46 (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b4589477
Parents:
fc56b90c
Message:

Incorporated Ralf Corsepius' idea for new -q flags to properly support
"gmake debug".

Files:
23 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/hppa1.1/simhppa/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group}
     11%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group}
    1214
    1315*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
     16%{!qrtems: %(old_startfile)} %{qrtems: \
     17%{!qrtems_debug: start.o%s} \
     18%{qrtems_debug: start_g.o%s}}
    1519
    1620*link:
  • c/src/lib/libbsp/i386/force386/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     11%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group \
     14%{!qnolinkcmds: -T linkcmds%s}}
    1215
    1316*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
     17%{!qrtems: %(old_startfile)} %{qrtems: \
     18%{!qrtems_debug: start.o%s} \
     19%{qrtems_debug: start_g.o%s}}
    1520
    1621*link:
  • c/src/lib/libbsp/i386/i386ex/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     11%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group \
     14%{!qnolinkcmds: -T linkcmds%s}}
    1215
    1316*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
     17%{!qrtems: %(old_startfile)} %{qrtems: \
     18%{!qrtems_debug: start.o%s} \
     19%{qrtems_debug: start_g.o%s}}
    1520
    1621*link:
  • c/src/lib/libbsp/i386/pc386/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     11%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group \
     14%{!qnolinkcmds: -T linkcmds%s}}
    1215
    1316*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
     17%{!qrtems: %(old_startfile)} %{qrtems: \
     18%{!qrtems_debug: start.o%s} \
     19%{qrtems_debug: start_g.o%s}}
    1520
    1621*link:
  • c/src/lib/libbsp/i960/cvme961/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     11%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group \
     14%{!qnolinkcmds: -T linkcmds%s}}
    1215
    1316*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
     17%{!qrtems: %(old_startfile)} %{qrtems: \
     18%{!qrtems_debug: start.o%s} \
     19%{qrtems_debug: start_g.o%s}}
    1520
    1621*link:
  • c/src/lib/libbsp/m68k/dmv152/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     11%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group \
     14%{!qnolinkcmds: -T linkcmds%s}}
    1215
    1316*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
     17%{!qrtems: %(old_startfile)} %{qrtems: \
     18%{!qrtems_debug: start.o%s} \
     19%{qrtems_debug: start_g.o%s}}
    1520
    1621*link:
  • c/src/lib/libbsp/m68k/efi332/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     11%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group \
     14%{!qnolinkcmds: -T linkcmds%s}}
    1215
    1316*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: start332.o%s}
     17%{!qrtems: %(old_startfile)} %{qrtems: \
     18%{!qrtems_debug: start332.o%s} \
     19%{qrtems_debug: start332_g.o%s}}
    1520
    1621*link:
  • c/src/lib/libbsp/m68k/efi68k/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     11%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group \
     14%{!qnolinkcmds: -T linkcmds%s}}
    1215
    1316*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: start68k.o%s}
     17%{!qrtems: %(old_startfile)} %{qrtems: \
     18%{!qrtems_debug: start68k.o%s} \
     19%{qrtems_debug: start68k_g.o%s}}
    1520
    1621*link:
  • c/src/lib/libbsp/m68k/gen68302/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     11%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group \
     14%{!qnolinkcmds: -T linkcmds%s}}
    1215
    1316*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: start302.o%s}
     17%{!qrtems: %(old_startfile)} %{qrtems: \
     18%{!qrtems_debug: start302.o%s} \
     19%{qrtems_debug: start302_g.o%s}}
    1520
    1621*link:
  • c/src/lib/libbsp/m68k/gen68360/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     11%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group \
     14%{!qnolinkcmds: -T linkcmds%s}}
    1215
    1316*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: start360.o%s}
     17%{!qrtems: %(old_startfile)} %{qrtems: \
     18%{!qrtems_debug: start360.o%s} \
     19%{qrtems_debug: start360_g.o%s}}
    1520
    1621*link:
  • c/src/lib/libbsp/m68k/idp/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     11%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group \
     14%{!qnolinkcmds: -T linkcmds%s}}
    1215
    1316*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
     17%{!qrtems: %(old_startfile)} %{qrtems: \
     18%{!qrtems_debug: start.o%s} \
     19%{qrtems_debug: start_g.o%s}}
    1520
    1621*link:
  • c/src/lib/libbsp/m68k/mvme136/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     11%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group \
     14%{!qnolinkcmds: -T linkcmds%s}}
    1215
    1316*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
     17%{!qrtems: %(old_startfile)} %{qrtems: \
     18%{!qrtems_debug: start.o%s} \
     19%{qrtems_debug: start_g.o%s}}
    1520
    1621*link:
  • c/src/lib/libbsp/m68k/mvme147/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     11%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group \
     14%{!qnolinkcmds: -T linkcmds%s}}
    1215
    1316*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
     17%{!qrtems: %(old_startfile)} %{qrtems: \
     18%{!qrtems_debug: start.o%s} \
     19%{qrtems_debug: start_g.o%s}}
    1520
    1621*link:
  • c/src/lib/libbsp/m68k/mvme147s/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     11%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group \
     14%{!qnolinkcmds: -T linkcmds%s}}
    1215
    1316*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
     17%{!qrtems: %(old_startfile)} %{qrtems: \
     18%{!qrtems_debug: start.o%s} \
     19%{qrtems_debug: start_g.o%s}}
    1520
    1621*link:
  • c/src/lib/libbsp/m68k/mvme162/bsp_specs

    rfc56b90c ra858910  
    88%(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
    99
     10*link:
     11%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e start}
     12
    1013*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     14%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     15%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     16-lc -lgcc --end-group \
     17%{!qnolinkcmds: -T linkcmds%s}}
    1218
    1319*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
     20%{!qrtems: %(old_startfile)} %{qrtems: \
     21%{!qrtems_debug: start.o%s} \
     22%{qrtems_debug: start_g.o%s}}
    1523
    1624*link:
  • c/src/lib/libbsp/m68k/ods68302/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     11%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group \
     14%{!qnolinkcmds: -T linkcmds%s}}
    1215
    1316*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: start302.o%s}
     17%{!qrtems: %(old_startfile)} %{qrtems: \
     18%{!qrtems_debug: start302.o%s} \
     19%{qrtems_debug: start302_g.o%s}}
    1520
    1621*link:
  • c/src/lib/libbsp/mips/p4000/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     11%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group \
     14%{!qnolinkcmds: -T linkcmds%s}}
    1215
    1316*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: idt_csu.o%s}
     17%{!qrtems: %(old_startfile)} %{qrtems: \
     18%{!qrtems_debug: idt_csu.o%s} \
     19%{qrtems_debug: idt_csu_g.o%s}}
    1520
    1621*link:
  • c/src/lib/libbsp/mips64orion/p4000/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     11%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group \
     14%{!qnolinkcmds: -T linkcmds%s}}
    1215
    1316*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: idt_csu.o%s}
     17%{!qrtems: %(old_startfile)} %{qrtems: \
     18%{!qrtems_debug: idt_csu.o%s} \
     19%{qrtems_debug: idt_csu_g.o%s}}
    1520
    1621*link:
  • c/src/lib/libbsp/powerpc/papyrus/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: ecrti%O%s --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     11%{!qrtems: %(old_lib)} %{qrtems: ecrti%O%s --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group \
     14%{!qnolinkcmds: -T linkcmds%s}}
    1215
    1316*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: }
     17%{!qrtems: %(old_startfile)} %{qrtems: \
     18%{!qrtems_debug: } \
     19%{qrtems_debug: }}
    1520
    1621*link:
  • c/src/lib/libbsp/sparc/erc32/bsp_specs

    rfc56b90c ra858910  
    99
    1010*lib:
    11 %{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}
     11%{!qrtems: %(old_lib)} %{qrtems: --start-group \
     12%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
     13-lc -lgcc --end-group \
     14%{!qnolinkcmds: -T linkcmds%s}}
    1215
    1316*startfile:
    14 %{!qrtems: %(old_startfile)} %{qrtems: startsis.o%s}
     17%{!qrtems: %(old_startfile)} %{qrtems: \
     18%{!qrtems_debug: startsis.o%s} \
     19%{qrtems_debug: startsis_g.o%s}}
    1520
    1621*link:
  • c/src/make/compilers/gcc-target-default.cfg

    rfc56b90c ra858910  
    7171# debug flag; typically -g
    7272CFLAGS_DEBUG_V+=-g -Wno-unused
     73
     74ifeq ($(RTEMS_USE_GCC272),no)
     75CFLAGS_DEBUG_V+=-qrtems_debug
     76endif
    7377
    7478# when debugging, optimize flag: typically empty
  • make/Templates/Makefile.leaf

    rfc56b90c ra858910  
    4646CFLAGS   +=
    4747
     48#
     49# CFLAGS_DEBUG_V are used when the `make debug' target is built.
     50# To link your application with the non-optimized RTEMS routines,
     51# uncomment the following line:
     52# CFLAGS_DEBUG_V += -qrtems_debug
     53#
     54
    4855LD_PATHS  += xxx-your-EXTRA-library-paths-go-here, if any
    4956LD_LIBS   += xxx-your-libraries-go-here eg: -lvx
  • make/compilers/gcc-target-default.cfg

    rfc56b90c ra858910  
    7171# debug flag; typically -g
    7272CFLAGS_DEBUG_V+=-g -Wno-unused
     73
     74ifeq ($(RTEMS_USE_GCC272),no)
     75CFLAGS_DEBUG_V+=-qrtems_debug
     76endif
    7377
    7478# when debugging, optimize flag: typically empty
Note: See TracChangeset for help on using the changeset viewer.