Scott Peterson wrote:

> Eric, when I try make CC="gcc -E" I get this error in the output:
> .libs/dbus-glib.o: file not recognized: File format not recognized

You just created an .o file consisting of the output of the
preprocessor.  That's obviously not going to work in the context of make
where the build continues.  If you're going to use -E you need to run
the command by hand outside of make and change the output filename to
something like filename.i, or any filename you want really, as long as
you aren't trying to overwrite a file with something in an unrelated
format.  Or alternatively, you can use -save-temps which unlike -E still
compiles the file normally, but leaves the intermediate forms
(preprocessed source and assembly) which are normally unlinked.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to