Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2007-11

PIC returns in 2.4?

8 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

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 for Linux and Windows? Does availability of testing PIC look far off or near future?

Thanks always,
Mike

Reply by email

Florian Klaempfl
to Unknown author
Show quoted text 8 lines
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 for Linux

PIC works in 2.2.0.

and Windows?

Windows needs no PIC.

Show quoted text 8 lines
Does availability of testing PIC look far off or near future? Thanks always, Mike _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Florian Klaempfl
to Jonas Maebe
Show quoted text 8 lines
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.

Reply by email

Jonas Maebe
to Florian Klaempfl
Florian Klaempfl wrote 11 lines
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 may work, but last time I tried cycle didn't even work on linux/ i386.

Jonas

Reply by email

afpTeam
to Florian Klaempfl: PIC works in 2.2.0. Windows needs no PIC.
Show quoted text 17 lines
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 version did PIC last work in for Linux PIC works in 2.2.0. > and Windows? Windows needs no PIC. > Does availability of testing PIC look far off or near future?

Ditto Windows PIC, but for cross platform API integrations, dlls/.so/ELF and (as in wrestling Win/x86 against *Nix /AMD-64). I was chasing some *Nix threading issues in 2.02, when I noted PIC stated in the FAQ, unsure how wide the scope of effect might be. I'm ending up evolving into this from growing success I've had using FPC in simpler related integrations and basically trying to find an escape from sockets as a bridge in some of my current work. I don't really want to fall back on rev levels if waiting on 2.4 might clean up things.

So if PIC in 2.2 is also in question, (not at all trying to rush anyone), does it look like 2.4 will address this any time soon or it's just too soon to know?

> Thanks always, > Mike

Reply by email

Florian Klaempfl
to Felipe Monteiro de Carvalho
Show quoted text 5 lines
On Nov 18, 2007 11:10 AM, Florian Klaempfl 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.

Show quoted text 8 lines
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 didn't test multiple apache modules with newer fpc versions, but that could be a problem.

Reply by email