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

2005-03-21 Thread Marc Santhoff
Am Mi, den 09.03.2005 schrieb Koenraad Lelong um 22:27: [...] I have been offline for the weekend and monday morning this mail from the 9th of march arrived in my inbox!? Is it: 1. a problem with the fpc mailing list? 2. a problem with my email provider? TIA, Marc

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

2005-03-20 Thread Koenraad Lelong
Jeff Pohlmeyer wrote: My question : is the linker not smart enough to find out by itself where to look for those missing object files ? Not sure if I understand your question, but as Marc already mentioned, you can control this with the -k-L compiler switch. You can also control the way the co

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

2005-03-20 Thread Koenraad Lelong
Marc Santhoff wrote: Am Di, den 08.03.2005 schrieb Koenraad Lelong um 21:51: Marc Santhoff wrote: Am Mo, den 07.03.2005 schrieb Koenraad Lelong um 22:36: Hi, I'm trying to make an interface to a kind of library, but I'm stuck. Any pointers are welcome. There is a C-header file, but this is common

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

2005-03-12 Thread Marc Santhoff
Am Sa, den 12.03.2005 schrieb Koenraad Lelong um 18:53: > Jeff Pohlmeyer wrote: > >>My question : is the linker not smart enough to find out > >>by itself where to look for those missing object files ? > > > > > > Not sure if I understand your question, but as Marc already > > mentioned, you ca

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

2005-03-12 Thread Jonas Maebe
On 12 Mar 2005, at 18:53, Koenraad Lelong wrote: I assumed that when a routine uses some code in an object file which in turn uses code in another object file, the linker would be smart enough to know to look for that second object file. No, the linker cannot know in which other object these rout

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

2005-03-12 Thread Koenraad Lelong
Jeff Pohlmeyer wrote: My question : is the linker not smart enough to find out by itself where to look for those missing object files ? Not sure if I understand your question, but as Marc already mentioned, you can control this with the -k-L compiler switch. You can also control the way the co

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

2005-03-11 Thread Marco van de Voort
> > My question : is the linker not smart enough to find out > > by itself where to look for those missing object files ? > > Not sure if I understand your question, but as Marc already > mentioned, you can control this with the -k-L compiler switch. > > You can also control the way the compil

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

2005-03-10 Thread Koenraad Lelong
Marc Santhoff wrote: Am Di, den 08.03.2005 schrieb Koenraad Lelong um 21:51: Marc Santhoff wrote: Am Mo, den 07.03.2005 schrieb Koenraad Lelong um 22:36: Hi, I'm trying to make an interface to a kind of library, but I'm stuck. Any pointers are welcome. There is a C-header file, but this is common

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

2005-03-08 Thread Marc Santhoff
Am Di, den 08.03.2005 schrieb Koenraad Lelong um 21:51: > Marc Santhoff wrote: > > Am Mo, den 07.03.2005 schrieb Koenraad Lelong um 22:36: > > > >>Hi, > >>I'm trying to make an interface to a kind of library, but I'm stuck. Any > >>pointers are welcome. > >>There is a C-header file, but this is c

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

2005-03-08 Thread Michael . VanCanneyt
On Tue, 8 Mar 2005, Koenraad Lelong wrote: > Marc Santhoff wrote: > > Am Mo, den 07.03.2005 schrieb Koenraad Lelong um 22:36: > > > > > Hi, > > > I'm trying to make an interface to a kind of library, but I'm stuck. > > > Any pointers are welcome. > > > There is a C-header file, but this is comm

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

2005-03-08 Thread Koenraad Lelong
Marc Santhoff wrote: Am Mo, den 07.03.2005 schrieb Koenraad Lelong um 22:36: Hi, I'm trying to make an interface to a kind of library, but I'm stuck. Any pointers are welcome. There is a C-header file, but this is common for a number of C-modules. If I translate (h2pas) this file, and use it, the

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

2005-03-07 Thread Marc Santhoff
Am Mo, den 07.03.2005 schrieb Koenraad Lelong um 22:36: > Hi, > I'm trying to make an interface to a kind of library, but I'm stuck. Any > pointers are welcome. > There is a C-header file, but this is common for a number of C-modules. > If I translate (h2pas) this file, and use it, the linker tri