Re: [fpc-pascal] lNet getting the local IP

2010-10-07 Thread Boris Samorodov
On Thu, 7 Oct 2010 16:00:31 -0700 Brian Winfrey wrote:

> Here are the modifications I made in exploring this issue:

It works on:
-
% uname -a
FreeBSD host.ipt.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #3 r213198M: Mon Sep 27 
15:43:54 MSD 2010 b...@host.ipt.ru:/usr/obj/usr/src/sys/HOST  i386
-

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-01 Thread Boris Samorodov
On Fri, 1 Jan 2010 11:47:42 +0100 (CET) Marco van de Voort wrote:

> Happy New Year!

Happy New Year!

> As a special present, We have placed a new major release of the Free Pascal
> Compiler, version 2.4.0 on our ftp-servers.

Thanks for the great work!

> Changes that may break backwards compatibility are documented at:
> http://wiki.freepascal.org/User_Changes_2.4.0

> Downloads are available at:

> the main FTP server at

> ftp://ftp.freepascal.org/pub/fpc/beta/2.4.0/

Seems that that should be ftp://ftp.freepascal.org/pub/fpc/dist/2.4.0/
(dist instead of beta)

> and

> ftp://freepascal.stack.nl/pub/fpc/beta/2.4.0/

Seems that permissions are not correct here.
-
% ftp ftp://freepascal.stack.nl/pub/fpc/dist/
...
ftp> pwd
Remote directory: /mirrors/fpc/dist
ftp> cd 2.4.0
550 2.4.0: Permission denied.
ftp> ls
...
drwxr-x---  19 816  106 4096 Dec 30 14:43 2.4.0
...
-

-- 
WBR, bsam
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Freepascal 2.2.4rc1 released

2009-01-29 Thread Boris Samorodov
mar...@stack.nl (Marco van de Voort) writes:
> In our previous episode, Boris Samorodov said:
>> >> At the system:
>> >> -
>> >> host% uname -a
>> >> FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jan 26 
>> >> 17:17:58 MSK 2009 r...@host.ipt.ru:/usr/obj/usr/src/sys/HOST  i386
>> >> -
>> >
>> > (
>> > note: if you want to generate native 8.0 binaries, you need the cprt0.as
>> > and the identpatch.sh script from the sources, assemble and copy the 
>> > cprt0.o
>> > file over the one in $PREFIX/fpc/$FPCVERSION/units/i386-freebsd/rtl
>> 
>> I'll try to do it, thanks! That may be a right thing for FreeBSD
>> port/package building.
>
> Talk to ACM, we recently discussed some more minor details with FPC
> packaging, like passing the FreeBSD major version to the compiler via make,
> to allow version dependant code in FPC's main libs.

Good to know, thanks!


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Freepascal 2.2.4rc1 released

2009-01-29 Thread Boris Samorodov
mar...@stack.nl (Marco van de Voort) writes:
> In our previous episode, Boris Samorodov said:

>> At the system:
>> -
>> host% uname -a
>> FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jan 26 17:17:58 
>> MSK 2009 r...@host.ipt.ru:/usr/obj/usr/src/sys/HOST  i386
>> -
>
> (
> note: if you want to generate native 8.0 binaries, you need the cprt0.as
> and the identpatch.sh script from the sources, assemble and copy the cprt0.o
> file over the one in $PREFIX/fpc/$FPCVERSION/units/i386-freebsd/rtl

I'll try to do it, thanks! That may be a right thing for FreeBSD
port/package building.

> The generated binaries are then COMPAT7 free, if nothing broke.
> )


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Freepascal 2.2.4rc1 released

2009-01-29 Thread Boris Samorodov
Joost van der Sluis  writes:

> We have placed the first release-candidate of the Free Pascal Compiler
> version 2.2.4 on our ftp-servers.

At the system:
-
host% uname -a
FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jan 26 17:17:58 MSK 
2009 r...@host.ipt.ru:/usr/obj/usr/src/sys/HOST  i386
-

I get some warnings:
-
...
gmake[5]: Entering directory 
`/work/a/ports/lang/fpc/work/fpc-2.2.4rc1/rtl/freebsd'
/bin/mkdir -p ../../rtl/units/i386-freebsd
as -o ../../rtl/units/i386-freebsd/prt0.o i386/prt0.as
as -o ../../rtl/units/i386-freebsd/cprt0.o i386/cprt0.as
as -o ../../rtl/units/i386-freebsd/gprt0.o i386/gprt0.as
/work/a/ports/lang/fpc/work/fpc-2.2.4rc1.bin/lib/fpc/2.2.4rc1/ppc386 -dNOMOUSE 
-Fl/usr/lib -Fi../inc -Fi../i386 -Fi../unix -Fi../bsd -Fi../bsd/i386 
-Fi../freebsd/i386 -FE. -FU../../rtl/units/i386-freebsd -CX -di386 -Us -Sg 
../bsd/system.pp
objpas.inc(609,43) Warning: Converting pointers to signed integers may result 
in wrong comparison results and range errors, use an unsigned type instead.
objpas.inc(620,52) Warning: Converting pointers to signed integers may result 
in wrong comparison results and range errors, use an unsigned type instead.
objpas.inc(687,12) Warning: "formal parameter" not yet supported inside inline 
procedure/function
objpas.inc(687,12) Warning: Inlining disabled
thread.inc(313,10) Warning: Function result does not seem to be set
thread.inc(325,11) Warning: Function result does not seem to be set
thread.inc(335,11) Warning: Function result does not seem to be set
thread.inc(340,11) Warning: Function result does not seem to be set
thread.inc(345,11) Warning: Function result does not seem to be set
thread.inc(374,10) Warning: Function result does not seem to be set
thread.inc(393,11) Warning: Function result does not seem to be set
thread.inc(417,11) Warning: Function result does not seem to be set
thread.inc(423,11) Warning: Function result does not seem to be set
thread.inc(464,10) Warning: Function result does not seem to be set
...
-

Is that OK? Thanks!


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Suggestions for fpspreadsheet

2009-01-11 Thread Boris Samorodov
Hello List,


On Sat, 10 Jan 2009 17:30:31 +0100 Felipe Monteiro de Carvalho wrote:

> I got some time and I decided to improve fpspreadsheet:
> http://wiki.lazarus.freepascal.org/FPSpreadsheet

> I wrote a OLE document generator, so now it is possible to generate
> Excel 5 spreasheets in any platforms (actually some lines of code are
> missing for big endian systems). And it supports numbers, text and
> formulas, as well as multiple worksheets in the same file. Excel 2
> support is also complete.

Very interesting. Thanks for your work!

> I have some more time, but I am not entirely sure what would really
> add value to the library, so I thougth I would ask possible users what
> they really need (I already have all the functionality I need). Some
> ideas I had are:

> * Add support to also read Excel 5 files

I'd vote for this one twice if possible. ;-)
As for the others they are interesting but not very important for me.

> * Add write support to other formats
> * More advanced formulas
> * Make charts (maybe too hard?)

> I went for Excel 5 because it's supported by nearly all spreadsheet
> software out there and has lot's of features.

> I am not saying I will implement any of this in a short time, just
> asking for suggestions =)


WBR
-- 
bsam
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] compiling on FreeBSD6 or 7 for target FreeBSD4 possible?

2008-08-21 Thread Boris Samorodov
On Thu, 21 Aug 2008 00:39:55 +0200 Marc Santhoff wrote:

> for some reason I have to have a compiler creating binaries for FreeBSD
> 4 at hand.

> Since all computers around here are on the way to FreeBSD 6 or 7 I have
> to decide between having a seperate disk or partition or virtual machine
> for FreeBSD 4 and setting up a build environment running on v6 and
> creating binaries for v4.

> Is the latter generally possible?

We use a FreeBSD-current host with ports-mgmt/tinderbox to create
packages for 5.x, 6.x, 7.x and 8.x. While CURRENT was 7.x we used
to package for 4.x as well. You may create a local port of your
software and package it for all versions at one host.


HTH and WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal