Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-20 Thread Koenraad Lelong
Koenraad Lelong wrote: Koenraad Lelong wrote: Jeff Pohlmeyer wrote: ... ... Second question : are c-double types and fpc-double types compatible ? This must be : c-float and fpc-double. Sorry for that. Koenraad. ___ fpc-pascal maillist - fpc-pascal@list

Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-19 Thread Koenraad Lelong
Koenraad Lelong wrote: Koenraad Lelong wrote: Jeff Pohlmeyer wrote: ... I'm trying this and it seems to work, partly. I wrote a clone in fpc of the temp-program, and encountered some strange things. The library successfully detects the interface, and one device (only one connected at the time).

Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-19 Thread Florian Klaempfl
Nikolay Nikolov wrote: Koenraad Lelong wrote: Second question : are c-double types and fpc-double types compatible ? I think so. Perhaps cfloat and cdouble should be added to the ctypes unit? Already in the cvs. ___ fpc-pascal maillist - fpc-pascal@li

Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-16 Thread Nikolay Nikolov
Koenraad Lelong wrote: Second question : are c-double types and fpc-double types compatible ? I think so. Perhaps cfloat and cdouble should be added to the ctypes unit? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.o

Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-16 Thread Koenraad Lelong
Koenraad Lelong wrote: Jeff Pohlmeyer wrote: ... About the beer, it's pretty close. 1-wire devices are devices like termometers, AD-converters and other devices that can be accessed over 1-wire (actually two : gnd). And I would like to use these thermometer-devices with my Zaurus PDA to measure t

Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-14 Thread Koenraad Lelong
Jeff Pohlmeyer wrote: If you want to take a look, I've put it on http://users.edpnet.be/~koenraad/www Okay, try this... In your ulinuxgnu300 directory, type: make clean make linux ar -r libonewire.a *.o ranlib libonewire.a And then move the resulting "libonewire.a" file into a directory

Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-14 Thread Koenraad Lelong
Jeff Pohlmeyer wrote: If you want to take a look, I've put it on http://users.edpnet.be/~koenraad/www Okay, try this... In your ulinuxgnu300 directory, type: make clean make linux ar -r libonewire.a *.o ranlib libonewire.a And then move the resulting "libonewire.a" file into a directory

Re: [fpc-pascal] RE: Help needed with interfacing to C-object-files.

2005-03-13 Thread Koenraad Lelong
Jeff Pohlmeyer wrote: I still don't understand what sort of c "package" you have that generates a bunch of object files, but doesn't create a shared library or static archive. Does it have its own makefile or configure script? Sometimes adding --enable-shared or --enable-static to configure will

Re: [fpc-pascal] RE: Help needed with interfacing to C-object-files.

2005-03-12 Thread Marc Santhoff
Am So, den 13.03.2005 schrieb Jeff Pohlmeyer um 00:03: [..] > > > Maybe I'm too used to using Delphi, where such things > > > are hidden from the developper. > > > That's the nice part of Delphi. > > You are talking about searching the system for object > files generated by another compiler and