Thread: gcc compiler diagnostic files

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    115

    gcc compiler diagnostic files

    Hello All!

    When I compile my c++ program using the Linux gcc compiler and the make file listed below, I get a whole bunch of additional diagnostics files saved on disk (presumably generated by the omp.h). Does anyone know how to suppress this (a flag?).

    Thanks a lot!
    Serguei

    *** I am sorry for posting this in a wrong forum ***

    Makefile:

    BIN = EU27_Ind

    SRC = EU27_Ind.cpp
    #SRC = $(shell find src/ -name '*.cpp')
    OBJ = $(SRC:src/%.cpp=obj/%.o)

    CC = g++

    #CFLAGS += -fast
    CFLAGS += -O3

    #openmp
    CFLAGS += -fopenmp
    #memory alignment
    CFLAGS += -dalign
    # create debug symbols
    CFLAGS += -g

    #sun performance library
    #CFLAGS += -xlic_lib=sunperf
    #shared mem parallel for sunperf
    #CFALGS += -mt

    #== build targets ==#
    .PHONY: all clean run

    all: $(BIN)

    $(BIN): $(SRC)
    $(CC) $(CFLAGS) $(SRC) -o $(BIN) $(LDFLAGS)

    #obj/%.o: src/%.cpp
    # mkdir -p obj
    # $(CC) $(CFLAGS) -c $< -o $@

    clean:
    rm -f $(BIN)
    rm -rf obj

    run:
    touch $(SRC)
    make
    ./$(BIN)
    Last edited by serge; 12-10-2010 at 07:56 AM. Reason: Wrong forum

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. gcc compiler warning
    By matrixx333 in forum C Programming
    Replies: 4
    Last Post: 07-14-2010, 04:43 AM
  2. Buidl Library with ./configure script
    By Jardon in forum C Programming
    Replies: 6
    Last Post: 07-24-2009, 09:36 AM
  3. Replies: 1
    Last Post: 01-11-2008, 09:34 AM
  4. Problems about gcc installation
    By kevin_cat in forum Linux Programming
    Replies: 4
    Last Post: 08-09-2005, 09:05 AM
  5. compiler won't find the included opengl files
    By cerin in forum C++ Programming
    Replies: 2
    Last Post: 03-06-2005, 12:52 AM