[ECOS] Building GNU cross-development tools: Problem building Insight
Karel Gardas
kgardas@objectsecurity.com
Mon Jan 2 00:23:00 GMT 2006
On Sun, 1 Jan 2006, David Lee wrote:
> Karel,
> Thank you for the helpful hints. So, you say that
> I have enough of the toolchain built already? Great! I'll give it
> a try! I hit the GDB snag and stopped in my tracks. Thanks for the push!
>
> I also thought about trying an older version of insight/gdb. Yet, the official ftp
> site only has 6.4. Do you know where they keep the old releases? I've Googled
> until I'm cross-eyed and found nothing.
if you do not insist on GUI-based debugging, then try older versions of
gdb alone:
http://ftp.gnu.org/gnu/gdb/
or you can also try insight latests snapshots:
ftp://sourceware.org/pub/insight/snapshots/current/
Cheers,
Karel
>
> Thank you for the enouraging words, I'm sure this will become great fun momentarily!
> David
>
>
> -----Original Message-----
> From: Karel Gardas [mailto:kgardas@objectsecurity.com]
> Sent: Sunday, January 01, 2006 4:50 PM
> To: David Lee
> Cc: Andrew Lunn; ecos-discuss@sources.redhat.com
> Subject: RE: [ECOS] Building GNU cross-development tools: Problem building Insight
>
>
> On Sun, 1 Jan 2006, David Lee wrote:
>
>> Andrew,
>> Thank you for the prompt reply. I look forward to getting eCos up and
>> running. Also, thank you for the vector to the pre-built tools,
>> However, one of my goals was to gain experience building the
>> cross-development tools for myself. Presently, I'd judge the
>> experience as 'unpleasant'.
>>
>> Thank you for the helpful referral to the gdb mailing list. I agree
>> with you that 'This is [sic] a insight/gdb issue and has nothing to do
>> with eCos.' Save for the minor point that these tools are used to
>> build eCos for my target hardware. #ifdef NO_TOOLS #define NO_ECOS
>> #endif
>
> Why? You've already build all the needed tools except gdb/insight. Just
> try different versions of those and I'm sure you will find the combination
> which will work. Anyway, even if it does not, then you can try eCos
> application (you already can build it/link it), although you will not be
> able to debug them in case of any issue.
>
> Cheers,
> Karel
>
>>
>> Please forgive the waste of bandwidth.
>> David
>>
>> -----Original Message-----
>> From: Andrew Lunn [mailto:andrew@lunn.ch]
>> Sent: Sunday, January 01, 2006 3:36 PM
>> To: David Lee
>> Cc: ecos-discuss@sources.redhat.com
>> Subject: Re: [ECOS] Building GNU cross-development tools: Problem
>> building Insight
>>
>>
>> On Sun, Jan 01, 2006 at 03:13:47PM -0700, David Lee wrote:
>>> Hi,
>>> While I'm waiting for my new dev hardware to arrive, I thought I'd
>>> get eCos up and running for the i386.
>>>
>>> I'm using Appendix D of Massa's "Embedded Software Development with
>>> eCos" as my guide.
>>>
>>> I installed Cygwin 1.5.9 on my XP machine. It works great.
>>> I downloaded and built the GNU Binary Utilities (ver 2.16.1) for
>>> i386. Worked just fine. I downloaded and built GCC (ver 3.4.5) for
>>> i386. Worked great. I downloaded and built Insight (ver 6.4) for
>>> i386. BOOM! No joy.
>>>
>>> I get errors like this while running make:
>>> /src/gdb/insight-6.4/gdb/tui/tui-win.c:307: undefined reference to
>>> `__nc_acs_map'
>>>
>>> I'm really at a loss as to what to do now. Any ideas how to begin
>>> debugging this situation?
>>
>> Try the gdb mailling lists. This is a insight/gdb issue and has
>> nothing to do with eCos.
>>
>> There are toolchains available for download at:
>>
>> http://ecos.sourceware.org/getstart.html
>>
>> The i386-elf one should work for you.
>>
>> Andrew
>>
>>
>> --
>> Before posting, please read the FAQ:
>> http://ecos.sourceware.org/fom/ecos
>> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>>
>>
>
> --
> Karel Gardas kgardas@objectsecurity.com
> ObjectSecurity Ltd. http://www.objectsecurity.com
>
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
>
--
Karel Gardas kgardas@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list