[Scratchbox-devel] cs2005q3.2-glibc toolchain rebuilding

Eugene San eugenesan at gmail.com
Sun Jul 15 16:46:56 EEST 2007


Hi Jussi,


What i am trying to do is rebuilt official cs2005q3.2-glibc provided in 
scratchbox repository but with my patch applied to GCC compiler.

My problem is, that i do not know how was above mentioned toolchain built.

My guess was that it was built by makefiles provided at DARCS repository 
and sources tarballs provided on download section of scratchbox.org.

After several attempt to build toolchain using instructions available 
here: http://www.scratchbox.org/wiki/Toolchains i found that several 
files referred by makefiles doesn't exists at  scratchbox.org. Also I 
found that makefiles does not include changes reported in latest 
versions, like update version of GDB an/or libtool, if i remember correct.


 From all described above i am concluding that cs2005q3.2-glibc 
toolchain was not built from source by makefiles available on DARCS 
repository or the maintainer forgot to update those files for some time.


What I want to know is:

a) How exactly was cs2005q3.2-glibc toolchaiin built?

b) If it was built using "from source" method, i need updated makefiles 
and tarballs of patches and sources.

c) If it was built using "foreign" method, do makefiles in DARCS 
represents picture of latest buid of toolchain?

    Also i believe that maintainer of toolchain used "modified" version 
of  CodeSourcery toolchain, as foreign basis, and probably rebuilt it 
from sources using set of custom patches.

    Can he, please, share those patches and the process of building with us?

d) Also I would like to know how exactly were built , using "foreign" 
method, deb-packages provided in toolchain for target?


Eugene San


Jussi Hakala wrote:

> That way of building toolchains is deprecated. Mostly, all toolchains 
> are built now as foreign toolchains, meaning that we can bring the 
> pre-built binaries inside Scratchbox and use them there.
>
> Of course, this won't help you if you're looking for a way to rebuild 
> an old, Scratchbox native toolchain.
>
> You could try patching the original Codesourcery toolchain, compile it 
> outside Scratchbox and follow instructions in the Scratchbox wiki to 
> create a foreign toolchain.
>
> However, if you have the need to patch that particular toolchain, the 
> old method should still work. Can you be more specific about the error 
> you're getting?
>
> Regards,
>
>  Jussi
>
>
> Eugene San wrote:
>> Hi all,
>>
>>
>> I am developing using cs2005q3.2-glibc (under scratchbox1) for a 
>> whole now, but suddenly turned out that i need to rebuild  the 
>> toolchain with my patch applied.
>>
>>
>> To resolve the issue I followed the instructions from 
>> http://www.scratchbox.org/wiki/Toolchains, but it seems that patches 
>> to be applied by scripts are missing and/or scripts are out dated 
>> because i can't find tracks of recent changes to that toolchain.
>>
>> Can anyone provide me with additional information on subject? I 
>> really need it...
>>
>>
>> Thanks Ahead.
>>
>> Eugene San
>>
>> _______________________________________________
>> Scratchbox-devel mailing list
>> Scratchbox-devel at lists.scratchbox.org
>> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel
>
> _______________________________________________
> Scratchbox-devel mailing list
> Scratchbox-devel at lists.scratchbox.org
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scratchbox.org/pipermail/scratchbox-devel/attachments/20070715/93d8a768/attachment.html


More information about the Scratchbox-devel mailing list