作者nosrep (ㄎ)
看板Programming
标题[问题] C语言里的ASM片段求助
时间Sun Apr 19 13:19:35 2009
asm("mcr p15, 0, %0, c7, c6, 1"::"r"(addr));
编译的时候会错误...
error: syntax error before ':' token
要如何改正确呢?.. :: 的语法是? 我是用 corss-compiler-gcc
有特别定义以下 options
-D_POSIX_C_SOURCE=199506L -D_BSD_SOURCE -D_SVID_SOURCE -std=c99
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.128.189.250
1F:推 bigbite:configure的时候os设错了吧?140.114.202.161 04/19 22:34