Re: [fpc-pascal] for n:=0 to

2006-08-17 Thread Jonas Maebe


On 16 aug 2006, at 14:02, Carsten Bager wrote:

I have a program like below, and if the control variable (nr) is  
defined

as a byte/word it fails (the count goes from 1..14) But if I use an
Integer as control variable it works.
Is this an error in the compiler?

If I use the Windows compiler (fpc) it works.


Please submit a compilable sample which demonstrates the problem at  
http://www.freepascal.org/mantis (and mention it's for Arm/Linux)



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


[fpc-pascal] registers used for parameters passing on x86_64

2006-08-17 Thread Dominique Leducq

Hi,

How do I know which parameter is passed in which register on a x86_64 
linux platform ?


Thx,

Dominique.


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


[fpc-pascal] TCP Server

2006-08-17 Thread Fabrício F. Kammer

Hi all,

I need to developer an application to act as a tcp server that be 
compatible with windows/linux (debian).


I want to make a command line application (without graphical interface) 
because my linux server don't have the X installed.


I need of an example of how can I make this.

Does someone have an example of a tcp server to send me?

Regards,

Fabrício
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] TCP Server

2006-08-17 Thread Amir Aavani
Do you tried Indy component? I used them in both graphical and console 
application. It is straight forward.

If you need any sample I will be glad

Yours,
Amir

Fabrício F. Kammer wrote:

Hi all,

I need to developer an application to act as a tcp server that be 
compatible with windows/linux (debian).


I want to make a command line application (without graphical 
interface) because my linux server don't have the X installed.


I need of an example of how can I make this.

Does someone have an example of a tcp server to send me?

Regards,

Fabrício
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



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


Re: [fpc-pascal] TCP Server

2006-08-17 Thread Fabrício F. Kammer

Hi Amir,

I tried, but I couldn't install it on my freepascal/lazarus.
Can you help with this installation?

PS: I'm using windows xp

Regards

Fabrício

Amir Aavani escreveu:
Do you tried Indy component? I used them in both graphical and console 
application. It is straight forward.

If you need any sample I will be glad

Yours,
Amir

Fabrício F. Kammer wrote:

Hi all,

I need to developer an application to act as a tcp server that be 
compatible with windows/linux (debian).


I want to make a command line application (without graphical 
interface) because my linux server don't have the X installed.


I need of an example of how can I make this.

Does someone have an example of a tcp server to send me?

Regards,

Fabrício
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



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

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


Re: [fpc-pascal] TCP Server

2006-08-17 Thread Amir Aavani

I Installed on Linux(FC4/5).
I followed the instruction from 
http://wiki.lazarus.freepascal.org/index.php/Indy_with_Lazarus.

with some changes.

Try it!

Fabrício F. Kammer wrote:

Hi Amir,

I tried, but I couldn't install it on my freepascal/lazarus.
Can you help with this installation?

PS: I'm using windows xp

Regards

Fabrício

Amir Aavani escreveu:
Do you tried Indy component? I used them in both graphical and 
console application. It is straight forward.

If you need any sample I will be glad

Yours,
Amir

Fabrício F. Kammer wrote:

Hi all,

I need to developer an application to act as a tcp server that be 
compatible with windows/linux (debian).


I want to make a command line application (without graphical 
interface) because my linux server don't have the X installed.


I need of an example of how can I make this.

Does someone have an example of a tcp server to send me?

Regards,

Fabrício
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



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

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



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


Re: [fpc-pascal] TCP Server

2006-08-17 Thread Fabrício F. Kammer
Thanks Amir, I saw this, but I don't have the packets bellow on the Indy 
10 installation :(


*  Open and compile indysystemlaz.lpk
* Open and compile indycorelaz.lpk
* Open and compile indyprotocolslaz.lpk
* Open, compile and install dclindycorelaz.lpk
* Open, compile and install dclindyprotocolslaz.lpk

How do you do to install without the packets?

Amir Aavani escreveu:

I Installed on Linux(FC4/5).
I followed the instruction from 
http://wiki.lazarus.freepascal.org/index.php/Indy_with_Lazarus.

with some changes.

Try it!

Fabrício F. Kammer wrote:

Hi Amir,

I tried, but I couldn't install it on my freepascal/lazarus.
Can you help with this installation?

PS: I'm using windows xp

Regards

Fabrício

Amir Aavani escreveu:
Do you tried Indy component? I used them in both graphical and 
console application. It is straight forward.

If you need any sample I will be glad

Yours,
Amir

Fabrício F. Kammer wrote:

Hi all,

I need to developer an application to act as a tcp server that be 
compatible with windows/linux (debian).


I want to make a command line application (without graphical 
interface) because my linux server don't have the X installed.


I need of an example of how can I make this.

Does someone have an example of a tcp server to send me?

Regards,

Fabrício
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



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

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



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

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


[fpc-pascal] Installing Indy on Windows XP

2006-08-17 Thread Fabrício F. Kammer

Hi all,

Sorry by the noob doubt, but I can't install the Indy 10.2.0.1 in 
FreePascal/Lazarus on Windows XP.


Are someone here that can help me?

Regards,

Fabrício
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] TCP Server

2006-08-17 Thread Lukas Gebauer
> I need to developer an application to act as a tcp server that be
> compatible with windows/linux (debian).
> 
> I want to make a command line application (without graphical
> interface) because my linux server don't have the X installed.

Why not Synapse? You must not install Synapse into your Lazarus, 
because it is just set of units with set of classes and functions. 
Just include unit in 'uses'...

Sample for simple TCP server is included in demo. (it implementing 
simple echo)

Latest snapshot of Synapse needs FPC 2.0.4 and it using native 
Freepascals units for socket communication - you can use it on any 
linux/unix platform. (and, of course, on Windows platform too)



-- 
Lukas Gebauer.

E-mail: [EMAIL PROTECTED]
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.

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