[Debian-hebrew-package] Bug#486095: Bug#486095: Can libhdate use gpc instead of fpc?

ik idokan at gmail.com
Sat Jun 14 09:50:08 UTC 2008


Hi,

I'm working in adding support for GPC as well as FPC (and not instead
of) on the same source files (GPC requires a lot of extra work because
they lack of support of many features).

GPC is not in development as far as I know, and the latest release was
at 2005, while FPC is still under constant development, so I really
think that it is better to invest more arch support for FPC,  then to
use GPC.
But that's only my own opinion.

Ido

On Sat, Jun 14, 2008 at 12:16 PM, kobi zamir <kobi.zamir at gmail.com> wrote:
> Hi all,
>
> About this subjcet:
> ------------------------------
>
> 1. the bindings Ido made are very free pascal specific :-(
>
> 2. libhdate uses swig for perl, php, python and ruby. i do not know of a way to
> use swig to make pascal bindings :-(
>
> 3. using gpc to make bindings for c is very easy  :-)
>
> =======================
> gpc hdate.pas -lhdate --cstrings-as-strings
> =======================
> program hdate;
>
> function hdate_get_int_string(i: CInteger): CString; external name
> 'hdate_get_int_string';
>
> begin
>  writeLn(hdate_get_int_string(5));
>  writeLn('Hello, World!');
> end.
> =======================
>
> TODO:
> -------------
>
> 1. Do you know how to use swig to make pascal bindings ?
>
> 2. If someone is volentiering to make a bindings to gpc I will add it
> to the package
> as soon as I get it
>
> 3. If no one will make a binding, i will make one when i will find the time.
>
> Debian packages:
> -----------------------------
>
> The naming of all libhdate packages are not nice -
>
> libhdate-python  -> should be python-libhdate
> libhdate-perl     -> stay the same
> libhdate-pascal -> should be fp-units-libhdate
>
> when packages for php and ruby will be made they should be named:
> php-libhdate
> libhdate-ruby
>
> I do not know how to name gpc units :-)
> The new debian package for the gpc bindings should have a good name
> from the beginning. Suggestions anyone ?
>
> By
> Kobi
>
> On Fri, Jun 13, 2008 at 1:55 PM, Martin Guy <martinwguy at yahoo.it> wrote:
>> Package: libhdate-pascal
>> Version: 1.4.11-1
>> Severity: wishlist
>>
>> Hi!
>>   The pascal binding to libhdate uses FPC, which only works on five
>> architectures, and from lenny+1 will only exist on four unless FPC is
>> ported to armel. If libhdate-pascal could be compiled with GPC
>> instead, it would be available on all 14 Debian architectures.
>>
>>
>>
>> _______________________________________________
>> Debian-hebrew-package mailing list
>> Debian-hebrew-package at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/debian-hebrew-package
>>
>



-- 
http://ik.homelinux.org/





More information about the Debian-hebrew-package mailing list