Arm cross compiler - problems
kripa shankar
kripa82@yahoo.com
Tue Apr 13 12:38:00 GMT 2004
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! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list