public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: kripa shankar <kripa82@yahoo.com>
To: gcc-help@gcc.gnu.org
Subject: (newbie) - need help
Date: Mon, 12 Apr 2004 17:07:00 -0000	[thread overview]
Message-ID: <20040412170659.28598.qmail@web60301.mail.yahoo.com> (raw)
In-Reply-To: <007501c420a9$ba1e8260$bc00a8c0@sean888>

Hi all

Iam using arm-linux-gcc cross compiler with
simplescalar configured for arm processor in my
project.
my test program is test.c which is 

int main
{
return 0;
}

and i compiled it as
arm-linux-gcc -o test.arm test.c

The size of the test.arm file is 949567 bytes. when i
execute the test.arm file in simplescalar as
"sim-outorder test.arm", its statistics shows that the
number of instructions in the test.arm file is 19747.
"sim: ** simulation statistics **
sim_num_insn  19747 # total number of instructions
committed"

I would like to know the following

1. why is the code bloating happening here???

2. The problem may be that the arm-linux-gcc loads all
its libraries in the output binary file. so is there
any option to compile a program with arm cross
compiler without loading all the libraries???

3. I downloaded all the cross compiler components from

http://www.simplescalar.com/v4test.html
"simplescalar arm cross compiler kit"..
so is there any better version or compiler kit
available for arm??

I would really appreciate any help in this regard.

regards
kripashankar

__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

      reply	other threads:[~2004-04-12 17:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-12 16:18 AST Problem Sean Hsiao
2004-04-12 17:07 ` kripa shankar [this message]

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=20040412170659.28598.qmail@web60301.mail.yahoo.com \
    --to=kripa82@yahoo.com \
    --cc=gcc-help@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).