delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <30927631.post@talk.nabble.com> |
References: | <30927631 DOT post AT talk DOT nabble DOT com> |
Date: | Tue, 15 Feb 2011 13:13:05 +0100 |
Message-ID: | <AANLkTinN3g5P_aze85AaxxTjWEioS32zWzhfvt=EdF-Y@mail.gmail.com> |
Subject: | Re: m4: cannot open `gcc': No such file or directory |
From: | Csaba Raduly <rcsaba AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Hi, On Tue, Feb 15, 2011 at 3:18 AM, Hilariousity wrote: > > I'm trying to compile the GNU multiple precision arithmetic library from > source in cygwin and after the command > > m4 gcc =A0-DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_add_n add_n.asm >>tmp-add_n.s > > I get an error saying > > m4: cannot open `gcc': No such file or directory > > However typing the command gcc into bash reveals the output "gcc: no input > files" > > How do I get the m4 macro processor to see gcc? I think something is wrong with how gmp got configured. What options did you give to configure? What is the output of egrep -A1 'M4|CCAS|^\.[a-z]*\.[a-z]*' mpn/Makefile This is what I get: /bin/sh ../libtool --mode=3Dcompile --tag=3DCC ../mpn/m4-ccas --m4=3D"m4" /usr/bin/gcc -std=3Dgnu99 -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo add_n | sed 's/_$//'` -m32 -O2 -pedantic -fomit-frame-pointer -mtune=3Dcore2 -march=3Dcore2 `test -f 'add_n.asm' || echo './'`add_n.asm ../mpn/m4-ccas --m4=3Dm4 /usr/bin/gcc -std=3Dgnu99 -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_n -m32 -O2 -pedantic -fomit-frame-pointer -mtune=3Dcore2 -march=3Dcore2 add_n.asm -o add_n.o m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_add_n add_n.asm >tmp-add= _n.s /usr/bin/gcc -std=3Dgnu99 -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_n -m32 -O2 -pedantic -fomit-frame-pointer -mtune=3Dcore2 -march=3Dcore2 tmp-add_n.s -o add_n.o Csaba --=20 GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torv= alds "People disagree with me. I just ignore them." -- Linus Torvalds -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |