* Executable file
@ 2019-12-16 11:49 lindorx
2019-12-20 10:42 ` Jonathan Wakely
0 siblings, 1 reply; 2+ messages in thread
From: lindorx @ 2019-12-16 11:49 UTC (permalink / raw)
To: gcc
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
|
签名由网易邮箱大师定制
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Executable file
2019-12-16 11:49 Executable file lindorx
@ 2019-12-20 10:42 ` Jonathan Wakely
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2019-12-20 10:42 UTC (permalink / raw)
To: lindorx; +Cc: gcc
On Mon, 16 Dec 2019 at 11:49, lindorx <lindorx@163.com> wrote:> 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.
You need a cross compiler.
But this is the wrong mailing list for your question. Please use the
gcc-help list instead.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-20 10:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-16 11:49 Executable file lindorx
2019-12-20 10:42 ` Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).