Re: [fpc-devel] Generics basic library

2008-01-17 Thread Felipe Monteiro de Carvalho
On Jan 17, 2008 9:01 PM, Peter Vreman <[EMAIL PROTECTED]> wrote: > See the fgl unit in current 2.2.1 or 2.3.1. Generics were not stable > enough in the past to have the unit already enabled in 2.2.0. Oh, thanks. In my search I had actually found this unit, but then I looked at the unit name and sa

Re: [fpc-devel] New -Xg option in the last 9778 revision

2008-01-17 Thread Michael Schnell
I think is really most important can use it ASAP. Right ! See the latest posts in the Borland Kylix Newsgroup (that indeed still exists :) ). -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/

Re: [fpc-devel] New -Xg option in the last 9778 revision

2008-01-17 Thread Paul Ishenin
Michael Van Canneyt wrote: My questions are: 1)...when this patch will be apply to the current 2.2.x version (I think currently it works only on the last 2.3.x version)? The patch is not even 24 hours old and needs to stabilize first. Maybe in a couple of months it will be considered for incl

Re: [fpc-devel] Generics basic library

2008-01-17 Thread Peter Vreman
At 20:56 17-1-2008, you wrote: Hi Felipe, I have never gotten onto the band wagon regarding Generics. I have only seen the word being tossed around on the mailing lists and newsgroups. Do you maybe have a nice link explaining Generics, what benefits it has over TList (TObjectList and friends) a

Re: [fpc-devel] Read RAW data from a section of an executable file

2008-01-17 Thread Peter Vreman
At 18:54 17-1-2008, you wrote: Hi to all, can someone tell me if exists some units ables to read RAW data from a specified section of an executable file (in all the supported executable file format)? What is available in FPC is already written in previous mails about the debuginfo. For the

Re: [fpc-devel] Generics basic library

2008-01-17 Thread Peter Vreman
At 20:40 17-1-2008, you wrote: Hello, I was coding and I suddently saw that need to use a typed list. I went with TFPList, but considering we already have compiler support I thougth that maybe we could have a basic library with useful classes using generics. I searched on fpc 2.2.0 sources a lot

Re: [fpc-devel] Build FPC 2.3.1 from SVN sources

2008-01-17 Thread Peter Vreman
BTW : current trunk fpc is no compilable due to error in fpini, missing crc32 function or file not added to uses clause. Fixed. Peter ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] Generics basic library

2008-01-17 Thread Graeme Geldenhuys
Hi Felipe, I have never gotten onto the band wagon regarding Generics. I have only seen the word being tossed around on the mailing lists and newsgroups. Do you maybe have a nice link explaining Generics, what benefits it has over TList (TObjectList and friends) and what I would use it for? I ga

[fpc-devel] Generics basic library

2008-01-17 Thread Felipe Monteiro de Carvalho
Hello, I was coding and I suddently saw that need to use a typed list. I went with TFPList, but considering we already have compiler support I thougth that maybe we could have a basic library with useful classes using generics. I searched on fpc 2.2.0 sources a lot, but I couldn't find anything.

Re: [fpc-devel] New -Xg option in the last 9778 revision

2008-01-17 Thread Michael Van Canneyt
On Thu, 17 Jan 2008, Fabio Dell'Aria wrote: > > > > Because 2.2.2 is a bugfix only release, no new features are allowed. > > > > Michael. > > I understand and agree with this position, add a new features in a > "bugfix only" release is dangerous! > > Any opinion about the 2.4 release date? No

Re: [fpc-devel] Build FPC 2.3.1 from SVN sources

2008-01-17 Thread Fabio Dell'Aria
Hi, 2008/1/17, Joao Morais <[EMAIL PROTECTED]>: > Vincent Snijders wrote: > > Fabio Dell'Aria schreef: > >> > >> Where I can find the "make" program (command) on Windows? > >> > >> On the FPC\bin I found only fpcmake.exe > >> > > > > IMO, the best way to get it, is to install the latest FPC releas

Re: [fpc-devel] Build FPC 2.3.1 from SVN sources

2008-01-17 Thread Bogusław Brandys
Fabio Dell'Aria wrote: Hi, 2008/1/17, Vincent Snijders <[EMAIL PROTECTED]>: Fabio Dell'Aria schreef: Where I can find the "make" program (command) on Windows? On the FPC\bin I found only fpcmake.exe IMO, the best way to get it, is to install the latest FPC release (which you have anyway for

Re: [fpc-devel] Build FPC 2.3.1 from SVN sources

2008-01-17 Thread Joao Morais
Vincent Snijders wrote: Fabio Dell'Aria schreef: Where I can find the "make" program (command) on Windows? On the FPC\bin I found only fpcmake.exe IMO, the best way to get it, is to install the latest FPC release (which you have anyway for the starting compiler as explained in the buildfaq

Re: [fpc-devel] Build FPC 2.3.1 from SVN sources

2008-01-17 Thread Fabio Dell'Aria
Hi, 2008/1/17, Vincent Snijders <[EMAIL PROTECTED]>: > Fabio Dell'Aria schreef: > > > > Where I can find the "make" program (command) on Windows? > > > > On the FPC\bin I found only fpcmake.exe > > > > IMO, the best way to get it, is to install the latest FPC release (which > you have anyway for t

Re: [fpc-devel] Build FPC 2.3.1 from SVN sources

2008-01-17 Thread Vincent Snijders
Fabio Dell'Aria schreef: Where I can find the "make" program (command) on Windows? On the FPC\bin I found only fpcmake.exe IMO, the best way to get it, is to install the latest FPC release (which you have anyway for the starting compiler as explained in the buildfaq) and get it from the co

[fpc-devel] Read RAW data from a section of an executable file

2008-01-17 Thread Fabio Dell'Aria
Hi to all, can someone tell me if exists some units ables to read RAW data from a specified section of an executable file (in all the supported executable file format)? -- Best regards... Fabio Dell'Aria. ___ fpc-devel maillist - fpc-devel@lists.fre

Re: [fpc-devel] Build FPC 2.3.1 from SVN sources

2008-01-17 Thread Fabio Dell'Aria
Hi, 2008/1/17, Vincent Snijders <[EMAIL PROTECTED]>: > Fabio Dell'Aria schreef: > > > > I'm very confused. > > I cannot build it! > > Many errors. > > > > Why do not add a simple .bat file able to do all the works? :( > > > > I can think of several reasons: > 1. .bat doesn't work on the majority

Re: [fpc-devel] Build FPC 2.3.1 from SVN sources

2008-01-17 Thread Vincent Snijders
Fabio Dell'Aria schreef: I'm very confused. I cannot build it! Many errors. Why do not add a simple .bat file able to do all the works? :( I can think of several reasons: 1. .bat doesn't work on the majority of OS-es 2. .bat only can work in a certain default configuration 3. in this defa

Re: [fpc-devel] Build FPC 2.3.1 from SVN sources

2008-01-17 Thread Fabio Dell'Aria
Hi, 2008/1/17, Vincent Snijders <[EMAIL PROTECTED]>: > Fabio Dell'Aria schreef: > > Hi to all, > > > > I have just checkout the FPC 2.3.1 trunk from the SVN. > > > > Now I need to know how I can build FPC from its sources. > > > > Can someone help me, please? > > > > Read the buildfaq: > http://ww

Re: [fpc-devel] Build FPC 2.3.1 from SVN sources

2008-01-17 Thread Fabio Dell'Aria
Hi, 2008/1/17, Vincent Snijders <[EMAIL PROTECTED]>: > Fabio Dell'Aria schreef: > > Hi to all, > > > > I have just checkout the FPC 2.3.1 trunk from the SVN. > > > > Now I need to know how I can build FPC from its sources. > > > > Can someone help me, please? > > > > Read the buildfaq: > http://ww

Re: [fpc-devel] Build FPC 2.3.1 from SVN sources

2008-01-17 Thread Vincent Snijders
Fabio Dell'Aria schreef: Hi to all, I have just checkout the FPC 2.3.1 trunk from the SVN. Now I need to know how I can build FPC from its sources. Can someone help me, please? Read the buildfaq: http://www.stack.nl/~marcov/buildfaq.pdf Vincent _

[fpc-devel] Build FPC 2.3.1 from SVN sources

2008-01-17 Thread Fabio Dell'Aria
Hi to all, I have just checkout the FPC 2.3.1 trunk from the SVN. Now I need to know how I can build FPC from its sources. Can someone help me, please? -- Best regards... Fabio Dell'Aria. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org htt

Re: [fpc-devel] New -Xg option in the last 9778 revision

2008-01-17 Thread Fabio Dell'Aria
Hi, 2008/1/17, Michael Van Canneyt <[EMAIL PROTECTED]>: > > > On Thu, 17 Jan 2008, Fabio Dell'Aria wrote: > > > Hi, > > > > 2008/1/17, Michael Van Canneyt <[EMAIL PROTECTED]>: > > > > > > > > > On Thu, 17 Jan 2008, Fabio Dell'Aria wrote: > > > > > > > Hi, > > > > > > > > 2008/1/17, Peter Vreman <[

Re: [fpc-devel] New -Xg option in the last 9778 revision

2008-01-17 Thread Michael Van Canneyt
On Thu, 17 Jan 2008, Fabio Dell'Aria wrote: > Hi, > > 2008/1/17, Michael Van Canneyt <[EMAIL PROTECTED]>: > > > > > > On Thu, 17 Jan 2008, Fabio Dell'Aria wrote: > > > > > Hi, > > > > > > 2008/1/17, Peter Vreman <[EMAIL PROTECTED]>: > > > > > Hi to all, > > > > > > > > > > I have some questions

Re: [fpc-devel] New -Xg option in the last 9778 revision

2008-01-17 Thread Fabio Dell'Aria
Hi, 2008/1/17, Michael Van Canneyt <[EMAIL PROTECTED]>: > > > On Thu, 17 Jan 2008, Fabio Dell'Aria wrote: > > > Hi, > > > > 2008/1/17, Peter Vreman <[EMAIL PROTECTED]>: > > > > Hi to all, > > > > > > > > I have some questions about the last 9778 revision (related to the new > > > > -Xg option). >

Re: [fpc-devel] New -Xg option in the last 9778 revision

2008-01-17 Thread Michael Van Canneyt
On Thu, 17 Jan 2008, Fabio Dell'Aria wrote: > Hi, > > 2008/1/17, Peter Vreman <[EMAIL PROTECTED]>: > > > Hi to all, > > > > > > I have some questions about the last 9778 revision (related to the new > > > -Xg option). > > > > > > The help tell: "-Xg now produces a .dbg file with debuginfo that

Re: [fpc-devel] New -Xg option in the last 9778 revision

2008-01-17 Thread Fabio Dell'Aria
Hi, 2008/1/17, Peter Vreman <[EMAIL PROTECTED]>: > > Hi to all, > > > > I have some questions about the last 9778 revision (related to the new > > -Xg option). > > > > The help tell: "-Xg now produces a .dbg file with debuginfo that can > > be used by gdb." > > > > My questions are: > > > > 1)...w

Re: [fpc-devel] New -Xg option in the last 9778 revision

2008-01-17 Thread Peter Vreman
> Hi to all, > > I have some questions about the last 9778 revision (related to the new > -Xg option). > > The help tell: "-Xg now produces a .dbg file with debuginfo that can > be used by gdb." > > My questions are: > > 1)...when this patch will be apply to the current 2.2.x version (I > think cur

[fpc-devel] New -Xg option in the last 9778 revision

2008-01-17 Thread Fabio Dell'Aria
Hi to all, I have some questions about the last 9778 revision (related to the new -Xg option). The help tell: "-Xg now produces a .dbg file with debuginfo that can be used by gdb." My questions are: 1)...when this patch will be apply to the current 2.2.x version (I think currently it works only

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Tomas Hajny
On Thu, January 17, 2008 10:59, Peter Vreman wrote: I think it should by default look for program.dbg file , and then if not exists for paramstr(0). Is that enough ? If so,please explain how to check if file exists , which function could be used here. >>> >>> No, as Peter descri

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Fabio Dell'Aria
Hi, 2008/1/17, Peter Vreman <[EMAIL PROTECTED]>: > >>> I think it should by default look for program.dbg file , and then if not > >>> exists for paramstr(0). Is that enough ? If so,please explain how to > >>> check if file exists , which function could be used here. > >> > >> No, as Peter describe

Re: [fpc-devel] A Compiled file size solution from the GBD mailing-list

2008-01-17 Thread Vincent Snijders
Bogusław Brandys schreef: Free Pascal Compiler version 2.3.1-r9226 [2008/01/17] for i386 Oops..what I did wrong ? Look below D:\>fpc -Xg -g p.pas Free Pascal Compiler version 2.3.1 [2008/01/10] for i386 Maybe a little old? Vincent ___ fpc-deve

Re: [fpc-devel] A Compiled file size solution from the GBD mailing-list

2008-01-17 Thread Bogusław Brandys
Peter Vreman wrote: Support for a separate .dbg file is now available for windows in current svn trunk with the -Xg option. No need anymore for "objcopy --only-keep-debug && objcopy --add-debug-link && strip" under windows. The external linker (e.g. linux) still be updated to support objcopy and

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Peter Vreman
>>> I think it should by default look for program.dbg file , and then if not >>> exists for paramstr(0). Is that enough ? If so,please explain how to >>> check if file exists , which function could be used here. >> >> No, as Peter described, you should look in the executable for a link to >> the fi

Re: [fpc-devel] A Compiled file size solution from the GBD mailing-list

2008-01-17 Thread Peter Vreman
>> Support for a separate .dbg file is now available for windows in >> current svn trunk with the -Xg option. No need anymore for "objcopy >> --only-keep-debug && objcopy --add-debug-link && strip" under >> windows. The external linker (e.g. linux) still be updated to support >> objcopy and strip w

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Bogusław Brandys
Vincent Snijders wrote: Bogusław Brandys schreef: I think it should by default look for program.dbg file , and then if not exists for paramstr(0). Is that enough ? If so,please explain how to check if file exists , which function could be used here. No, as Peter described, you should look i

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Tomas Hajny
On Thu, January 17, 2008 10:45, Vincent Snijders wrote: > Bogusław Brandys schreef: >> >> I think it should by default look for program.dbg file , and then if not >> exists for paramstr(0). Is that enough ? If so,please explain how to >> check if file exists , which function could be used here. >

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Vincent Snijders
Bogusław Brandys schreef: I think it should by default look for program.dbg file , and then if not exists for paramstr(0). Is that enough ? If so,please explain how to check if file exists , which function could be used here. No, as Peter described, you should look in the executable for a li

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Bogusław Brandys
Fabio Dell'Aria wrote: Hi, 2008/1/17, Michael Van Canneyt <[EMAIL PROTECTED]>: On Thu, 17 Jan 2008, Fabio Dell'Aria wrote: Hi to all, I'm writing a patch to can use an external .dbg file during the debugging process. All works fine but when an unhandled exception is raised the RTL show sta

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Fabio Dell'Aria
Hi, 2008/1/17, Michael Van Canneyt <[EMAIL PROTECTED]>: > > > On Thu, 17 Jan 2008, Fabio Dell'Aria wrote: > > > Hi to all, > > > > I'm writing a patch to can use an external .dbg file during the > > debugging process. > > > > All works fine but when an unhandled exception is raised the RTL show >

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Michael Van Canneyt
On Thu, 17 Jan 2008, Fabio Dell'Aria wrote: > Hi to all, > > I'm writing a patch to can use an external .dbg file during the > debugging process. > > All works fine but when an unhandled exception is raised the RTL show > stacktrace without debug info (no sources line). > > How I can instruct

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Fabio Dell'Aria
Hi, 2008/1/17, Vincent Snijders <[EMAIL PROTECTED]>: > Fabio Dell'Aria schreef: > > Hi to all, > > > > I'm writing a patch to can use an external .dbg file during the > > debugging process. > > > > All works fine but when an unhandled exception is raised the RTL show > > stacktrace without debug i

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Peter Vreman
> Fabio Dell'Aria schreef: >> Hi to all, >> >> I'm writing a patch to can use an external .dbg file during the >> debugging process. >> >> All works fine but when an unhandled exception is raised the RTL show >> stacktrace without debug info (no sources line). >> >> How I can instruct the RTL to se

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Vincent Snijders
Fabio Dell'Aria schreef: Hi to all, I'm writing a patch to can use an external .dbg file during the debugging process. All works fine but when an unhandled exception is raised the RTL show stacktrace without debug info (no sources line). How I can instruct the RTL to search the debug symbols i

[fpc-devel] RTL StackTrace patch

2008-01-17 Thread Fabio Dell'Aria
Hi to all, I'm writing a patch to can use an external .dbg file during the debugging process. All works fine but when an unhandled exception is raised the RTL show stacktrace without debug info (no sources line). How I can instruct the RTL to search the debug symbols in a project.dbg file (if no