public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Libobjc and libffi on Darwin
@ 2004-08-15  3:53 Bill Northcott
  2004-08-15  6:57 ` Andrew Pinski
  0 siblings, 1 reply; 11+ messages in thread
From: Bill Northcott @ 2004-08-15  3:53 UTC (permalink / raw)
  To: gcc; +Cc: Dale Johannesen, Andrew Pinski

Andre Pinski wrote
>> On 14/08/2004, at 11:17 AM, James E Wilson wrote:
>>> Bill Northcott wrote:
>>>> ffi.h never got installed.  ffitarget.h was installed in the
>>>> compiler includes directory.  Any suggestions where this should be
>>>> fixed?
>>>
>>> Maybe you are looking in the wrong place?  ffi.h gets installed in a
>>> different place than ffitarget.h.
>>>
>>> If it really wasn't installed, then look at the Makefile in the
>>> $target/libffi/include directory.  There should be an install rule
>>> for the ffi.h file.  Works backwards from there to figure out why it
>>> wasn't called.
>>>
>>
>> Thanks for the comments. I got it fixed by patching build-gcc thus
>
> So this is on the apple-ppc-branch which means you installed the
> Apple way using build_gcc which is different the FSF way.
> Which was not there in your description of the problem.
>
Sorry about that.  I apologise.

> Well since GNUStep uses libffi, I thought that compiling with objc
> would
> install libffi automatically.

Adding objc to the languages does not even build libffi.  Fudging the
targets in configure to make it build means it also installs with an
FSF build, but Apple use build_gcc to assemble the final distribution
and it does not copy ffi.h into its final location without a patch like
I suggested.

I will stick it on Apple's bug reporter as a suggestion.

Bill Northcott

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Libobjc and libffi on Darwin
@ 2004-08-12  4:12 Bill Northcott
  2004-08-14  0:58 ` Tom Tromey
  2004-08-14  1:18 ` James E Wilson
  0 siblings, 2 replies; 11+ messages in thread
From: Bill Northcott @ 2004-08-12  4:12 UTC (permalink / raw)
  To: gcc

I built gcc-3.5 on MacOS X using source from the cvs with tag 
apple-ppc-gcc-1771 (merged from lno 20040718) and the patches which 
Andrew has proposed to enable libobjc.  This seems to work fine so far. 
  I managed to compile a working set of Swarm libraries with it, 
although I am not yet using the GNU runtime.

I tried to enable libffi by moving it from the gcj only section in the 
configure script.  It all got built OK using Apple's build script but 
ffi.h never got installed.  ffitarget.h was installed in the compiler 
includes directory.  Any suggestions where this should be fixed?

Bill Northcott

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-08-15  3:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-15  3:53 Libobjc and libffi on Darwin Bill Northcott
2004-08-15  6:57 ` Andrew Pinski
  -- strict thread matches above, loose matches on Subject: below --
2004-08-12  4:12 Bill Northcott
2004-08-14  0:58 ` Tom Tromey
2004-08-14  3:28   ` Andrew Pinski
2004-08-14  1:18 ` James E Wilson
2004-08-14  2:15   ` Bill Northcott
2004-08-14  2:16     ` Andrew Pinski
2004-08-14  8:15     ` James E Wilson
2004-08-14 18:25       ` Dale Johannesen
2004-08-15  1:42         ` Bill Northcott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).