discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure of base doesn't detect my ffcall


From: Lars Sonchocky-Helldorf
Subject: Re: configure of base doesn't detect my ffcall
Date: Tue, 28 Sep 2004 23:30:07 +0200


Am Dienstag, 28.09.04 um 23:17 Uhr schrieb Adam Fedor:


On Sep 28, 2004, at 2:50 PM, <d.ayers@inode.at> wrote:

You need to have /opt/local/bin in your path. gcc also uses cpp, and
it's probably finding Apple's cpp in /;usr/bin instead of the one you
want in /opt/local/bin


Let me jump in here: I believe the issue ist that this is the "mainline" gcc (4.0) for which Andrew Pinski went through the motions to have the GNU runtime reenabled but with a few nifty tweaks so that the NeXT runtime is neither clobbered nor hidden. The flag that controls which headers are searched is -fgnu-runtime/-fnext-runtime. Yet this flag is only available for ObjC and the configure test is only compiling a regular C programm. I hope that adding a "-x Objective-C" in the confiugure compiler flags can temporarily deal with this. OTOH, it may be more feasable to patch gcc to

Well, then it appears there are two problems, the one that I mentioned, plus this one, which I'm
guessing would make cpp look in

/opt/local/lib/gcc/i686-apple-darwin7.2.1/4.0.0/include-next-runtime

for those files instead of

/opt/local/lib/gcc/i686-apple-darwin7.2.1/4.0.0/include-gnu-runtime


a recap of this problem is here:

http://gcc.gnu.org/ml/gcc/2004-09/msg01579.html





regards, Lars





reply via email to

[Prev in Thread] Current Thread [Next in Thread]