Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

gcc 3.2 PIC

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> gcc 3.2 PIC Page: [1]
Login
Message << Older Topic   Newer Topic >>
gcc 3.2 PIC - Sep. 24, '02, 4:09:39 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
With gcc 3.2 I' ve noticed that there is a problem that sometimes happens when position independent code (PIC) is being made for shared libraries (" -fpic" ). The solution/work-around so far is the traditional " don' t do that then" . The problem seen is that the code wacks the stack and sets some registers to unexpected values. The problem doesn' t happen for all shared/PIC code. So " -fpic" may still work for some code and not others.
Post #: 1
RE: gcc 3.2 PIC - Sep. 25, '02, 10:57:26 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Just to be clear, you can still make shared libraries without using the " -fpic" option.

(in reply to Rodney)
Post #: 2
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> gcc 3.2 PIC Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.031