This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Re: Trouble trying to test GCC on a simulator


On Mon, 8 Sep 2014, Pierre-Marie de Rodat wrote:
>     # Get newlib and the simulator
>     cvs -d :pserver:anoncvs@sourceware.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,
> Tristan.

> 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.)

brgds, H-P


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