[fpc-pascal] FPC make all: as.exe not found unless in path

2012-02-02 Thread Reinier Olislagers
Hi all, Tinkering with my bootstrap SVN updater/installer. Directory layout: c:\development\binutils: as.exe, make.exe etc Got these from http://svn.freepascal.org/svn/fpcbuild/tags/release_2_6_0/install/binw32/ c:\development\fpcbootstrap\ppc386.exe from

[fpc-pascal] Re: FPC make all: as.exe not found unless in path

2012-02-02 Thread Reinier Olislagers
Wooops... see inline On 2-2-2012 13:54, Reinier Olislagers wrote: Hi all, Tinkering with my bootstrap SVN updater/installer. Directory layout: c:\development\binutils: as.exe, make.exe etc Got these from http://svn.freepascal.org/svn/fpcbuild/tags/release_2_6_0/install/binw32/

Re: [fpc-pascal] FPC make all: as.exe not found unless in path

2012-02-02 Thread Henry Vermaak
On 02/02/12 12:54, Reinier Olislagers wrote: 3. Is there some option I can pass to make to let it find the right binutils? You can pass CROSSBINDIR=/path/to/binutils. Henry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] FPC make all: as.exe not found unless in path

2012-02-02 Thread Henry Vermaak
On 02/02/12 13:02, Henry Vermaak wrote: On 02/02/12 12:54, Reinier Olislagers wrote: 3. Is there some option I can pass to make to let it find the right binutils? You can pass CROSSBINDIR=/path/to/binutils. P.S. I realise you're not cross compiling, but setting CROSSBINDIR should still

Re: [fpc-pascal] FPC make all: as.exe not found unless in path

2012-02-02 Thread Marcos Douglas
On Thu, Feb 2, 2012 at 9:54 AM, Reinier Olislagers reinierolislag...@gmail.com wrote: Hi all, Tinkering with my bootstrap SVN updater/installer. Directory layout: c:\development\binutils: as.exe, make.exe etc Got these from

[fpc-pascal] Re: FPC make all: as.exe not found unless in path

2012-02-02 Thread Reinier Olislagers
On 2-2-2012 14:08, Marcos Douglas wrote: On Thu, Feb 2, 2012 at 9:54 AM, Reinier Olislagers reinierolislagers-re5jqeeqqe8avxtiumw...@public.gmane.org wrote: When I add c:\development\binutils to the path, it does seem to work. How can I solve this, e.g.: 1. Would moving ppc386.exe to the

Re: [fpc-pascal] FPC make all: as.exe not found unless in path

2012-02-02 Thread Reinier Olislagers
On 2-2-2012 14:07, Henry Vermaak wrote: On 02/02/12 13:02, Henry Vermaak wrote: On 02/02/12 12:54, Reinier Olislagers wrote: 3. Is there some option I can pass to make to let it find the right binutils? You can pass CROSSBINDIR=/path/to/binutils. P.S. I realise you're not cross

Re: [fpc-pascal] Re: FPC make all: as.exe not found unless in path

2012-02-02 Thread Marcos Douglas
On Thu, Feb 2, 2012 at 10:13 AM, Reinier Olislagers reinierolislag...@gmail.com wrote: On 2-2-2012 14:08, Marcos Douglas wrote: On Thu, Feb 2, 2012 at 9:54 AM, Reinier Olislagers reinierolislagers-re5jqeeqqe8avxtiumw...@public.gmane.org wrote: When I add c:\development\binutils to the path, it

Re: [fpc-pascal] FPC make all: as.exe not found unless in path

2012-02-02 Thread Henry Vermaak
On 02/02/12 13:37, Reinier Olislagers wrote: However, when doing the same with make install: C:\development\binutils\make.exe FPC=c:\development\fpcbootstrap\ppc386.exe CROSSBINDIR=C:\development\binutils --directory=c:\development\fpc UPXPROG=echo COPYTREE=echo install I get

Re: [fpc-pascal] Re: FPC make all: as.exe not found unless in path

2012-02-02 Thread Tomas Hajny
On Thu, February 2, 2012 13:58, Reinier Olislagers wrote: Wooops... see inline On 2-2-2012 13:54, Reinier Olislagers wrote: Hi all, Tinkering with my bootstrap SVN updater/installer. Directory layout: c:\development\binutils: as.exe, make.exe etc Got these from

Re: [fpc-pascal] FPC make all: as.exe not found unless in path

2012-02-02 Thread Reinier Olislagers
On 2-2-2012 14:48, Henry Vermaak wrote: On 02/02/12 13:37, Reinier Olislagers wrote: However, when doing the same with make install: C:\development\binutils\make.exe FPC=c:\development\fpcbootstrap\ppc386.exe CROSSBINDIR=C:\development\binutils --directory=c:\development\fpc UPXPROG=echo

Re: [fpc-pascal] TStringStream.DataString returns garbage?

2012-02-02 Thread Jorge Aldo G. de F. Junior
I would vote for a new function on all stream types to allow writing strings in the expected way. Everybody hits that problem once. 2012/2/1 Lars nore...@z505.com: Graeme Geldenhuys wrote: On 2 February 2012 00:14, Michael Van Canneyt  wrote: Ehm.. this should be S[1], now you're writing the

[fpc-pascal] Synapse: SSH client+cryptlib+private key

2012-02-02 Thread Reinier Olislagers
Hi all, I've been fiddling with connecting to an SSH server. Thanks to Ludo Brands' help I can use username/password with Synapse (stable)+cryptlib. I'm fiddling and trying to get private key authentication to work. While this compiles and runs, Ethereal shows SSH traffic just stops.. (on a

Re: [fpc-pascal] TStringStream.DataString returns garbage?

2012-02-02 Thread Giuliano Colla
Lars ha scritto: It's actually a common mistake. Also @s vs s, and @s[1], it can be confusing. It's one thing I don't like about unsafe languages, pointers, and such stuff. It's as if we are programming in advanced C, or C++. Common, pointer mistakes? this is C? Really? Can't we make it safer?

Re: [fpc-pascal] replace one field of a record in a collection...

2012-02-02 Thread waldo kitty
On 2/1/2012 17:13, Sven Barth wrote: Are you storing pointers to records in your collection? If so then just replace the field's value. The change will then be immediately visible for every other code part that holds a reference to this record. thanks for your reply, sven... you've been a big

Re: [fpc-pascal] TStringStream.DataString returns garbage?

2012-02-02 Thread Lars
Jorge Aldo G. de F. Junior wrote: I would vote for a new function on all stream types to allow writing strings in the expected way. Everybody hits that problem once. I think there is a class.WriteString function instead of class.Write() Similar to a DEPRECATED; directive, there could be an

[fpc-pascal] How to enable -XX via code?

2012-02-02 Thread silvioprog
Hello, How to enable -XX (Link Smart) via directive? Thanks, -- Silvio Clécio Site - silvioprog.com.br LazSolutions - code.google.com/p/lazsolutions ___ fpc-pascal maillist -

Re: [fpc-pascal] How to enable -XX via code?

2012-02-02 Thread Jonas Maebe
On 02 Feb 2012, at 23:18, silvioprog wrote: How to enable -XX (Link Smart) via directive? You can't. That switch is a property of the entire linking process, not of a single source file or unit. Jonas___ fpc-pascal maillist -

Re: [fpc-pascal] How to enable -XX via code?

2012-02-02 Thread silvioprog
2012/2/2 Jonas Maebe jonas.ma...@elis.ugent.be: On 02 Feb 2012, at 23:18, silvioprog wrote: How to enable -XX (Link Smart) via directive? You can't. That switch is a property of the entire linking process, not of a single source file or unit. Thank you Jonas! :) -- Silvio Clécio

[fpc-pascal] make rpm

2012-02-02 Thread Mattias Gaertner
Hi, When doing make rpm NOGDB=1 NODOCS=1 in fpcbuild/trunk I get a lot of unpackaged files under OpenSuse 12.1. In other words: it fails to build. Are there some docs about it? Mattias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org