maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   GCC 4.5.1 in scratchbox (https://talk.maemo.org/showthread.php?t=61907)

白い熊 2010-09-08 09:11

GCC 4.5.1 in scratchbox
 
I'd like to compile gcc 4.5.1 for use in the scratchbox environment.

Tried building it in scratchbox, configures fine, when running `make bootstrap' the process bombs with cryptic errors, which I can't debug, mostly refering to errors linking files in build/.gcc/ dir, which however doesn't exist, so I assume something is going wrong, but can't trace it.

Even tried to build it directly on the N900, to see if it would go any further, but no go.

Anyone had success?

Or pointers?

Or ideas?

Have searched for references, but it seems nobody built 4.5.1 or 4.5 for use on the N900 or in scratchbox...

Bundyo 2010-09-08 09:21

Re: GCC 4.5.1 in scratchbox
 
Maybe try using newer Scratchbox with newer toolchain, though I'm not guaranteeing that it will work.

http://www.scratchbox.org/

danielwilms 2010-09-08 13:09

Re: GCC 4.5.1 in scratchbox
 
Hi,

There is no toolchain for that version. So you will not succeed with this. The only way is waiting for an official updated version.

Daniel

白い熊 2010-09-08 13:18

Re: GCC 4.5.1 in scratchbox
 
Hmm... Is it really that hopeless?

I've experience with LFS and so I'd think I'd be able to rebuild the necessary toolchain parts in scratchbox, in fact was expecting to do this, alas the errors I've encountered, unlike in other compilation projects, are not instructive enough for me to figure out which parts of the toolchain I need to update.

But surely the "official" developers must do it the same way? I.e. update the needed parts and then compile gcc smoothly even for the official repos, no?

danielwilms 2010-09-09 07:20

Re: GCC 4.5.1 in scratchbox
 
Hi,

but even if you would succeed you would have to rebuild as well the closed-source packages, which would make it hard to benefit from it. A toolchain update is not a trivial task.

Daniel

白い熊 2010-09-09 23:27

Re: GCC 4.5.1 in scratchbox
 
Well, my plan was:

leave the installed default stuff in place, i.e. don't necessarily mess with the non-free stuff,

compile all needed free parts and install them in parallel with http://kumatux.org/

This allows you to have a number of versions of the same tools for instance installed in parallel without the system being messed up...

CormacB 2010-09-10 13:54

Re: GCC 4.5.1 in scratchbox
 
You might be able to use the linaro toolchain.

Pillum 2011-08-13 01:53

Re: GCC 4.5.1 in scratchbox
 
any news on this?


All times are GMT. The time now is 15:00.

vBulletin® Version 3.8.8