This is the mail archive of the sid@sourceware.org mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Building SID


Hi,
I'm new to sid and I'm having some problems building the project from
CVS sources.

My first attempt was with a cross-compiler which worked. except that
the I couldn't get the simulation to work properly (when setting CPU
registers in the simulated code and then queried the same with GDB,
the registers would still have the value 0). I thought if not setting
--target, it would make it work better. The documentation says that if
--target is not set, sid will try to build all the available CPU's.

What I'm not clear about is if one needs a cross compilers or not, and
in the case one does - would that be for every possible CPU sid
supports?

If cross compilers are meant to be used, which name should one use for
--target? I'm confused over that the canonical name for an x86
tool-chain normally would be i[[3456789]]86-*-*, but sid seems to use
the name x86 (or at least for the component i.e.).

A list of supported main architectures would be helpful.

Hers comes the lines where the build breaks:

make[4]: Entering directory `/home/ambrmi09/projects/sid/_BUILD/sid/bsp'
make[4]: *** No rule to make target `sh64-elf-sid', needed by `all-am'.  Stop.
make[4]: Leaving directory `/home/ambrmi09/projects/sid/_BUILD/sid/bsp'

The directory is there, but there's no trace of sh64. The ones existing:

arm-elf-sid
i386-elf-sid
m32r-elf-sid
 m68k-elf-sid
mt-elf-sid
xstormy16-elf-sid

The ChangeLog mentions  'sh-elf-sid,sh5-elf-sid,sh64-elf-sid: New
files' so I'm guessing the files were just not committed yet.

Regards
/Michael Anbrus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]