Thursday, 26 February 2015

Re: [gccsdk] Building the GCCSDK - current status?

Hi
On 26/02/2015 19:17, Lee Noar wrote:
On 26/02/15 16:13, John Ballance wrote:
Hi Folks

I thought it was time to look at this. I've followed the various
instructions at http://www.riscos.info/index.php/Using_GCCSDK and more
or less got a working crossbuild environment. I did gave to patch ppl
for a ptrdiff_t error.

I haven't seen this problem myself; perhaps an issue with the native GCC

native gcc is 4.9.1 on ubuntu .. is that as expected?

you're using to build the cross compiler? I'm using v4.8.2. I've just
recently rebuilt the 4.7.4 compiler from scratch and the only issue was
with downloading the source for GMP which gave this:

--2015-02-26 18:46:54-- ftp://ftp.gmplib.org/pub/gmp-5.0.1/gmp-5.0.1.tar.bz2
           => 'gmp-5.0.1.tar.bz2'
Resolving ftp.gmplib.org (ftp.gmplib.org)... 130.242.124.100
Connecting to ftp.gmplib.org (ftp.gmplib.org)|130.242.124.100|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/gmp-5.0.1 ... done.
==> SIZE gmp-5.0.1.tar.bz2 ... 2006109
==> PASV ...


What I did was to ftp the relevant file from the site it was trying and put it in the source.orig folder in gcc4.. the build then proceeded.

It got stuck here, I had to CTRL-C to exit.

Anyone else see this, or is it just me?

I had to change the URL locally in the top level makefile to:

http://ftp.gnu.org/gnu/gmp/gmp-$(GMP_VERSION).tar.bz2

Attempts then to use the autobuilder bring up
frequent errors however.

That leads me to ask: is there a more accurate setup script, or has time
just taken its toll?

Some packages always target the latest source and it's inevitable that
the patches will become outdated causing patching at build time to fail.
OTOH, some packages target a specific version of their source, and the
patches stay stable.

Also, if patches are found needed, just to build what in theory should
build, what is the correct feedback path to use?

If any packages that you need fail to build, then it's probably best to
report them here on the mail list and I'm sure someone will have a look
for you.

I'm usually happy to patch.. the Q really is what path to feed back the accumulated knowledge


A third Q: SharedUnixLibrary: who currently handles this?.. are the
sources accessible?

This is part of the Unixlib source and can be found at:

gcc4/srcdir/gcc/libunixlib/module/sul.s

Ok, Thanks.  To build it, is there a simple command?

Lee.


_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK


--
Stop press! Just announced -

Free Standard Broadband for 6 months, unlimited data, and no minimum contract

For full details of see http://www.JustAskJB.co.uk

Intrigued? Call me

John Ballance C.Eng MIET - jwb@macpcrepair.co.uk - 07976 295923

No comments:

Post a Comment