LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-27-2010, 02:17 PM   #1
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
Cool GAS trick


Run with
Code:
as -msyntax=att -mnaked-reg
So you do not need the % before the registers on at&t syntax.
 
Old 04-27-2010, 03:02 PM   #2
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Sounds cool, I guess I'll have to try that later.
 
Old 04-27-2010, 03:06 PM   #3
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by MTK358 View Post
Sounds cool, I guess I'll have to try that later.
Ah, of course, it's so far - at line #87:

Code:
as --help | less
...
     87   -msyntax=[att|intel]    use AT&T/Intel syntax
     88   -mindex-reg             support pseudo index registers
     89   -mnaked-reg             don't require `%' prefix for registers
     90   -mold-gcc               support old (<= 2.8.1) versions of gcc
     91
     92 Report bugs to <http://bugs.opensuse.org/>
 
0 members found this post helpful.
Old 04-27-2010, 03:14 PM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
So you want to turn this into Yet Another thread for bashing me for not reading documentation?

I was not really inclined to find that option in the first place. It's not that important and I didn't think such a thing existed so I just didn't bother to look.
 
Old 04-27-2010, 06:37 PM   #5
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,618

Rep: Reputation: 2940Reputation: 2940Reputation: 2940Reputation: 2940Reputation: 2940Reputation: 2940Reputation: 2940Reputation: 2940Reputation: 2940Reputation: 2940Reputation: 2940
Self obsess much ... LOL ..JK
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
vim :gui trick and undo-trick dazdaz Linux - Software 3 09-10-2007 02:45 PM
Cool Trick - Run all 5 cds from HD (9.2 Pro) apachedude SUSE / openSUSE 14 01-07-2005 12:00 AM
Really Cool BlackBox Trick! mooreted Linux - Software 16 04-07-2004 09:17 AM
Cool screen blank trick Darin Slackware 2 01-20-2003 08:07 AM
A very cool trick for KDE MasterC Linux - General 22 09-20-2002 11:26 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:13 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration