LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-22-2008, 07:17 PM   #1
biffle
LQ Newbie
 
Registered: Dec 2003
Location: Wenatchee, WA
Distribution: redhat
Posts: 8

Rep: Reputation: 0
Exclamation does gcc 4.x accept hardware register variables? Any restrictions?


gcc 4.2.1 and up do not correctly compile my programs with hardware register variables, both for 32-bit and 64-bit PCs. Is mthis feature no longer supported? It worked well under gcc 3.x.
 
Old 07-23-2008, 02:27 PM   #2
kundor
Member
 
Registered: Aug 2003
Distribution: GoboLinux
Posts: 167

Rep: Reputation: 30
They are still in the docs.

http://gcc.gnu.org/onlinedocs/gcc-4....-Reg-Vars.html
 
Old 07-25-2008, 04:07 PM   #3
biffle
LQ Newbie
 
Registered: Dec 2003
Location: Wenatchee, WA
Distribution: redhat
Posts: 8

Original Poster
Rep: Reputation: 0
- thank you so much. Will try - biffle
 
Old 07-25-2008, 04:12 PM   #4
biffle
LQ Newbie
 
Registered: Dec 2003
Location: Wenatchee, WA
Distribution: redhat
Posts: 8

Original Poster
Rep: Reputation: 0
- yes, I have that document. But global register variables still will not work (they report "register clobbered" when you try it with the 32-bit compilation.

With the 64-bit compilation (which can use new registers like r14) it works perfectly.

All this used FEDORA 8.

biffle
 
  


Reply

Tags
gcc


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hardware conflict - need to change value of sound card register Krelian Linux - Hardware 1 06-23-2006 12:17 AM
gcc does not accept pthread and i need it to pkghost Linux - General 12 03-15-2006 12:57 AM
Must set up Enviroment variables for GCC 3.4.3? colintri Linux - Software 5 03-13-2005 06:42 PM
gcc environment variables Itzac Linux - Software 1 03-25-2003 11:13 PM
gcc internal variables ChimpFace9000 Programming 1 04-27-2002 12:31 PM


All times are GMT -5. The time now is 04:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration