From: Robert B. <rb...@ge...> - 2007-03-11 11:46:36
|
Hi Michael and Ernst, Michael Reinelt wrote: >>> I didn't get your warnings, but I tried to fix them "blindly". >> I think you can pass GCC an option to pretend to be on 64Bit to see th= at=20 >> warning, IIRC it was "-m64". >=20 > Great thanks! Now the warnings should be fixed! (and commited to SVN, > both to trunk and 0.10.1 branch) That fixed all of the warnings I posted before, except one: drv_Image.c: In function 'drv_IMG_flush_PPM': drv_Image.c:117: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' drv_Image.c:124: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' >> Never tested that however, on 64Bit myself ;) > with -m64 I get two strange assembler errors, but I think the result > from the fact that I'm on 32Bit (at least I hope so :-) I guess that does not work because you need a complete 64bit toolchain. On Gentoo, you can build it using the "crossdev" package, but I don't know how to do that on other platforms :-) >>> btw, do you know of a way to reduce the "chattyness" of the compilati= on >>> process? >=20 >> Easy: >> # make > /dev/null > Uh... shame, shame, shame on me :-) You can also call make -s to silence the make calls except for warnings and errors (which is the same as > /dev/null). There are also patches to automake to let the user choose whether (s)he wants a pretty output (as in the Linux kernel). This, however, should break again when autoreconf'ing the created files on other systems. See the following project for details: http://kim.tensta.gannert.se/projects/pretty-am/ Regards, Robert |