[fpc-pascal] PIC returns in 2.4?

2007-11-18 Thread urbansound
Hi, Currently the FAQ shows Position Independent Code generation is currently broken in the creation of shared libraries, (Future Plans shows 2.4 working to recover it). I tried to search the web site but the search system gives an error right now. Please, what version did PIC last work in

Re: [fpc-pascal] PIC returns in 2.4?

2007-11-18 Thread Jonas Maebe
On 18 Nov 2007, at 11:10, Florian Klaempfl wrote: Please, what version did PIC last work in for Linux PIC works in 2.2.0. Afaik it doesn't. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] PIC returns in 2.4?

2007-11-18 Thread Florian Klaempfl
Jonas Maebe schrieb: On 18 Nov 2007, at 11:10, Florian Klaempfl wrote: Please, what version did PIC last work in for Linux PIC works in 2.2.0. Afaik it doesn't. Are there any bug reports? x86-64 is afaik even build with pic. ___ fpc-pascal

Re: [fpc-pascal] PIC returns in 2.4?

2007-11-18 Thread Jonas Maebe
On 18 Nov 2007, at 11:29, Florian Klaempfl wrote: Jonas Maebe schrieb: On 18 Nov 2007, at 11:10, Florian Klaempfl wrote: Please, what version did PIC last work in for Linux PIC works in 2.2.0. Afaik it doesn't. Are there any bug reports? x86-64 is afaik even build with pic. x86_64

Re: [fpc-pascal] Converting StrLCopy to widestrings

2007-11-18 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: On Nov 17, 2007 1:25 PM, Marc Weustink [EMAIL PROTECTED] wrote: First question, why is the copying needed ? Why isn'tlpStrFile := PWChar(FileNameWide); simply enough ? IMO, you're copying way to much. That variable is only valid on the scope of the

Re: Re: [fpc-pascal] Linux : Using SDL with GTK2 ?

2007-11-18 Thread T.Guilleminot
Thanks a LOT Andrew ! Your example is very nice ! Tom ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] PIC returns in 2.4?

2007-11-18 Thread afpTeam
[EMAIL PROTECTED] schrieb: Hi, Currently the FAQ shows Position Independent Code generation is currently broken in the creation of shared libraries, (Future Plans shows 2.4 working to recover it). I tried to search the web site but the search system gives an error right now. Please, what

Re: [fpc-pascal] Converting StrLCopy to widestrings

2007-11-18 Thread Felipe Monteiro de Carvalho
On Nov 18, 2007 2:11 PM, Marc Weustink [EMAIL PROTECTED] wrote: I need to review the code in that area, imo it is not needed. I couldn't make it work without allocating. There is no permanent storage for the data available. anyway when is the allocateed memory freed ? I noticed that it's

Re: [fpc-pascal] PIC returns in 2.4?

2007-11-18 Thread Felipe Monteiro de Carvalho
On Nov 18, 2007 11:10 AM, Florian Klaempfl [EMAIL PROTECTED] wrote: and Windows? Windows needs no PIC. Isn't PIC the same as relocatable code? Which would be activated by -WR as described on the item 3 here: http://wiki.lazarus.freepascal.org/FPC_and_Apache_Modules#Possible_problems I

Re: [fpc-pascal] PIC returns in 2.4?

2007-11-18 Thread Florian Klaempfl
Felipe Monteiro de Carvalho schrieb: On Nov 18, 2007 11:10 AM, Florian Klaempfl [EMAIL PROTECTED] wrote: and Windows? Windows needs no PIC. Isn't PIC the same as relocatable code? No. PIC allows only to map the same physical mem page with program code at different virtual memory locations.