delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/29/17:36:16

X-Spam-Check-By: sourceware.org
Message-ID: <465C9CD9.AE27908F@dessent.net>
Date: Tue, 29 May 2007 14:36:25 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Build problems - unistd.h
References: <ee9b16d00705281855m57914fcag37e88f9a52b47315 AT mail DOT gmail DOT com> <ee9b16d00705291413j579cc046vcd3d8d8517c3f6ef AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019