This is the mail archive of the
mailing list for the GCC project.
Re: Trouble trying to test GCC on a simulator
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Pierre-Marie de Rodat <derodat at adacore dot com>
- Cc: Tristan Gingold <gingold at adacore dot com>, gcc at gcc dot gnu dot org
- Date: Tue, 9 Sep 2014 17:53:29 -0400 (EDT)
- Subject: Re: Trouble trying to test GCC on a simulator
- Authentication-results: sourceware.org; auth=none
- References: <540D7E5C dot 1000707 at adacore dot com> <CBE84FB2-86F4-470B-A84C-278091B56E41 at adacore dot com> <540DC277 dot 8070102 at adacore dot com>
On Mon, 8 Sep 2014, Pierre-Marie de Rodat wrote:
> # Get newlib and the simulator
> cvs -d :pserver:firstname.lastname@example.org:/cvs/src co newlib sim
> # Get binutils
> git clone git://sourceware.org/git/binutils-gdb.git
> # Create the combined tree
> rm -rf combined
> mkdir combined
> cd src && find . -print | cpio -pdlm ../combined && cd ..
> cd binutils-gdb && find . -print | cpio -pdlmu ../combined && cd ..
> cd gcc && find . -print | cpio -pdlmu ../combined && cd ..
> # Same build/test procedure...
> It seems to work fine! (I'm running tests, now...) So thank you very much,
> I'm going to submit a website patch to update the documentation
> according to this.
On the one hand, I promised to do this some time ago and on the
other you may be faster than me...
I'm using your input above (corrected with Tristan's
observation) and will double-check that it works to build at
least a couple of ports. Thanks!
Also, I saw some other gotchas. (We require a recent g++, and
more recent than 2.95 etc.)