[fpc-pascal] ROPS and latest FPC compiler (svn)
Hi all, I'm running into strang ROPS behaviour when using the latest compiler in svn. Is there a compiler switch required for it to work ok? Using revision 3823 I have no problems. The parameters in the script when passed to actual FPC code is not working well.. this was an old bug... parameter order or I don't know what... Anyone has any clue for me? -- Alexandre Leclerc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] ROPS and latest FPC compiler (svn)
At 21:08 31-10-2006, you wrote: Hi all, I'm running into strang ROPS behaviour when using the latest compiler in svn. Is there a compiler switch required for it to work ok? Using revision 3823 I have no problems. The parameters in the script when passed to actual FPC code is not working well.. this was an old bug... parameter order or I don't know what... Anyone has any clue for me? That are 1300+ revisions. Try doing a binary search. That will take 11 tests. Peter ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] ROPS and latest FPC compiler (svn)
2006/10/31, Peter Vreman <[EMAIL PROTECTED]>: At 21:08 31-10-2006, you wrote: >Hi all, > >I'm running into strang ROPS behaviour when using the latest compiler >in svn. Is there a compiler switch required for it to work ok? Using >revision 3823 I have no problems. > >The parameters in the script when passed to actual FPC code is not >working well.. this was an old bug... parameter order or I don't know >what... > >Anyone has any clue for me? That are 1300+ revisions. Try doing a binary search. That will take 11 tests. How do a do such a thing? -- Alexandre Leclerc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] ROPS and latest FPC compiler (svn)
Alexandre Leclerc schrieb: 2006/10/31, Peter Vreman <[EMAIL PROTECTED]>: At 21:08 31-10-2006, you wrote: >Hi all, > >I'm running into strang ROPS behaviour when using the latest compiler >in svn. Is there a compiler switch required for it to work ok? Using >revision 3823 I have no problems. > >The parameters in the script when passed to actual FPC code is not >working well.. this was an old bug... parameter order or I don't know >what... > >Anyone has any clue for me? That are 1300+ revisions. Try doing a binary search. That will take 11 tests. How do a do such a thing? Update to rev. 3823+650 e.g. something like 4500 (svn up -r 4500). Try with this one, if it fails try with the rev. in the middle of 3823 and 4500. If it works with 4500, try the rev. in the middle of 4500 and HEAD. And so on ... with 11 of such tests you find the revision causing you trouble. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] ROPS and latest FPC compiler (svn)
Alexandre Leclerc wrote: >> That are 1300+ revisions. Try doing a binary search. That will take 11 >> tests. > > How do a do such a thing? You know binary search right ? Use svn diff -r X, with X varying between working and newest revision, until you found X-1 working, X not. Micha ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] ROPS and latest FPC compiler (svn)
At 21:59 31-10-2006, you wrote: 2006/10/31, Peter Vreman <[EMAIL PROTECTED]>: At 21:08 31-10-2006, you wrote: >Hi all, > >I'm running into strang ROPS behaviour when using the latest compiler >in svn. Is there a compiler switch required for it to work ok? Using >revision 3823 I have no problems. > >The parameters in the script when passed to actual FPC code is not >working well.. this was an old bug... parameter order or I don't know >what... > >Anyone has any clue for me? That are 1300+ revisions. Try doing a binary search. That will take 11 tests. How do a do such a thing? Use the binrary search algorithm to find the the revision that break it. Everytime update svn with "svn up -r " to update to the revision to test. Peter ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] ROPS and latest FPC compiler (svn)
--- Alexandre Leclerc <[EMAIL PROTECTED]> escribió: > Hi all, > > I'm running into strang ROPS behaviour when using the latest > compiler > in svn. Is there a compiler switch required for it to work ok? > Using > revision 3823 I have no problems. > > The parameters in the script when passed to actual FPC code is not > working well.. this was an old bug... parameter order or I don't > know > what... > > Anyone has any clue for me? > > -- > Alexandre Leclerc > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > Have you tried ROPS svn revision 19? Jesus Reyes A. ___ Do You Yahoo!? La mejor conexión a Internet y 2GB extra a tu correo por $100 al mes. http://net.yahoo.com.mx ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] ROPS and latest FPC compiler (svn)
2006/10/31, Peter Vreman <[EMAIL PROTECTED]>: At 21:59 31-10-2006, you wrote: >2006/10/31, Peter Vreman <[EMAIL PROTECTED]>: >>At 21:08 31-10-2006, you wrote: >> >Hi all, >> > >> >I'm running into strang ROPS behaviour when using the latest compiler >> >in svn. Is there a compiler switch required for it to work ok? Using >> >revision 3823 I have no problems. >> > >> >The parameters in the script when passed to actual FPC code is not >> >working well.. this was an old bug... parameter order or I don't know >> >what... >> > >> >Anyone has any clue for me? >> >>That are 1300+ revisions. Try doing a binary search. That will take 11 tests. > >How do a do such a thing? Use the binrary search algorithm to find the the revision that break it. Everytime update svn with "svn up -r " to update to the revision to test. Ok, ok, I know what you guys mean now... Yeah, this is the 'QuickSort' algo (how I use to call it) and I'm using this technique too. I did not know what was 'binary search'. :) Best regards. -- Alexandre Leclerc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] ROPS and latest FPC compiler (svn)
2006/10/31, Jesus Reyes <[EMAIL PROTECTED]>: --- Alexandre Leclerc <[EMAIL PROTECTED]> escribió: > Hi all, > > I'm running into strang ROPS behaviour when using the latest > compiler > in svn. Is there a compiler switch required for it to work ok? > Using > revision 3823 I have no problems. > > The parameters in the script when passed to actual FPC code is not > working well.. this was an old bug... parameter order or I don't > know > what... > > Anyone has any clue for me? > > -- > Alexandre Leclerc > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > Have you tried ROPS svn revision 19? Yes and it solved my 'Self' problem (as you can read on rops forum). But when I compile with latest compiler my script is not behaving completely right... Just with a different compiler version. :( The passing function prarameters are not good... this was an issue couple months ago that Carlo fixed. But now it comes back. Maybe this was a fix on a FPC bug? or an FPC bug has been introduced... The issue are the parameters when calling a Delphi function from the script. -- Alexandre Leclerc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Linux Install: Is it me or the documentation? ;-)
On Mon, 2006-10-30 at 09:10 +0100, Michael Van Canneyt wrote: > > On Mon, 30 Oct 2006, Lev Lafayette wrote: > > > On Sat, 2006-10-28 at 15:58 +0200, Michael Van Canneyt wrote: > > > > > > On Sat, 28 Oct 2006, Lev Lafayette wrote: > > > > > > > > > > > First let me say how pleased I am to discover FreePascal. 'Twas my > > > > favourite programming language way back around 1988-89, being the last > > > > time I put my serious programming goggles on. > > > > > > > > So I'm trying to set this leopard up on Ubuntu (the Badger variety) and > > > > am following the user manual. > > > > > > > > Downloaded the .tar file; extracted to a temporary directory. (p11) > > > > > > > > Ran the install script as root (or rather, equivalent thereof) > > > > sudo ./install.sh and accepted all defaults (p12) > > > > > > > > Ran the test 'fpc hello' (p14). It fails. Run it will full directory > > > > listing, even tho' config has been written to /etc. Still fails. > > > > > > Ehm. What is the error you get ? > > > > > > [EMAIL PROTECTED]:/usr/local/lib/fpc/2.0.4/units$ fpc hello > > Free Pascal Compiler version 2.0.4 [2006/08/20] for i386 > > Copyright (c) 1993-2006 by Florian Klaempfl > > Target OS: Linux for i386 > > Compiling hello.pp > > hello.pp(6,3) Error: Can't create object file: hello.o > > hello.pp(6,3) Fatal: Can't create object hello.o > > hello.pp(6,3) Fatal: Compilation aborted > > Error: /usr/local/bin/ppc386 returned an error exitcode (normal if you > > did not specify a source file to be compiled) > > This is normal, you don't have write permission in > usr/local/lib/fpc/2.0.4/units, > it's owned by root. > Well that was as expected... I'd be strange if it *did* work ;-) > > > > Ran it as sudo as well > > > > [EMAIL PROTECTED]:/usr/local/lib/fpc/2.0.4/units$ sudo fpc hello > > Password: > > Free Pascal Compiler version 2.0.4 [2006/08/20] for i386 > > Copyright (c) 1993-2006 by Florian Klaempfl > > Target OS: Linux for i386 > > Compiling hello.pp > > Linking hello > > hello.pp(6,3) Error: Util ld not found, switching to external linking > > Error: /usr/local/bin/ppc386 returned an error exitcode (normal if you > > did not specify a source file to be compiled) > > This means you don't have the gnu binutils (as, ld) installed. > Just install them using the Ubuntu package manager, and all > should be well. The package should be called binutils. Ahh, cheers. That worked (current installation now on OpenSuSe 10.1 - Ubuntu upgrade went haywire). One other query... During installation there was reference to a TextmodeIDE. I take it this is supposed to be like the MS-Windows IDE and like the TurboPascal critter from all those years ago, verdade? If this is so, where does it live in the filesystem? Not that coding in vi(m)/emacs/pico etc is a problem as such... All the best, Lev ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal