This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Executable file



I want to  know how to cpmpile the specified executable format with GCC. I use GCC on the Windows platform.But I want to compile the ELF format file.
In addition,why did the following information appear when compiling the ".c" file on Linux.But I can compile normally with MinGW-gcc.


 error: inconsistent operand constraints in an ‘asm’
  __asm__ __volatile__("mov %1,%%dx\n\t"


gcc version : gcc 6.3.0


Please excuse my poor English.
| |
lindorx
|
|
lindorx@163.com
|
签名由网易邮箱大师定制

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]