List Info

Thread: Re: Which toolchain for ARM ?




Re: Which toolchain for ARM ?
user name
2007-01-29 10:48:32
Michael Burian wrote:
> Claudio Scordino wrote:
>> Peter Pearse wrote:
>>
>> I'm not able of understanding the differences
between the toolchains
>> just from their name, and the Debian packages don't
contain any useful
>> information...
>>
>> The toolchains for which I need more information
are the following ones:
>>
>>
scratchbox-toolchain-arm-linux-2006q1-6_1.0.4_i386.deb
>>
scratchbox-toolchain-arm-linux-cs344-2.3_1.0.4_i386.deb
>>
scratchbox-toolchain-arm-linux-ct401-2.3_1.0.4_i386.deb
>>
scratchbox-toolchain-cs2005q3.2-glibc-arm_1.0.4_i386.deb
>>
scratchbox-toolchain-cs2005q3.2-glibc-arm_1.0.5_i386.deb
>>
>> Any explanation is very welcome.
>>
> 
> there seem to be two kinds of toolchains available,
> 
> crosstool (ct) / codesourcery (cs)

Thank you very much. At least I know what these acronyms
mean 


> 
> I cannot tell you much more details, (I'd be interested
either),
> but if you're just looking for something to start
with,
> you could try "arm-linux-ct401-2.3". Works
for me.

I need a toolchain containing the glibc. Does this toolchain
contain it, or only 
cs toolchains contain the library (as seems from their name)
?


> Assuming your target isn't that different it should
work for you, too.

I've a Samsung s3c2410 ARM processor. Do you have the same
architecture ?

> 
> If you really need to know all the details, you can
either wait
> until somebody comes up with more details, or build
your own toolchain
> from scratch and integrate it as "foreign"
toolchain in scratchbox.

Hopefully, some more expert will answer to our emails...

Many thanks again,

              Claudio
_______________________________________________
Scratchbox-users mailing list
Scratchbox-userslists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users

Re: Which toolchain for ARM ?
user name
2007-01-30 02:02:09
Claudio Scordino wrote:
>>
>> I cannot tell you much more details, (I'd be
interested either),
>> but if you're just looking for something to start
with,
>> you could try "arm-linux-ct401-2.3".
Works for me.
> 
> I need a toolchain containing the glibc. Does this
toolchain contain it,
> or only cs toolchains contain the library (as seems
from their name) ?
> 

I'd say the "2.3" refers to the libc version

# dpkg-deb --fsys-tarfile
scratchbox-toolchain-arm-linux-ct401-2.3_1.0.4_i386.deb |
tar t | grep
libc.so
./scratchbox/compilers/arm-linux-ct401-2.3/arm-unknown-linux
-gnu/lib/libc.so
./scratchbox/compilers/arm-linux-ct401-2.3/arm-unknown-linux
-gnu/lib/libc.so_orig
./scratchbox/compilers/arm-linux-ct401-2.3/arm-unknown-linux
-gnu/lib/libc.so.6

> 
>> Assuming your target isn't that different it should
work for you, too.
> 
> I've a Samsung s3c2410 ARM processor. Do you have the
same architecture ?
> 

I've got a different CPU but that should not matter that
much.

I'd don't think that there's a substitute for trying things
out, so
following [1] while using the toolchain I've recommended
seems like your
best bet. Once you've got things up and running you could
always think
about "better" / custom made toolchains.


[1]
http://www.scratchbox.org/docume
ntation/user/scratchbox-1.0/html/installdoc.html
http://www.scratchbox.org/document
ation/user/scratchbox-1.0/html/tutorial.html
_______________________________________________
Scratchbox-users mailing list
Scratchbox-userslists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users

Re: Which toolchain for ARM ?
user name
2007-01-30 04:30:36
Claudio Scordino wrote:
>>> I'm not able of understanding the differences
between the toolchains
>>> just from their name, and the Debian packages
don't contain any useful
>>> information...
>>>
>>> The toolchains for which I need more
information are the following ones:
>>>
>>>
scratchbox-toolchain-arm-linux-2006q1-6_1.0.4_i386.deb
>>>
scratchbox-toolchain-arm-linux-cs344-2.3_1.0.4_i386.deb
>>>
scratchbox-toolchain-arm-linux-ct401-2.3_1.0.4_i386.deb
>>>
scratchbox-toolchain-cs2005q3.2-glibc-arm_1.0.4_i386.deb
>>>
scratchbox-toolchain-cs2005q3.2-glibc-arm_1.0.5_i386.deb
>>>
>>> Any explanation is very welcome.
>>
>> there seem to be two kinds of toolchains
available,
>>
>> crosstool (ct) / codesourcery (cs)
> 
> Thank you very much. At least I know what these
acronyms mean 

As a rule of thumb, anything with a year, q and a number is
a code 
sourcery toolchain.

The cs2005q3.2-glibc-arm is a repackaged legacy branch
toolchain and you 
should not use it unless you know you specifically need that
particular 
toolchain.

For your architecture, you'd probably want crosstool. See
[1] for 
additional details. Use instructions in [2] to compile a
custom foreign 
toolchain if none of the prepackaged toolchains meet your
needs.

There is an article about compiling x for arm architecture
available at 
[3], you might find it interesting.

The configurations used in building the foreign toolchain
can be found 
in the toolchain packages under
/scratchbox/compiler-name/build-config.

[1] http://kegel.com/crosstool/crosstool-0.43/doc/
crosstool-howto.html
[2] http://s
cratchbox.org/wiki/ForeignToolchains
[3] http://www.nerdnet.c
om/?q=node/2

Regards,

   Jussi



_______________________________________________
Scratchbox-users mailing list
Scratchbox-userslists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )