This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Succesful install for raspberry pi


Hello List,

Just thought I'd record my successful install of the crosstool.ng for my
raspberry pi.

Thanks for all your efforts to produce this amazingly easy to configure
and install tool set.

An aside, I tried to install the debugger gdb, but it fails with the
dreaded "Remote 'g' packet reply is too long:" error while doing an
attached session to the RPI.

I fixed the problem by downloading gbd-7.7.tar.gz and using the
following configure options:
$ ./configure --prefix=/opt --target=arm-rpi-linux-gnueabi
--with-expat=/usr/local/lib/

I think the key is --with-expat ?

When I target the RPI and
(gdb) show architecture
The target architecture is set automatically (currently armv5t)

However if I
(gdb) set architecture
The target architecture is assumed to be arm
(gdb) show architecture
The target architecture is assumed to be arm

Is there a difference?

Should not the gdb on the pi say armv6 ? Is there a way to explicitly
specify armv6? Or doesn't it matter?

TIA  




--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]