Re: [Lazarus] Libc functions and types

2012-01-22 Thread Marco van de Voort
On Tue, Jan 17, 2012 at 10:10:23PM -0800, Udav wrote: better alternative than just making everyone redeclare everything in their own units. Absolutely! And if one just try searching through FPC RTL files for tm record he'll find it is declared about 8 times in various units. That's

Re: [Lazarus] Libc functions and types

2012-01-19 Thread Marco van de Voort
On Tue, Jan 17, 2012 at 03:38:32PM -0600, Craig Peterson wrote: On 1/17/2012 2:49 PM, Marco van de Voort wrote: There is no Embarcadero Radstudio that supports Linux. In ancient times there was Kylix, but it was buried. A part of it escaped, called unit libc, but we finally caught up with

Re: [Lazarus] Libc functions and types

2012-01-17 Thread Sven Barth
Am 17.01.2012 08:28, schrieb Udav: Well, I guess one option is to rebuild RTL with FPC_USE_LIBC defined. Another one is to define needed structures myself and implement function calls via syscall - what, I believe, is recommended way. But how can I determine the number of the function I want to

Re: [Lazarus] Libc functions and types

2012-01-17 Thread Udav
Sven, I tried searching inside RTL and localtime_r() is only declared in the libc/newlibc units. I think I'd have to use it because I'm trying to make my units RAD/FPC compatible and RAD uses libc for POSIX code and doesn't worry about it. -- View this message in context:

Re: [Lazarus] Libc functions and types

2012-01-17 Thread Andreas Schneider
On Tuesday, January 17, 2012, at 11:20 Udav wrote: Sven, I tried searching inside RTL and localtime_r() is only declared in the libc/newlibc units. I think I'd have to use it because I'm trying to make my units RAD/FPC compatible and RAD uses libc for POSIX code and doesn't worry about it.

Re: [Lazarus] Libc functions and types

2012-01-17 Thread Marco van de Voort
On Tue, Jan 17, 2012 at 03:16:40AM -0800, Udav wrote: With RAD do you mean Delphi? Because RAD stands for Rapid Application Development and does not really fit into the context of the rest of your message. Yeah, I mean Emb-ro RAD Studio (namely XE2 as they introduced

Re: [Lazarus] Libc functions and types

2012-01-17 Thread Craig Peterson
On 1/17/2012 2:49 PM, Marco van de Voort wrote: There is no Embarcadero Radstudio that supports Linux. In ancient times there was Kylix, but it was buried. A part of it escaped, called unit libc, but we finally caught up with it, and now it is dead and buried too. And now they have the Posix.*

Re: [Lazarus] Libc functions and types

2012-01-17 Thread Udav
Marco van de Voort wrote There is no Embarcadero Radstudio that supports Linux. In ancient times there was Kylix, but it was buried. A part of it escaped, called unit libc, but we finally caught up with it, and now it is dead and buried too. They have MacOSX support in XE2 and surely will

[Lazarus] Libc functions and types

2012-01-16 Thread Udav
I need to use some libc functions and types (localtime_r, tm, ...) but there's very confusing situation with libc (they say it is deprecated) and it even couldn't be found by Lazarus when I write uses libc. But there are no things I heed in the RTL. So what should I do? -- View this message in

Re: [Lazarus] LibC

2009-09-08 Thread Reimar Grabowski
On Mon, 7 Sep 2009 10:01:03 -0400 matt shaffer dazappa.m...@gmail.com wrote: On a somewhat related note, I'm done trying to develop anything interesting on Linux. After installing ~10 extra random dependencies to build OGL apps, everything's still being a pain. There's basically no libraries

Re: [Lazarus] LibC

2009-09-08 Thread matt shaffer
Well I'm basically looking for a 3D library that has Model loading (Blender does a good job of exporting almost anything, so long as the library does not have its own format I should be good) Texturing (Cannot get this to work with GLScene) Real time model transforming (For simple animated waves

Re: [Lazarus] LibC

2009-09-08 Thread Reimar Grabowski
On Tue, 8 Sep 2009 16:21:35 -0400 matt shaffer dazappa.m...@gmail.com wrote: Well I'm basically looking for a 3D library that has Model loading (Blender does a good job of exporting almost anything, so long as the library does not have its own format I should be good) Texturing (Cannot get

Re: [Lazarus] LibC

2009-09-08 Thread Mehmet Erol Sanliturk
Reimar Grabowski wrote: On Tue, 8 Sep 2009 16:21:35 -0400 matt shaffer dazappa.m...@gmail.com wrote: Well I'm basically looking for a 3D library that has ... ... R. You may study the new ones for you among the following sites : http://vrmlengine.sourceforge.net/

Re: [Lazarus] LibC

2009-09-08 Thread Burkhard Carstens
Am Dienstag, 8. September 2009 22:21 schrieb matt shaffer: Well I'm basically looking for a 3D library that has Model loading (Blender does a good job of exporting almost anything, so long as the library does not have its own format I should be good) Texturing (Cannot get this to work with

Re: [Lazarus] LibC

2009-09-07 Thread Marco van de Voort
On Sun, Sep 06, 2009 at 10:48:13PM -0400, matt shaffer wrote: I've come across a few projects now that require libc on Linux. I'm using the latest Ubuntu (9.04) + Lazarus (9.26-4), and it says it can't find libc. Library libc or unit libc? Is Ubuntu one of those distributions that fragment FPC

Re: [Lazarus] LibC

2009-09-07 Thread Graeme Geldenhuys
Marco van de Voort het geskryf: Note that it would be wisest to get rid of libc alltogether, because it is linux/x86 only. Remember to mention that that is only the case for the 'libc' unit! The libc library is available on just about any unix-type OS (linux, *bsd, etc.). There is a wiki

Re: [Lazarus] LibC

2009-09-07 Thread matt shaffer
Unit libc. AFAIK no, Ubuntu doesn't distribute FPC over tons of packages, but I just installed everything (FPC/Laz + sources) from one package). On a somewhat related note, I'm done trying to develop anything interesting on Linux. After installing ~10 extra random dependencies to build OGL apps,

Re: [Lazarus] LibC

2009-09-07 Thread Graeme Geldenhuys
matt shaffer het geskryf: BAH! I completely forgot in the last email (due to my large rant), but if you couldn't tell I did find and install unit libc happily. I know nothing about 3D stuff so can't comment on any of those. As for dependencies. Linux ships software packages in sets of 3. -

Re: [Lazarus] LibC

2009-09-06 Thread Hans-Peter Diettrich
matt shaffer schrieb: I've come across a few projects now that require libc on Linux. I'm using the latest Ubuntu (9.04) + Lazarus (9.26-4), and it says it can't find libc. Did you install the development package for libc? DoDi -- ___ Lazarus