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
