Help for this page

Select Code to Download


  1. or download this
    .IF "$(CCTYPE)" == "GCC"
        GCC_VERSION *= $(shell gcc -dumpversion)
    ...
            GCC_4XX *= define
        .ENDIF
    .ENDIF
    
  2. or download this
    .IF "$(CCTYPE)" == "GCC"
        GCC_VERSION *= $(shell gcc -dumpversion)
    ...
            LIBC   += -static-libgcc 
        .ENDIF
    .ENDIF
    
  3. or download this
    CCTYPE        *= GCC
    .IF "$(CCTYPE)" == "GCC"
    ...
        @echo CFLAGS  $(CFLAGS)
        @echo LIBC  $(LIBC)
        $(NOOP)
    
  4. or download this
    $ dmake -f makefile.mk
    dmake: Executing shell macro: gcc -dumpversion
    dmake: Executing shell macro: gcc -dumpversion
    ...
    GCC_4XX  define
    CFLAGS  -static-libgcc
    LIBC  -static-libgcc