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: Building ffi without configure


 Could you please put the -c switch asside and add something like
-lname_of_the_ffi.dll



Greg Williamson <cheeseboy16@gmail.com> hat am 9. Januar 2012 um 16:24
geschrieben:

> That gives me a different error -> http://pastebin.com/RpNcqUVP
>
> On Mon, Jan 9, 2012 at 10:06 AM, wp1068189-ssc
> <stefan.sonnenberg@pythonmeister.com> wrote:
> >  Did you try with gcc instead of g++ ?
> >
> >
> > Greg Williamson <cheeseboy16@gmail.com> hat am 9. Januar 2012 um 13:53
> > geschrieben:
> >
> >> I'm trying to intergrate ffi into to my project. I want it to build
> >> without a configure script (only a Makefilke). Ive extracted ffi.c
> >> ffi_common.h  fficonfig.h  ffi.h  ffitarget.h  from the source and
> >> wrote a generic makefile that essentially runs "g++ -I. -c -o ffi.o
> >> ffi.c". When I build I get this error http://pastebin.com/9fMHP9TM .
> >> Is there something else configure does that I need to manually edit
> >> into a header or ffi.c?
> >>
>


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