[hatari-devel] updates to cmake build system
George Nakos
ggn at hol.gr
Wed Mar 17 13:03:13 CET 2010
Hello Npomarede,
Wednesday, March 17, 2010, 1:15:37 PM, you wrote:
> On Wed, 17 Mar 2010, George Nakos wrote:
>> Hello Npomarede,
>>
>> Wednesday, March 17, 2010, 11:09:15 AM, you wrote:
>>
>>>>>>> Could you compare the gcc flags when compiling cycInt.c with old makefiles
>>>>>>> and the ones generated by cmake ?
>>>>>>
>>>>>> Nope, I don't have the old makefiles anymore, cmake overwrote them.
>>>>
>>>>> You can get them back by doing a "hg pull" in another directory if you
>>>>> want to give a try.
>>>>
>>>> Sorry to say, but I've totally forgotten how to pull a hg source tree
>>>> from scratch!
>>
>>> nearly the same as when doing an update ; cd to an empty directory and run :
>>
>>> hg clone http://hg.berlios.de/repos/hatari
>>
>> Thanks! This is it:
>>
>> gcc -g -O2 -Wmissing-prototypes -Wstrict-prototypes -Wsign-compare -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wall -Wwrite-strings -I.. -I./includes -Iuae-cpu -I./debug -I./falcon -DCONFDIR=\"/windows\" -I/mingw/include/SDL -DENABLE_DSP_EMU=1 -c -o cycInt.o cycInt.c
> Thanks ; do you also have the gcc line when using cmake ? (you can see it
> by running "VERBOSE=1 make" after runnig cmake).
"/C/Program Files/CMake 2.8/bin/cmake.exe" -E cmake_progress_report /C/msys/1.0/home/Administrator/hatari/binaries/CMakeFiles 55
[ 55%] Building C object src/CMakeFiles/hatari.dir/cycInt.c.obj
cd /C/msys/1.0/home/Administrator/hatari/binaries/src && /C/MinGW/bin/gcc.exe -DCONFDIR=\"/etc\" -Wall -Wwrite-strings -Wsign-compare -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wbad-function-cast -Wpointer-arith -O3 -DNDEBUG -I/C/msys/1.0/home/Administrator/hatari/binaries -I/C/msys/1.0/home/Administrator/hatari/src/includes -I/C/msys/1.0/home/Administrator/hatari/src/debug -I/C/msys/1.0/home/Administrator/hatari/src/falcon -I/C/msys/1.0/home/Administrator/hatari/src/uae-cpu -I/C/MinGW/include/SDL -I/C/MinGW/include -o CMakeFiles/hatari.dir/cycInt.c.obj -c /C/msys/1.0/home/Administrator/hatari/src/cycInt.c
BTW: I just re-ran make with the stanard makefiles and noticed that
gcc produces the same warnings as with cmake.
--
Best regards,
George mailto:ggn at hol.gr
More information about the hatari-devel
mailing list