How does your devcpp.cfg look like? Is it correct?
/M
From: "Frank Wagner" <F.W...@wi...>
> Hello,
>
> sure I mean 4.9.8.7.
> I know that the libs and the includes has different pathes but the
> problem is:
> Lib-Dir = c:\cygwin\lib
> INC-Dir= c:\cygwin\usr\inlcude
>
> And the problem is that Dev-Cpp genarates the Makefile.win as follwos:
>
> -->
> # Project: posix-terminal
> # Makefile created by Dev-C++ 4.9.8.7
>
> CPP = g++.exe -D__DEBUG__
> CC = gcc.exe -D__DEBUG__
> WINDRES = windres.exe
> RES =
> OBJ = T_Sensor.o posix_terminal.o terminal_main.o $(RES)
> LINKOBJ = T_Sensor.o posix_terminal.o terminal_main.o $(RES)
> LIBS = -L"C:/Programme/Dev-Cpp/lib" -g3
> INCS = -I"C:/Programme/Dev-Cpp/include"
> CXXINCS = -I"C:/Programme/Dev-Cpp/include/c++"
> -I"C:/Programme/Dev-Cpp/include/c++/mingw32"
> -I"C:/Programme/Dev-Cpp/include/c++/backward"
> -I"C:/Programme/Dev-Cpp/include"
> BIN = posix-terminal.exe
> CXXFLAGS = $(CXXINCS) -ansi -g3
> CFLAGS = $(INCS) -ansi -g3
>
> .PHONY: all all-before all-after clean clean-custom
>
> all: all-before posix-terminal.exe all-after
>
>
> clean: clean-custom
> rm -f $(OBJ) $(BIN)
>
> $(BIN): $(OBJ)
> $(CPP) $(LINKOBJ) -o "posix-terminal.exe" $(LIBS)
>
> T_Sensor.o: T_Sensor.cpp
> $(CPP) -c T_Sensor.cpp -o T_Sensor.o $(CXXFLAGS)
>
> posix_terminal.o: posix_terminal.cpp
> $(CPP) -c posix_terminal.cpp -o posix_terminal.o $(CXXFLAGS)
>
> terminal_main.o: terminal_main.cpp
> $(CPP) -c terminal_main.cpp -o terminal_main.o $(CXXFLAGS)
> <--
> It seems that Dev-Cpp ignores the Compiler settings .
> Thanks in advance for any hints
>
> Greetings
>
> Frank
>
> >>> "Mats Lidstrom" <mat...@to...> 19.02.2004 15:51:47 >>>
> From: "Frank Wagner" <F.W...@wi...>
> > Hi,
> >
> > I'm using DEV-Cpp with Cygwin but with the new version 4.9.8.1 of
> > Dev-Cpp I discovered that the pathes selected in the compiler
> options
> > will not be set in the generated Makefile.
>
> You mean 4.9.8.7 I assume?
>
> > My path settings are as follows: C:\cygwin\usr\include for the
> > C-INCLUDES but in the Makefile there will be: LIBS =
> > -L"C:/Programme/Dev-Cpp/lib" -g3
> > The same happens to the C++ includes.
> >
> > Is there some workaround?
>
> Libs and includes have different paths.
|