From: Santhu <santhu.kumar@gmail.com>
To: gcc@gcc.gnu.org
Subject: reg. cross compiling
Date: Sun, 21 Nov 2004 18:02:00 -0000 [thread overview]
Message-ID: <761cb958041120224926e8e3da@mail.gmail.com> (raw)
my task is to convert the C-code into VM-Code (VM is a kind of
assembly lang developed by my collegues). for this, i'm taking the GNU
assembly code generated by GCC by compiling with '-S' option.
but the problem is that GCC is generating the GAS code based on the
architecture of the machine it is running on.
is there any way i can set the architecture info to make GCC to
generate the assembly code for a target architecture? ( i.e, running
on SPARC machine can i generate the assembly code for Intel x86 )
thank you in advance.
next reply other threads:[~2004-11-21 6:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-21 18:02 Santhu [this message]
2004-11-21 21:18 ` Peter Barada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=761cb958041120224926e8e3da@mail.gmail.com \
--to=santhu.kumar@gmail.com \
--cc=gcc@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).