This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libffi on FreeBSD/i386


Anthony Green wrote:
> Björn König wrote:
>>
>> Now FreeBSD/i386 passes all tests. I attached a patch to this mail.
>>
> Thanks!  I've just rolled that into version 3.0.2.

Recently I submitted another patch that has been contributed to libffi in
the GCC repository (see [1]). It adds some lines to configure.ac for
FreeBSD/amd64. libffi passes tests on this platform and architecture
without problems. You may want to include it too, but you do not need to
create a new release. FreeBSD users install libffi via FreeBSD's software
management. The package already comes along with my FreeBSD-related
patches. So there is no necessity for a 3.0.3 because of this.

[1] http://gcc.gnu.org/viewcvs?view=rev&revision=132262

> You should be using pkgconfig to find the headers like so...
>
> gcc -c mycode.c `pkg-config libffi --cflags`

Yes, alright. I just noted it because there is software out there that
does not use pkg-config to find the header, but rather it looks in
/usr/local/include for example or relies on the fact that the user knows
the location of the headers. As far as I can remember older versions of
libffi does not take advantage from pkg-config. I will take that into
account what you have said.

Björn



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]