* [gentoo-embedded] crossdev
@ 2007-12-06 16:51 Jakub Ladman
2007-12-06 17:02 ` Ned Ludd
2007-12-24 21:18 ` Mike Frysinger
0 siblings, 2 replies; 26+ messages in thread
From: Jakub Ladman @ 2007-12-06 16:51 UTC (permalink / raw
To: gentoo-embedded
Hi
Crossdev does not work for me to make arm crosscompiler.
I have arm9 based Cirrus Logic EP9307 CPU, tell me please how to determine the
right target name and gcc, libc, binutils and headers versions to get working
toolchain.
I am trying it for about four weeks with no succes. I do not know if it is a
bug in crossdev or i am completely stupid.
Thank you very much.
Best regards
Jakub Ladman
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-embedded] crossdev
2007-12-06 16:51 [gentoo-embedded] crossdev Jakub Ladman
@ 2007-12-06 17:02 ` Ned Ludd
2007-12-07 9:48 ` Jakub Ladman
2007-12-24 21:18 ` Mike Frysinger
1 sibling, 1 reply; 26+ messages in thread
From: Ned Ludd @ 2007-12-06 17:02 UTC (permalink / raw
To: gentoo-embedded
On Thu, 2007-12-06 at 17:51 +0100, Jakub Ladman wrote:
> Hi
> Crossdev does not work for me to make arm crosscompiler.
> I have arm9 based Cirrus Logic EP9307 CPU, tell me please how to determine the
> right target name and gcc, libc, binutils and headers versions to get working
> toolchain.
> I am trying it for about four weeks with no succes. I do not know if it is a
> bug in crossdev or i am completely stupid.
4 weeks? yikes.. this this..
https://bugs.gentoo.org assign it to toolchain@gentoo.org with the exact
errors you are hitting.
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-embedded] crossdev
2007-12-06 17:02 ` Ned Ludd
@ 2007-12-07 9:48 ` Jakub Ladman
0 siblings, 0 replies; 26+ messages in thread
From: Jakub Ladman @ 2007-12-07 9:48 UTC (permalink / raw
To: gentoo-embedded
Dne Thursday 06 of December 2007 18:02:54 Ned Ludd napsal(a):
> On Thu, 2007-12-06 at 17:51 +0100, Jakub Ladman wrote:
> > Hi
> > Crossdev does not work for me to make arm crosscompiler.
> > I have arm9 based Cirrus Logic EP9307 CPU, tell me please how to
> > determine the right target name and gcc, libc, binutils and headers
> > versions to get working toolchain.
> > I am trying it for about four weeks with no succes. I do not know if it
> > is a bug in crossdev or i am completely stupid.
>
> 4 weeks? yikes.. this this..
> https://bugs.gentoo.org assign it to toolchain@gentoo.org with the exact
> errors you are hitting.
Not every hour of every day of 4 weeks, but many many times, i must do
something else too.
Before i post the bug i would like to try some others commandline with exact
target and exact versions of all thre stages, to be sure that it is really
bug.
Jakub Ladman
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-embedded] crossdev
2007-12-06 16:51 [gentoo-embedded] crossdev Jakub Ladman
2007-12-06 17:02 ` Ned Ludd
@ 2007-12-24 21:18 ` Mike Frysinger
1 sibling, 0 replies; 26+ messages in thread
From: Mike Frysinger @ 2007-12-24 21:18 UTC (permalink / raw
To: gentoo-embedded; +Cc: Jakub Ladman
[-- Attachment #1: Type: text/plain, Size: 478 bytes --]
On Thursday 06 December 2007, Jakub Ladman wrote:
> Crossdev does not work for me to make arm crosscompiler.
> I have arm9 based Cirrus Logic EP9307 CPU, tell me please how to determine
> the right target name
http://www.gentoo.org/proj/en/base/embedded/handbook/?part=1&chap=3
> and gcc, libc, binutils and headers versions to get
> working toolchain.
there is no such list. the requirements are determined by combining your
needs with whatever works.
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* [gentoo-embedded] crossdev
@ 2010-06-13 14:09 Daniel Stonier
2010-06-24 2:12 ` Mike Frysinger
2010-06-24 8:18 ` Peter Stuge
0 siblings, 2 replies; 26+ messages in thread
From: Daniel Stonier @ 2010-06-13 14:09 UTC (permalink / raw
To: gentoo-embedded
I've got a couple of queries with regards to crossdev.
1) What's the correct way to correctly configure ld.so.conf in an cross-compile?
2) Is it recommended emerging glibc despite the inevitable file collisions?
--
Phone : +82-10-5400-3296 (010-5400-3296)
Home: http://snorriheim.dnsdojo.com/
Yujin Robot: http://www.yujinrobot.com/
Embedded Control Libraries: http://snorriheim.dnsdojo.com/redmine/wiki/ecl
^ permalink raw reply [flat|nested] 26+ messages in thread
* [gentoo-embedded] crossdev
@ 2010-03-05 11:20 billium
2010-03-05 15:38 ` Angelo Arrifano
2010-03-07 4:21 ` Mike Frysinger
0 siblings, 2 replies; 26+ messages in thread
From: billium @ 2010-03-05 11:20 UTC (permalink / raw
To: gentoo-embedded
Has anything changed in crossdev as my tuple no longer works.
crossdev -s3 -t arm-none-eabi or
crossdev -s3 -t arm-elf-eabi or
The error is:
"Unknown arch used in --with-arch=arm"
I am on ~x86-64
The target is Luminary or ST cortex m3
Many thanks
Billy
^ permalink raw reply [flat|nested] 26+ messages in thread
* [gentoo-embedded] crossdev
@ 2009-07-08 16:14 billium
2009-07-09 1:55 ` Mike Frysinger
0 siblings, 1 reply; 26+ messages in thread
From: billium @ 2009-07-08 16:14 UTC (permalink / raw
To: gentoo-embedded
Hello all I'm after help on crossdev again.
My host system is amd64, stage required is s3.
The target is arm cortex with using newlib.
If I try crossdev -s3 -t arm-elf-gnueabi
in the summary header libc: glibc-[latest]
and it fails with BFD does not support target.
If I try crossdev -s3 -t arm-elf-eabi (also arm-unknown-elf-eabi)
in the summary header libc: -[latest]
and it fails at cross-linux-headers as libc is unknown.
If I cheat
and modify the /usr/sbin/crossdev script and change the default LPKG
from LPKG="" to LPKG="newlib" on line 343.
in the summary header libc: newlib-[latest]
and it works fine and the code produced works on the chips, the same for
arm-none-eabi which is required for working with some of the sample code
provided.
If I add --ex-gdb (or --ex-insight) the summary has Extra: gdb: DO IT
but no gdb (or insight) is produced.
If I try, with no modification, crossdev -s3 --ex-gdb -t
arm-unknown-linux-gnu it works fine, with no errors but produces no
extra gdb.
If I try, with my cheat, crossdev --ex-gdb -t arm-elf-eabi, fails with
"checking for acoshf in -lm... make[1] , is there any way to get gdb or
insight with s3?
Many thanks
Billy
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-embedded] crossdev
2009-07-08 16:14 billium
@ 2009-07-09 1:55 ` Mike Frysinger
2009-07-09 8:22 ` billium
2009-07-09 11:46 ` Martin Gysel
0 siblings, 2 replies; 26+ messages in thread
From: Mike Frysinger @ 2009-07-09 1:55 UTC (permalink / raw
To: gentoo-embedded; +Cc: billium
[-- Attachment #1: Type: text/plain, Size: 326 bytes --]
On Wednesday 08 July 2009 12:14:38 billium wrote:
> The target is arm cortex with using newlib.
>
> If I try crossdev -s3 -t arm-elf-gnueabi
> in the summary header libc: glibc-[latest]
> and it fails with BFD does not support target.
i dont think your tuple makes any sense. i'm pretty sure you want "arm-elf-
eabi".
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-embedded] crossdev
2009-07-09 1:55 ` Mike Frysinger
@ 2009-07-09 8:22 ` billium
2009-07-19 18:15 ` Mike Frysinger
2009-07-09 11:46 ` Martin Gysel
1 sibling, 1 reply; 26+ messages in thread
From: billium @ 2009-07-09 8:22 UTC (permalink / raw
To: gentoo-embedded
Mike Frysinger wrote:
> On Wednesday 08 July 2009 12:14:38 billium wrote:
>
>> The target is arm cortex with using newlib.
>>
>> If I try crossdev -s3 -t arm-elf-gnueabi
>> in the summary header libc: glibc-[latest]
>> and it fails with BFD does not support target.
>>
>
> i dont think your tuple makes any sense. i'm pretty sure you want "arm-elf-
> eabi".
> -mike
>
Thanks Mike for your answer, but I would value your opinion if you read
all the text. arm-elf-eabi was tried.
Billy
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-embedded] crossdev
2009-07-09 8:22 ` billium
@ 2009-07-19 18:15 ` Mike Frysinger
2009-07-20 17:47 ` billium
0 siblings, 1 reply; 26+ messages in thread
From: Mike Frysinger @ 2009-07-19 18:15 UTC (permalink / raw
To: gentoo-embedded; +Cc: billium
[-- Attachment #1: Type: text/plain, Size: 744 bytes --]
On Thursday 09 July 2009 04:22:10 billium wrote:
> Mike Frysinger wrote:
> > On Wednesday 08 July 2009 12:14:38 billium wrote:
> >> The target is arm cortex with using newlib.
> >>
> >> If I try crossdev -s3 -t arm-elf-gnueabi
> >> in the summary header libc: glibc-[latest]
> >> and it fails with BFD does not support target.
> >
> > i dont think your tuple makes any sense. i'm pretty sure you want
> > "arm-elf- eabi".
>
> Thanks Mike for your answer, but I would value your opinion if you read
> all the text. arm-elf-eabi was tried.
crossdev probably doesnt recognize elf eabi because no one has tried to use it
before. everyone uses arm-elf. it however doesnt change the fact that elf +
gnu makes no sense.
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-embedded] crossdev
2009-07-19 18:15 ` Mike Frysinger
@ 2009-07-20 17:47 ` billium
0 siblings, 0 replies; 26+ messages in thread
From: billium @ 2009-07-20 17:47 UTC (permalink / raw
To: gentoo-embedded
Mike Frysinger wrote:
> On Thursday 09 July 2009 04:22:10 billium wrote:
>
>> Mike Frysinger wrote:
>>
>>> On Wednesday 08 July 2009 12:14:38 billium wrote:
>>>
>>>> The target is arm cortex with using newlib.
>>>>
>>>> If I try crossdev -s3 -t arm-elf-gnueabi
>>>> in the summary header libc: glibc-[latest]
>>>> and it fails with BFD does not support target.
>>>>
>>> i dont think your tuple makes any sense. i'm pretty sure you want
>>> "arm-elf- eabi".
>>>
>> Thanks Mike for your answer, but I would value your opinion if you read
>> all the text. arm-elf-eabi was tried.
>>
>
> crossdev probably doesnt recognize elf eabi because no one has tried to use it
> before. everyone uses arm-elf. it however doesnt change the fact that elf +
> gnu makes no sense.
> -mike
>
Thanks Mike, I was illustrating the fact I was trying everything! But
it works with Martin Gysel's suggestion. Thanks to everyone on the
crossdev team.
Billy
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-embedded] crossdev
2009-07-09 1:55 ` Mike Frysinger
2009-07-09 8:22 ` billium
@ 2009-07-09 11:46 ` Martin Gysel
2009-07-09 13:54 ` billium
1 sibling, 1 reply; 26+ messages in thread
From: Martin Gysel @ 2009-07-09 11:46 UTC (permalink / raw
To: gentoo-embedded
Mike Frysinger schrieb:
> On Wednesday 08 July 2009 12:14:38 billium wrote:
>
>> The target is arm cortex with using newlib.
>>
>> If I try crossdev -s3 -t arm-elf-gnueabi
>> in the summary header libc: glibc-[latest]
>> and it fails with BFD does not support target.
>>
>
> i dont think your tuple makes any sense. i'm pretty sure you want "arm-elf-
> eabi".
> -mike
>
but if I understand crossdev code correctly with this tuple newlib
doesn't get selected (*-newlib|*-elf but not
*-newlib*|*-elf*).
furthermore AFAIK for the compiler the word eabi is important otherwise
arm eabi isn't selected as default. so my suggestion is to use
arm-softfloat-eabi and change crossdev (add |*-eabi just after
*-newlib|*-elf).
another option would probably be to just change *-elf to *-elf* so that
newlib gets selected but in this case I don't know how gcc behaves...
@mike is there a change to have one of these mods added to crossdev
upstream?
/martin
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-embedded] crossdev
2009-07-09 11:46 ` Martin Gysel
@ 2009-07-09 13:54 ` billium
2009-07-09 16:47 ` billium
0 siblings, 1 reply; 26+ messages in thread
From: billium @ 2009-07-09 13:54 UTC (permalink / raw
To: gentoo-embedded
Martin Gysel wrote:
> Mike Frysinger schrieb:
>
>> On Wednesday 08 July 2009 12:14:38 billium wrote:
>>
>>
>>> The target is arm cortex with using newlib.
>>>
>>> If I try crossdev -s3 -t arm-elf-gnueabi
>>> in the summary header libc: glibc-[latest]
>>> and it fails with BFD does not support target.
>>>
>>>
>> i dont think your tuple makes any sense. i'm pretty sure you want "arm-elf-
>> eabi".
>> -mike
>>
>>
>
> but if I understand crossdev code correctly with this tuple newlib
> doesn't get selected (*-newlib|*-elf but not
> *-newlib*|*-elf*).
> furthermore AFAIK for the compiler the word eabi is important otherwise
> arm eabi isn't selected as default. so my suggestion is to use
> arm-softfloat-eabi and change crossdev (add |*-eabi just after
> *-newlib|*-elf).
> another option would probably be to just change *-elf to *-elf* so that
> newlib gets selected but in this case I don't know how gcc behaves...
> @mike is there a change to have one of these mods added to crossdev
> upstream?
>
> /martin
>
>
>
This is what I have found, hence the cheat mentioned in the first post.
But I can't cheat and get gdb also.
Billy
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-embedded] crossdev
2009-07-09 13:54 ` billium
@ 2009-07-09 16:47 ` billium
0 siblings, 0 replies; 26+ messages in thread
From: billium @ 2009-07-09 16:47 UTC (permalink / raw
To: gentoo-embedded
billium wrote:
> Martin Gysel wrote:
>
>> Mike Frysinger schrieb:
>>
>>
>>> On Wednesday 08 July 2009 12:14:38 billium wrote:
>>>
>>>
>>>
>>>> The target is arm cortex with using newlib.
>>>>
>>>> If I try crossdev -s3 -t arm-elf-gnueabi
>>>> in the summary header libc: glibc-[latest]
>>>> and it fails with BFD does not support target.
>>>>
>>>>
>>>>
>>> i dont think your tuple makes any sense. i'm pretty sure you want "arm-elf-
>>> eabi".
>>> -mike
>>>
>>>
>>>
>> but if I understand crossdev code correctly with this tuple newlib
>> doesn't get selected (*-newlib|*-elf but not
>> *-newlib*|*-elf*).
>> furthermore AFAIK for the compiler the word eabi is important otherwise
>> arm eabi isn't selected as default. so my suggestion is to use
>> arm-softfloat-eabi and change crossdev (add |*-eabi just after
>> *-newlib|*-elf).
>> another option would probably be to just change *-elf to *-elf* so that
>> newlib gets selected but in this case I don't know how gcc behaves...
>> @mike is there a change to have one of these mods added to crossdev
>> upstream?
>>
>> /martin
>>
>>
>>
>>
> This is what I have found, hence the cheat mentioned in the first post.
>
> But I can't cheat and get gdb also.
>
> Billy
>
>
>
>
Thanks Martin.
Changing the /usr/sbin/crossdev script as Martin suggested and using
crossdev --ex-gdb -t arm-elf-eabi produces the toolchain but does not
attempt to produce gdb.
Billy
^ permalink raw reply [flat|nested] 26+ messages in thread
* [gentoo-embedded] crossdev
@ 2006-08-31 13:10 Jakub Ladman
2006-08-31 13:51 ` Jakub Ladman
2006-08-31 18:13 ` Mike Frysinger
0 siblings, 2 replies; 26+ messages in thread
From: Jakub Ladman @ 2006-08-31 13:10 UTC (permalink / raw
To: gentoo-embedded
I have two questions?
1) How to re-emerge everything what crossdev does completely from sctratch?
My crossdev generated toolchain, which was ok for several months, stops
working.
2) Is it possible to collect everything what crossdev does, make binary
package and send it to a friend which does not use gentoo, to enable
crosscompiling at his computer?
How?
Thank you very much.
Jakub Ladman
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-embedded] crossdev
2006-08-31 13:10 Jakub Ladman
@ 2006-08-31 13:51 ` Jakub Ladman
2006-08-31 18:13 ` Mike Frysinger
1 sibling, 0 replies; 26+ messages in thread
From: Jakub Ladman @ 2006-08-31 13:51 UTC (permalink / raw
To: gentoo-embedded
Hi all
I am very sorry, that i have forgotten to greet you in my previous message.
Dne čtvrtek 31 srpen 2006 15:10 Jakub Ladman napsal(a):
> I have two questions?
>
> 1) How to re-emerge everything what crossdev does completely from sctratch?
> My crossdev generated toolchain, which was ok for several months, stops
> working.
>
> 2) Is it possible to collect everything what crossdev does, make binary
> package and send it to a friend which does not use gentoo, to enable
> crosscompiling at his computer?
> How?
>
> Thank you very much.
>
> Jakub Ladman
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-embedded] crossdev
2006-08-31 13:10 Jakub Ladman
2006-08-31 13:51 ` Jakub Ladman
@ 2006-08-31 18:13 ` Mike Frysinger
2006-09-02 7:27 ` Harald Kubota
1 sibling, 1 reply; 26+ messages in thread
From: Mike Frysinger @ 2006-08-31 18:13 UTC (permalink / raw
To: gentoo-embedded; +Cc: Jakub Ladman
[-- Attachment #1: Type: text/plain, Size: 481 bytes --]
On Thursday 31 August 2006 09:10, Jakub Ladman wrote:
> 1) How to re-emerge everything what crossdev does completely from sctratch?
> My crossdev generated toolchain, which was ok for several months, stops
> working.
crossdev -C <target>
crossdev <target>
> 2) Is it possible to collect everything what crossdev does, make binary
> package and send it to a friend which does not use gentoo, to enable
> crosscompiling at his computer?
crossdev --help
crossdev -b <target>
-mike
[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-embedded] crossdev
2006-08-31 18:13 ` Mike Frysinger
@ 2006-09-02 7:27 ` Harald Kubota
2006-09-02 8:35 ` Mike Frysinger
0 siblings, 1 reply; 26+ messages in thread
From: Harald Kubota @ 2006-09-02 7:27 UTC (permalink / raw
To: gentoo-embedded; +Cc: Jakub Ladman
Mike Frysinger wrote:
>> 2) Is it possible to collect everything what crossdev does, make binary
>> package and send it to a friend which does not use gentoo, to enable
>> crosscompiling at his computer?
>>
>
> crossdev --help
> crossdev -b <target>
> -mike
>
Mike,
creating binaries is no problem (-b works as advertised), but the binary
packages
are in (in my case) /usr/portage/packages/cross/sh4-gentoo-linux-uclibc/All/
and I have not found the emerge line to re-install those packages on the
same machine,
not even trying on other machines.
emerge -aK cross-sh4-gentoo-linux-uclibc/gcc
nor does
emerge -aK sh4-gentoo-linux-uclibc/gcc
Harald
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2010-06-24 9:04 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-06 16:51 [gentoo-embedded] crossdev Jakub Ladman
2007-12-06 17:02 ` Ned Ludd
2007-12-07 9:48 ` Jakub Ladman
2007-12-24 21:18 ` Mike Frysinger
-- strict thread matches above, loose matches on Subject: below --
2010-06-13 14:09 Daniel Stonier
2010-06-24 2:12 ` Mike Frysinger
2010-06-24 8:18 ` Peter Stuge
2010-03-05 11:20 billium
2010-03-05 15:38 ` Angelo Arrifano
2010-03-05 19:23 ` billium
2010-03-05 20:20 ` Peter Stuge
2010-03-06 9:45 ` billium
2010-03-07 4:21 ` Mike Frysinger
2009-07-08 16:14 billium
2009-07-09 1:55 ` Mike Frysinger
2009-07-09 8:22 ` billium
2009-07-19 18:15 ` Mike Frysinger
2009-07-20 17:47 ` billium
2009-07-09 11:46 ` Martin Gysel
2009-07-09 13:54 ` billium
2009-07-09 16:47 ` billium
2006-08-31 13:10 Jakub Ladman
2006-08-31 13:51 ` Jakub Ladman
2006-08-31 18:13 ` Mike Frysinger
2006-09-02 7:27 ` Harald Kubota
2006-09-02 8:35 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox