|
Message
From: rich_daddio at yahoo.com<rich_daddio@y...>
Date: Wed Jan 16 23:43:32 CET 2008
Subject: [openrisc] how to run gcc compiler independently for
generation machine code for or1k
Hi, You can probably go to one of the following: http://www.meansoffreedom.org/opencores.html http://www.eecg.utoronto.ca/~jarvin/or32/ http://www.asisi.co.uk/openrisc http://www.opencores.org/projects.cgi/web/or1k/gnu_toolchain_port http://www.opencores.org/projects.cgi/web/or1k/architectural_simulator
And find what you need.
HTH,
Rich d
----- Original Message ----- From: ankurrawat0612 at gmail.com<ankurrawat0612@g...> To: Date: Tue Jan 15 16:23:10 CET 2008 Subject: [openrisc] how to run gcc compiler independently for generation machine code for or1k
> hi ..... > I am trying to convert C codes to machine codes for open risk > processor or1k , through gcc-3.4.4 compiler.Machine codes will then > be used in verilog based test bench for giving inputs to or1200 > processor. > for this i am configuring gcc and then or1sim. > by procedure > $../gcc-3.4.4/configure --target= --prefix=/location (here i hav > not > given any target) > $make all install > and then > $cd or1ksim > $./configure --target=or32 --prefix=/location > $make all install > $export PATH=/location/bin:$PATH > After that i am copying sim.cfg file (present in or1ksim) to > location of configuration. > but following compilation is giving error message of segmentation > fault > $./bin/or32-sim file.c (file.c is general c code which i have > written) > > >Reading script file from 'sim.cfg'... > >Insn MMU 0KB: 1 ways, 64 sets, entry size 0 bytes > >Data MMU 0KB: 1 ways, 64 sets, entry size 0 bytes > >Segmentation fault > please help me out in finding this segmentation fault and in > removing > it . > here i am dealing with gcc-3.4.4 compiler ,or1ksim and rtl present > in > the project.Are there any other parameters to be set which i am > missing. > thanks & regards > ankur > >
|
 |