Already have an account? I am using a GCC compiler on a Linux machine to run my codes. Browse other questions tagged c gcc inline-assembly or ask your own question. Join them; it only takes a minute: Sign up Inline-Assembly : bad register name up vote 0 down vote favorite I get "Error: bad register name '%%ecx'" when compiling this #include
make: Entering directory `/home2/bertini/downloads/ATLAS-3.8.2/build-i486/bin' cd /home2/bertini/downloads/ATLAS-3.8.2/build-i486 ; make error_report make: Entering directory `/home2/bertini/downloads/ATLAS-3.8.2/build-i486' make -f Make.top error_report make: Entering directory `/home2/bertini/downloads/ATLAS-3.8.2/build-i486' uname -a 2>&1 >> bin/INSTALL_LOG/ERROR.LOG gcc -v 2>&1 >> bin/INSTALL_LOG/ERROR.LOG Also, any reason for the \n\t? Filter columns basing on the value of other column How exactly does the typical shell "fork bomb" calls itself twice? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed http://stackoverflow.com/questions/23953106/inline-assembly-bad-register-name
Is there any way to know when NOT to use my Oyster card? the right localrc for pgi5.1 in FC-64 should be Code: set LFC=-lg2c; set LDSO=/lib64/ld-linux-x86-64.so.2; set GCCDIR=/usr/lib/gcc/x86_64-redhat-linux/4.1.2; set GCCINC=/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include; #set G77DIR=; set THROW=__THROW=; you should edit the path according to you gcc How to handle a senior developer diva who seems unaware that his skills are obsolete? I understand that I can withdraw my consent at any time.
I"m bit new to this, so kill me gently please, all links will be much appreciated. Join them; it only takes a minute: Sign up X86 IA32 Assembly, Bad Register name up vote 1 down vote favorite I am quite new to assembly so forgive me if Search Forums Show Threads Show Posts Tag Search Advanced Search Unanswered Threads Find All Thanked Posts Go to Page... unix and linux commands - unix shell scripting gcc problem Why microcontroller takes many clock cycles to start up with PLL clock source?
Inline assembler syntax is compiler dependent. –Rad Lexus May 30 '14 at 11:08 @mat ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html#s4 –R. 久蔵 May 30 '14 at 11:09 @Jongware I'm using gcc on Unsubstantiated Does chilli get milder with cooking? cov(x,y)=0 but corr(x,y)=1 Chebyshev Rotation True or False? From: Amiri Barksdale Index Nav: [DateIndex] [SubjectIndex] [AuthorIndex] [ThreadIndex] Message Nav: [DatePrev][DateNext] [ThreadPrev][ThreadNext] Unix & Linux Forums > Top Forums > Programming Member Name Remember Me?
Here's the error (with context): [ALL ] make: Entering directory `/local/scratch/xtool.build/targets/i386-diagos.2.1-linux-gnu/build/build-cc-core-shared/gcc' [ALL ] gcc -c -pipe -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I/local/scratch/xtool.build/targets/src/gcc-4.2.4/gcc -I/local/scratch/xtool.build/targets/src/gcc-4.2.4/gcc/. -I/local/scratch/xtool.build/targets/src/gcc-4.2.4/gcc/../include Regarding the \n\t it's a no harm-but no help situation when you don't have multiple instructions. –mah May 30 '14 at 11:17 | show 4 more comments 1 Answer 1 active Clint Whaley Labels: Problems during install (406) Priority: 5 Updated: 2014-07-09 Created: 2008-07-29 Creator: Matteo Bertini Private: No gcc -fPIC -x assembler-with-cpp -DL2SIZE=4194304 -I/home2/bertini/downloads/ATLAS-3.8.2/build-i486/include -I/home2/bertini/downloads/ATLAS-3.8.2/build-i486/..//include -I/home2/bertini/downloads/ATLAS-3.8.2/build-i486/..//include/contrib -DATL_NoF77 -DATL_OS_Linux -DATL_ARCH_P4E -DATL_CPUMHZ=3191 -DATL_SSE3 What kind of distribution is this?
Why would a password requirement prohibit a number in the last character? How much interest should I pay on a loan from a friend? Forum Operations by The UNIX and Linux Forums Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox.
What might be problem? Why must the speed of light be the universal speed limit for all the fundamental forces of nature? Support Requests Automatically Tuned Linear Algebra Soft. RBP, RSI, RDI in C or C++?
Can you post what happens when you specify -b 64 to configure, since that seems to be the problem here (ATLAS has not added the required -m64 to gcc's flags)? Make all the statements true Developing web applications for long lifespan (20+ years) Is it illegal for regular US citizens to possess or read documents leaked by Wikileaks? Remove advertisements Sponsored Links hergp View Public Profile Visit hergp's homepage! All Rights Reserved.
From: Tim Prince
Show that a nonabelian group must have at least five distinct elements Why can't we use the toilet when the train isn't moving? What are oxidation states used for? What would be the atomic no. assembly share|improve this question asked Oct 18 '15 at 2:02 Yozuru 559 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote accepted %rxx registers are only