[fpc-devel] Bug at SHA1File function..

2021-04-04 Thread Daniel Gaspary via fpc-devel
Hi.

I reported a bug at Sha1File function:
https://bugs.freepascal.org/view.php?id=38700

The FPC version I use is 3.0.4, because is the version available at
Ubuntu 20.04 LTS..

In the issue I received a reply warning that the problem is present at
FPC trunk.

So... how to proceed, create a new issue? Wait until someone edit the issue... ?

Thank you.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Are LazUtils - XML units still necessary ?

2016-03-09 Thread Daniel Gaspary
On Wed, Mar 9, 2016 at 9:04 PM, Mattias Gaertner
 wrote:
> The main difference is they use UTF-8 strings instead of UTF-16
> strings. This saves memory and avoid conversions when using UTF-8
> strings in your application.
> They also have some flags like xrfPreserveWhiteSpace, which preserves
> indentation.

Thank you Mattias.

So.. Could the LazUtils Units replace the FCL-XML ones ?
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Pascal to Javascript - Still being Updated ? / General Conversion

2015-08-02 Thread Daniel Gaspary
On Sun, Aug 2, 2015 at 4:18 AM, Michael Van Canneyt
mich...@freepascal.org wrote:
   How about change to an Abstract Converter Class(interface?) ??

 What do you mean by this ?

   I am thinking about using the same structure to convert to some text
 format.

 All you will have in common is the fcl-passrc ?

Today the Converter is dedicated to one format only: Javascript.

I was thinking about a base Pascal converter. After that, specific
converters could be implemented:

TPascalConverter = class

procedure WriteIfStatement(...); virtual;
procedure WriteWhileStatement(...); virtual;

end;

TPascalToJavascriptConverter = class(TPascalConverter)

procedure WriteIfStatement(...); override;
end;

TPascalToJSonConverter = class(TPascalConverter)
procedure WriteIfStatement(...); override;
end;

Something like that.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Pascal to Javascript - Still being Updated ? / General Conversion

2015-08-02 Thread Daniel Gaspary
On Sun, Aug 2, 2015 at 4:41 AM, Michael Van Canneyt
mich...@freepascal.org wrote:
 Like I said, all that is in common then is fcl-passrc. This proposed class
 will just contain some loops, I'm not sure if that is worth it ?

Yes, it would be a kind of Pascal Reader, just walking the source tree.

The conversion itself could be another class.

 But if you want to do the ground work (create a superclass for the current
 converter): Be my guest. Make sure the testsuite of the JS converter runs
 without errors.

I will think about it.

Thank you, Michael.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] Pascal to Javascript - Still being Updated ? / General Conversion

2015-08-01 Thread Daniel Gaspary
Hi,

   In April 2014 Michael sent[1] a call for help about Pascal to JS conversion.

   Is it still being maintained?

   How about change to an Abstract Converter Class(interface?) ??

   I am thinking about using the same structure to convert to some text format.

   How could be the best way make the Convert Functions Return Type independent?

   Current format:

   Function ConvertStatement(El: TPasImplStatement; AContext:
TConvertContext ): TJSElement;virtual;

   Thank you,

  Daniel


   [1] http://lists.freepascal.org/pipermail/fpc-devel/2014-April/033689.html
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] XMLWriter / XMLTextWriter

2015-01-23 Thread Daniel Gaspary
Hi,

   Last year, at March,  I sent an email[1] about some changes in XML units.

   One of my doubts remains:


On Wed, Mar 12, 2014 at 2:20 PM, Daniel Gaspary dgasp...@gmail.com wrote:
 On Wed, Mar 12, 2014 at 12:18 PM, Sergei Gorelkin
 sergei_gorel...@mail.ru wrote:
 Here I fully agree, and in the meantime I've already committed some initial
 changes to TXMLWriter to make it function like .net XMLTextWriter.

 Are these changes at trunk? Fcl or LazUtils?

Any alternative svn branch? Or just the way XML_Write Methods work?

Thank you,

Daniel



[1] http://lists.freepascal.org/pipermail/fpc-devel/2014-March/033579.html
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] Object Pascal on list of languages Marked for death

2014-10-09 Thread Daniel Gaspary
I don't agree with most of what is said in article, and even the author says:

It’s hard to say just why, since the platform was really quite good.

(talking about Delphi and Object Pascal).

But well, I think it would worth to mention here, so here it is:

http://news.dice.com/2014/10/09/5-programming-languages-marked-for-death/
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Object Pascal on list of languages Marked for death

2014-10-09 Thread Daniel Gaspary
On Thu, Oct 9, 2014 at 4:11 PM, Daniel Gaspary dgasp...@gmail.com wrote:
 I don't agree with most of what is said in article, and even the author says:

My intention was to send the message to fpc-pascal, not here.

Sorry.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] binutils for avr 8 bit

2014-05-23 Thread Daniel Sapundjiev
Hi, 

Good day!

 

Can someone help me with the 8 bit AVR.

 

Which binutils I can use for assembler compilation and linking?

 

I see that in Arduino they use - GNU assembler (WinAVR 20081205) 2.19

 

It looks that the project for WinAVR is here -
http://www.webring.org/l/rd?ring=avr;id=59;url=http%3A%2F%2Fwinavr.sourcefor
ge.net%2F

 

But there is not much information about how to use the as.exe

 

Thank you and regards,

Daniel

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] XPath Scanner

2014-03-16 Thread Daniel Gaspary
Hi,

   How was discussed last week[1], I uploaded a Patch[2] where I split
the Scanner and Parser code of XPath.

   The scanner code was put at a new unit, XPath_Scanner.

   Regards,

 Daniel

[1] http://lists.freepascal.org/fpc-devel/2014-March/033584.html
[2] http://bugs.freepascal.org/view.php?id=25871
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] XML / SAX - Removing redundancies

2014-03-12 Thread Daniel Gaspary
I have uploaded a patch[1] to remove the TSaxInputSource, it is
redundant with TXmlInputSource from XmlReader unit.

I believe the TSAXXMLReader.Parse method have almost the same
functionality of xmltextreader.TXMLTextReader.

I would like to know if and how it can be modified. The base class,
TSaxReader, needs much more changing and could affect users of the
class.

Thank you,

 Daniel


[1] http://bugs.freepascal.org/view.php?id=25854
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] XML / SAX - Removing redundancies

2014-03-12 Thread Daniel Gaspary
On Wed, Mar 12, 2014 at 8:06 AM, Sergei Gorelkin
sergei_gorel...@mail.ru wrote:
 OTOH, if we go for breaking user's code, then it is much better to drop SAX
 altogether and switch over to TXMLTextReader.
 From these points of view the best way is probably to document
 TXMLTextReader, deprecate SAX and leave it alone.

Seems to be the best alternative.

On other topic, a new StaX[1] class, using TXMLTextReader, seems need
not too many work to accomplish. Am I sub estimating  It ?

Daniel

[1] http://www.vogella.com/tutorials/JavaXML/article.html#javastax
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] XML / SAX - Removing redundancies

2014-03-12 Thread Daniel Gaspary
On Wed, Mar 12, 2014 at 11:04 AM, Daniel Gaspary dgasp...@gmail.com wrote:
 On other topic, a new StaX[1] class, using TXMLTextReader,

I mean, *classes*.

Creating the writer part too.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] XML / SAX - Removing redundancies

2014-03-12 Thread Daniel Gaspary
On Wed, Mar 12, 2014 at 11:42 AM, Sergei Gorelkin
sergei_gorel...@mail.ru wrote:
 Why would you want to use S[t]AX approach in the first place?

No special reason at the moment. I didn't examine TXmlTextReader so much yet.

 The interface of .net-based XML[Text]Reader and XMLWriter is IMHO
 much more straightforward and easy to use.

A xmlwriter unit, equivalent to xmlreader, would be interesting.To
have a XML writer independent of DOM.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] XML / SAX - Removing redundancies

2014-03-12 Thread Daniel Gaspary
On Wed, Mar 12, 2014 at 12:18 PM, Sergei Gorelkin
sergei_gorel...@mail.ru wrote:
 Here I fully agree, and in the meantime I've already committed some initial
 changes to TXMLWriter to make it function like .net XMLTextWriter.

Are these changes at trunk? Fcl or LazUtils?

About DOM independence... something against XPath Scanner (at least)
becoming a dom independent unit?
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] XML / SAX - Removing redundancies

2014-03-12 Thread Daniel Gaspary
On Wed, Mar 12, 2014 at 2:23 PM, Michael Van Canneyt
mich...@freepascal.org wrote:
 Curious: How can XPath become dom independent ?
 I thought the result of XPath was a series of DOM nodes ?

Yes, it is. But I'm thinking about using the XPath expressions in other classes.

Maybe a TXmlTextReader descendent with support to some kind of
realtime XPath Filter

Like executing an Event Procedure every time a specific XPath
Expression is matched.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] XML / SAX - Removing redundancies

2014-03-12 Thread Daniel Gaspary
On Wed, Mar 12, 2014 at 2:36 PM, Michael Van Canneyt
mich...@freepascal.org wrote:
 What can be achieved at the most seems to be the parsing of the expression
 and the resulting parse tree.

Is exactly what I'm trying to say(my lack of English grammar skills
doesn't help). :)

 I seriously doubt this is doable, since XPath works directly on the DOM tree
 ?

Is possible if TXmlReader keeps track of the it's current path. Let's say:

TMyXmlReader = class(TXmlTextReader)
private
 FPath: TStrings; //or another dedicated new CLass to keep a
list of nodes.
public
Register(XPathExpression: string; MethodToCall);
end;

At each step of processing, FPath is updated and is compared to XPathExpression.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] XML / SAX - Removing redundancies

2014-03-12 Thread Daniel Gaspary
On Wed, Mar 12, 2014 at 3:23 PM, Sergei Gorelkin
sergei_gorel...@mail.ru wrote:
 A certain subset of expressions (forward iteration only) can be handled that
 way, yes.
 But in general, XPath requires a source with non-sequential access.

Beyond this use case, could be useful to other implementations of XML,
tree based ones.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] Registry Allocator documentation

2013-12-16 Thread Daniel Sapundjiev
Hi,
I wrote some documentation about the FPC Registry Allocator.
 
Can I post it somewhere. Or to send it to someone for review.
 
Also, is there some documentation for the FPC Registry Allocator?
 
Regards,
Daniel
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] for loop unroll optimization

2013-12-15 Thread Daniel Sapundjiev
Hi,

Can  someone explain the main idea behind the code

In optloop.pas 

function unroll_loop(node : tnode) : tnode;

 

What is the unroll about?

Thanks in advance

 

 

Daniel Sapoundjiev

 

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] FPC/Lazarus Rebuild performance

2010-09-10 Thread Daniel
AFAIR the ATTO tool measures read and write bursts of single files X in size.

An interesting exercise is to transfer 1000 files to a USB memory
stick in 2 situations:

- Compacted in a single file, transfers at or near full USB speed.
- Spread out normally on a folder takes forever.

This happens because the time it takes to SWITCH between one file to
another is significant. Ending one operation (a single file transfer)
and begining another takes a time slice. Summing up all these start
and finish ops takes a significant time slice.

I guess this kind of behaviour is exactly what you're noticing. The
raw I/O transfer speed provided by your SSD is enough for your needs.
A faster channel won't help you. Some other factor is accounting for
your lags.

You can't really judge a storage medium just by a single benchmark
kind. The compiler will ask for your storage medium to seek files all
the time. Switching files all the time. This takes time. Much more
time than blazing through a single file like ATTO does.

On Fri, Sep 10, 2010 at 12:54, Jonas Maebe jonas.ma...@elis.ugent.be wrote:

 On 10 Sep 2010, at 17:43, Adem wrote:

   SSD: 103,060 ms (1 min 43 sec)
 RAMDisk: 105,463 ms (1 min 46 sec)

 This doesn't make sense. FPC/Lazarus compiles on the faster medium longer
 (albeit only 3 sec.).

 Everything on your SSD is cached in RAM, so it's normal that both are about
 the same speed. The 3 seconds difference is probably just noise.


 Jonas
 ___
 fpc-devel maillist  -  fpc-de...@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-devel

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


RE: [fpc-devel] FPC 2.0.4

2006-10-22 Thread Daniel Hobson


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of peter green
Sent: Monday, 23 October 2006 9:28 AM
To: FPC developers' list
Subject: RE: [fpc-devel] FPC 2.0.4

 Currently we have been developing on FPC for both Windows and Linux and we
have noticed that socket communications are not working correctly under
Linux environments.
please define what you mean by not working correctly, preferally with a test
app

I apologise for been a bit vague in the original message.

It is not connecting to the windows server which is using TCP/IP.  The
Server address we use is 10.0.0.18 on Port 2.  Now we have tried various
things with this including the following:-

1) Using Synapse 37 API (Messaged these fellows already)
2) INET 0.4.0
3) SocketClient

I remember when using FPC 2.0.2 I had to fix the htons() call as it was
using a 32bit value rather than a 16bit word value.  I have checked this
code again against 2.0.4 and it seems to be ok.

From my analysis I believe there is a failure somewhere when it comes to
building the SIN IP address / resolving the address.  The port information
seems to come across correctly as a word value of 8270.

We have done pinging and trace routing to the windows machine where the
server application runs and packets are going through.  This indicates there
is NO firewall and shows that our network is working correctly.  Ethereal
0.99 shows no packets coming across to the windows machine when attempting
to connect.  The server application does not show any indication of
connection.

 I have also been advised that the netdb has issues on 2.0.4? is this
correct?
dunno i gave up on using netdb when a friend added IPV6 to the sockets
wrapper i use and needed workable IPV6 dns code.

I hope this is more helpful

Regards,

Daniel Hobson.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.9/490 - Release Date: 20/10/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.9/490 - Release Date: 20/10/2006
 

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] FPC 2.0.4

2006-10-22 Thread Daniel Hobson








Hello All,



Currently we have been developing on FPC for both Windows
and Linux and we have noticed that socket communications are not working
correctly under Linux environments. I have also been advised that the netdb
has issues on 2.0.4? is this correct?



If we use FPC 2.1.1 on Windows, the socket communications
work correctly but if we drop back to 2.0.4 it then fails also. I can not
use 2.1.1 on linux or am I knowledgeable enough to get it working under linux
with Lazarus. The client application we are creating MUST be linux
environment. I was wondering the following:-



1) Is there a
patch out for this bug or a known solution on how to correct the problem so
that socket communications can work from Linux to windows?

2) When is FPC
2.1.1 expected to be released to the public? (No pressure, just a simple
question).

3) Can we
actually get the 2.1.1 development code (I know how to do this) and make it
work with Lazarus 9.19 beta (Dont know how to do) on Linux? If so, can
anybody guide me on how this can be done?



Any feedback to this mail would be greatly appreciated.



Kindest Regards,



Daniel Hobson








--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.9/490 - Release Date: 20/10/2006
 
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] A small wish for FPC

2006-07-27 Thread Daniel Franzini
i'm sorry my lack of deeper knowledge...but can't strip solve the problem?!?!?!?On 7/27/06, Peter Vreman [EMAIL PROTECTED]
 wrote:  The best idea I have to solve such thing is to use some sort of
  instructions for the compiler to tell it what I do need, and the  compiler will check dependencies if there is a problem with my choice. We are aware of this problem, and it is solved with the internal linker.
 Sounds cool :) How do I use it in Linux (as far as I remember the linker only works on Windows at the moment ?)You can't. It is only supports the Windows targets.___
fpc-devel maillist-fpc-devel@lists.freepascal.orghttp://lists.freepascal.org/mailman/listinfo/fpc-devel
-- DanielLet us change our traditional attitude to the construction of programs. Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to human beings what we want a computer to do. (Donald Knuth)
Yes, technogeeks can be funny, even if only to each other. (http://www.boogieonline.com/revolution/science/humor/)Man is driven to create; I know I really love to create things. And while I'm not good at painting, drawing, or music, I can write software. (Yukihiro Matsumoto, 
a.k.a. ``Matz'')
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Packaging

2005-03-30 Thread Daniel Herzog
Even better:
One single archive containing all ppc* starting compilers - this way i
could also package it quite easily for all arches, and it would easy to
script it using ppc${ARCH} everywhere...you see?
 
 
 I don't see it. Because that package will be huge since you need a ppc for
 every cpu-os combination.

Well...then on per cpu-os combination...for example ppc linux or
something - not neccessarily those seldomly used stuff like mips or so...

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Packaging

2005-03-30 Thread Daniel Herzog
 I had exactly the same situation with fpc for fink and solved it exactly
 as suggested by Daniel Herzog. I would go for Individual bootstrap tar
 balls for each arch, because this saves a lot of bandwidth. I called the
 one for macosx/darwin: fpc-1.9.8.darwin.bootstrap.tar.gz. maybe it
 should be fpc-1.9.8.darwin-ppc.bootstrap.tar.gz. But since we do not
 support darwin-x86, yet, I did not consider the cpu :)
 The tar ball includes the bootstrap binary and the default fpc.cfg file.
 Is debian for linux only? If so, just the combination of linux with
 every cpu is needed, and not any combination of os and cpu. But even for
 a case of any os with any cpu, do you really think that case would be to
 much?
 What is your guess about the distribution impact through debian
 packages. I guess is that it is noticable, what actually have to wait
 and see the effect of the fink package.
 
 Best wishes

I want to package for Gentoo, which, for now, supports the following:
alpha   amd64   arm hppaia64mipsppc ppc64   ppc macos   
s390sh  sparc   x86

But the most important ones are x86, ppc and amd64. There even are devs
working on *BSD - it works, but they didnt have official releases yet afaik.

So if you just place a ppc386, ppcppc and a ppc??? somewhere that would
be perfectly fine. For now i waste your bandwidth by getting the
complete binary.tar.

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] webserver

2005-03-30 Thread Daniel Herzog
Peter Vreman schrieb:
Jonas Maebe schrieb:

On 29 mrt 2005, at 16:40, Daniel Herzog wrote:


Here it doesnt. I even tried to change the mtu of all relevant systems
to 1400 instead of 1500, which didnt help also...and i cant lower my
mtu
far more...i want some troughput.


I don't know what or where the problem is, but you're the first person I
hear of who can't reach it.


Jonas

It worked for ages here, while i never touched my router for about 2
years now...

Maybe someone responsible for the webserver could show up and tell me if
there were changes done to it recently or not?
 
 
 The webserver (apache2) uses the defaults from Suse 9.2. Nothing special
 is configured.

Quite a few now said it might be the case that it's firewall blocks all
icmp packages. Try lowering the servers mtu for the fun with it.
Mine is 1442, automatically lowered to the highest value working everywhere.
Think of possible PPPoE headers, since you seem to have a dsl
connection. dunno what the exact setup looks like.

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Packaging

2005-03-30 Thread Daniel Herzog
 Does the darwin ppcppc binary actually work on linux-ppc?

No. - i just tought ppcppc was linux on ppcwell then, replace it
with the correct one :-)

 $ ./ppcppc
bash: ./ppcppc: cannot execute binary file
 $ file ppcppc
ppcppc: Mach-O executable ppc
 $ file ppc386
ppc386: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
statically linked, stripped

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Packaging

2005-03-30 Thread Daniel Herzog
I think this should be a nice solution:
bootstrap-arch-os-the version i can bootstrap with this.tar.gz

This results in:
bootstrap-386-linux-1.9.8.tar.gz containing a 1.0.10 version binary, for
example.

Please note i used 386 for arch, not x86, or something. So arch is
always a valid ppc* ending. This eases up scripting.

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] webserver

2005-03-30 Thread Daniel Herzog
From the ping tests that have just been sent in, it's clear that it
works for high MTUs also.

But it doesnt neccessarily show that any Fragmentation needed packages
can reach the server - which is the thing we need to proof or disproof,
I'd say...
And i'm sorry - i have no idea how this could be done - anyone?

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] webserver

2005-03-30 Thread Daniel Herzog
Michael Van Canneyt schrieb:
 
 On Wed, 30 Mar 2005, Johannes Berg wrote:
 
 
On Wed, 2005-03-30 at 21:45 +0200, Marco van de Voort wrote:


Same here, and I can ping www.freepascal.org till 8184.

The size at which you can ping www.freepascal.org isn't relevant, that
just means that you are not blocking 'fragmentation needed' packets. 

Interesting might be the size at which www.freepascal.org itself can
ping, for example, xzone.dyndns.org (our dynamic behind-dsl IP which has
a MTU lower than 1500)
 
 
 That is what I did: I pinged www.google.be from www.freepascal.org.
 and the maximum size was 1472.
 
 Michael.

If you're on freenode, query me (expose) please - and try to ping me -
since i myself can ping google with real big packages also - but not
www.freepascal.org

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Packaging

2005-03-29 Thread Daniel Herzog
Hi all,

In order to get fpc into portage, the gentoo packaging system
it would be necessary to make available a bootstrap tar ball (640 KB)
with the ppc386 binary and a default fpc.cfg file.

My suggestion would be the same dir as the fpc source tar ball, i.e.
ftp://ftp.freepascal.org/mirrors/fpc/beta/source-1.9.8/

Comments? Questions?

Best wishes - Daniel Herzog

(Shamelessly snaffled, defaced, abandond from here:
http://www.nl.freepascal.org/lists/fpc-devel/2005-March/004784.html)

:-)

 Sources shouldn't contain binaries. Bootstrapping compilers is always a
 chicken-and-egg story.


___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Packaging

2005-03-29 Thread Daniel Herzog
Okay. I'll totally rephrase this now:

Gentoo builds (almost) everything from source.
This is done via ebuilds.
There is grap this file:
ftp://ftp.freepascal.org/pub/fpc/beta/source-1.9.8/fpc-1.9.8.source.tar.gz
And compile and install it.
 
 
 Don't expect this directory to exists very long. When the release is made
 this directory is moved to an other place.
 

When this directory doesnt exist anymore a new version of the ebuild is
released and that's it. Every project from time to time changes it's
files...

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Packaging

2005-03-29 Thread Daniel Herzog
Thanks. I'll, for now, work around it using the binary.tar.
In practise, the only problem is the bigger download, and getting the
ppc386 out of it...

 This was clear from the beginning :) 
 But thank you for taking the trouble yo elaborate.
 
 We're discussing on the core list how we can accomodate for things like this.
 We'll send a mail with the outcome.
 
 Michael.


___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] webserver

2005-03-29 Thread Daniel Herzog
Jonas Maebe schrieb:
 
 On 29 mrt 2005, at 16:40, Daniel Herzog wrote:
 
 Here it doesnt. I even tried to change the mtu of all relevant systems
 to 1400 instead of 1500, which didnt help also...and i cant lower my mtu
 far more...i want some troughput.
 
 
 I don't know what or where the problem is, but you're the first person I
 hear of who can't reach it.
 
 
 Jonas

It worked for ages here, while i never touched my router for about 2
years now...

Maybe someone responsible for the webserver could show up and tell me if
there were changes done to it recently or not?

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Packaging

2005-03-29 Thread Daniel Herzog
Even better:
One single archive containing all ppc* starting compilers - this way i
could also package it quite easily for all arches, and it would easy to
script it using ppc${ARCH} everywhere...you see?

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] OT: pmtu/tcp window clamping

2005-03-29 Thread Daniel Herzog
No matter what i change all those mtu's to - 1460 byte will be the
bigges package that works. 
 
 
 Are you clamping the tcp window size correctly on 0.1? If you can't do
 it there maybe try on 0.2.
 
 johannes

Explain please. (All but 0.1 are Linux, 0.1 is a D-Link device)

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] webserver

2005-03-29 Thread Daniel Herzog
 ISP and consequently DNS has changed. Check the IP address.
 It should be 62.166.198.202

 But you're the only one to report problems, which suggests the problem is
 somewhere on your side. Maybe a proxy ?
 
 
 Well I'm having problems with www.freepascal.org for around a month now
 (maybe even more). Sometimes it's just reappears - last time it's
 happened in sunday - I've succesfully filed bug report and downloaded
 sources from CVS. But next day it again disappeared. And now not
 reachable either throw www.freepascal.org or 62.166.198.202.
 
 PS. Actually another successful connection were just after 1.9.8 release.

Try www.jp.freepascal.org as a workaround (works nice here), or the
google cache.

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Packaging

2005-03-29 Thread Daniel Herzog
A sample configuration, or the great (i really like it) samplecfg tool,
are needed, to avoid possibly broken/outdated/... /etc/fpc.cfg files

please add this somehow too.

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Packaging

2005-03-29 Thread Daniel Herzog
 A sample configuration, or the great (i really like it) samplecfg tool,
 are needed, to avoid possibly broken/outdated/... /etc/fpc.cfg files
 
 please add this somehow too.
 
I'm sorry. Forget about it - OPT=-n solves it...

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] Packaging

2005-03-28 Thread Daniel Herzog
Hi guys.

It would be nice if you could add a starting compiler to your source
packages, this eases up packaging with gentoo alot. this is especially
important for the 1.9.x series, which is changed. (the stable release
looks kinda freezed until 2.0.0 is released)

daniel

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] webserver

2005-03-28 Thread Daniel Herzog
i cannot access http://www.freepascal.org/ for days.

I can ping it, and wget establishes a connection (200 OK )but cant
download any data. ftp and www.jp.freepascal.org work fine.

please fix this, it worked nice here until the last week or so.

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel