From mint-bounce@lists.fishpool.fi Thu Jan 7 06:32:17 2010 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=DVvuRtqeaU2zJcWYi0Rvky5I0E7FGCvBx4WtbK335XI=; b=GjYGNU4rrds6GnJzDFt9fFKb4ZfVEwEv5pN4Eg4F8R6gbooWls1uFkO79AeTEalmnU Ls1b3AbbB+aku7u5pfkKEQV4rvkgClZNIkoKJIlrXY3V8Lg7sNDlguM2zsvUCrRCz4+T Fd9lchG0dXh0cpoRmwmG3lLgnnxXV28snlL70= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=dwIq0V+1w3laOPAK05LQH7ChVQgkZrA1WIDzc5/1tMSd025yOjdAnn+QV4gzKcxwEq f+b0Fz0tu8REKmlkhFrDEgFFXqzG3sgVVDMWd+Q6iA0+H2mg5BaoRh0ypOl1tHbJJeVw xI1sVYy0ayMxZ6+AkkQJYNnRryFub7eU9noRc= MIME-Version: 1.0 Date: Thu, 7 Jan 2010 12:29:25 +0100 Message-ID: Subject: [MiNT] trouble with mintlib + gcc 4.4.2 From: Miro Kropacek To: MiNT Mailing List Content-Type: multipart/alternative; boundary=00032555fe5e20e585047c9162df X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: miro.kropacek@gmail.com Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: --00032555fe5e20e585047c9162df Content-Type: text/plain; charset=ISO-8859-1 Hi, I've found interesting problem with I tried to native compilation of mintlib with (only) gcc 4.4.2: make[1]: Entering directory `/e/mintlib/sunrpc' ./rpcgen `gcc -print-file-name=cpp | sed -e "s,/cpp$,," -e "s,^cpp$,," -e "s,^..*,-Y &,"` -h bootparam_prot.x -o bootparam_prot.T cannot find any C preprocessor (cpp) ./rpcgen: C preprocessor failed with exit code 1 First thing what surprises me is why we use -print-file-name (for library paths) for 'cpp' when it should be -print-prog-name. Second thing is the fact gcc -print-prog-name=cpp fails (returns just 'cpp') but gcc -print-prog-name=cc1 works (returns '/d/usr/local/bin/../libexec/gcc/m68k-atari-mint/4.4.2/cc1'). 'which cpp' returns '/usr/local/bin/cpp' Any idea why it works with gcc 2.95 and how to fix it on 4.4.2? -- MiKRO / Mystic Bytes http://mikro.atari.org --00032555fe5e20e585047c9162df Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I've found interesting problem with I tried to native compil= ation of mintlib with (only) gcc 4.4.2:

make[1]: Entering directory = `/e/mintlib/sunrpc'
./rpcgen `gcc -print-file-name=3Dcpp | sed -e &q= uot;s,/cpp$,," -e "s,^cpp$,," -e "s,^..*,-Y &,"= ;` -h bootparam_prot.x -o bootparam_prot.T
cannot find any C preprocessor (cpp)
./rpcgen: C preprocessor failed wit= h exit code 1

First thing what surprises me is why we use -print-fil= e-name (for library paths) for 'cpp' when it should be -print-prog-= name. Second thing is the fact gcc -print-prog-name=3Dcpp fails (returns ju= st 'cpp') but gcc -print-prog-name=3Dcc1 works (returns '/d/usr= /local/bin/../libexec/gcc/m68k-atari-mint/4.4.2/cc1'). 'which cpp&#= 39; returns '/usr/local/bin/cpp'

Any idea why it works with gcc 2.95 and how to fix it on 4.4.2?

--
MiKRO / Mystic Bytes
http://mikro.atari.org
--00032555fe5e20e585047c9162df--