* [ECOS] building arm ROM without GDB stubs
@ 2001-01-15 3:55 Dave Airlie
2001-01-15 5:40 ` Jesper Skov
0 siblings, 1 reply; 4+ messages in thread
From: Dave Airlie @ 2001-01-15 3:55 UTC (permalink / raw)
To: ecos-discuss
Using Cygwin / Windows Configtool I can genearate an .ecc file with no
conflicts but when I compile I get:
rm-elf-gcc -c -I//D/ecos/fj1_install/include
-I//R/devel/ecos-010112/packages/hal/common/current
-I//R/devel/ecos-010112/packages/hal/common/current/src
-I//R/devel/ecos-010112/packages/hal/common/current/tests
-I. -I//R/devel/ecos-010112/packages/hal/common/current/src/
-mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti
-fno-exceptions -fvtable-gc -finit-priority -Wp,-MD,src/hal_if.tmp -o
src/hal_common_hal_if.o
//R/devel/ecos-010112/packages/hal/common/current/src/hal_if.c
//R/devel/ecos-010112/packages/hal/common/current/src/hal_if.c:142: #error
" no RESET_ENTRY"
make[1]: *** [src/hal_if.o.d] Error 1
make[1]: Leaving directory `/d/ecos/fj1_build/hal/common/current'
make: *** [build] Error 2
If I add GDB stubs in HAL to my ROM image I can build a library
successfully, I am sure I've done this before has something changed?
I'm using snapshot from 12 January...
Dave.
--
David Airlie, Software Engineer, Parthus Technologies plc.,
Mary Rosse Centre, National Tech Park, Limerick, Ireland.
t: +353-61-508116 / f: +353-61-508101 / David.Airlie@parthus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] building arm ROM without GDB stubs
2001-01-15 3:55 [ECOS] building arm ROM without GDB stubs Dave Airlie
@ 2001-01-15 5:40 ` Jesper Skov
2001-01-15 6:07 ` Dave Airlie
0 siblings, 1 reply; 4+ messages in thread
From: Jesper Skov @ 2001-01-15 5:40 UTC (permalink / raw)
To: Dave Airlie; +Cc: ecos-discuss
>>>>> "Dave" == Dave Airlie <airlied@parthus.com> writes:
Dave> #error " no RESET_ENTRY" make[1]: *** [src/hal_if.o.d] Error 1
Dave> make[1]: Leaving directory
Dave> `/d/ecos/fj1_build/hal/common/current' make: *** [build] Error 2
You don't say which platform. But look in the plf_stub.h header file
in the platform HAL - the reset macros are at the end. Move them below
the #ifdef INCLUDE_STUBS conditional compilation.
Jesper
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] building arm ROM without GDB stubs
2001-01-15 5:40 ` Jesper Skov
@ 2001-01-15 6:07 ` Dave Airlie
2001-01-15 7:10 ` Jesper Skov
0 siblings, 1 reply; 4+ messages in thread
From: Dave Airlie @ 2001-01-15 6:07 UTC (permalink / raw)
To: Jesper Skov; +Cc: ecos-discuss
sorry .. ARM7 PID ...
Dave.
On 15 Jan 2001, Jesper Skov wrote:
> >>>>> "Dave" == Dave Airlie <airlied@parthus.com> writes:
>
> Dave> #error " no RESET_ENTRY" make[1]: *** [src/hal_if.o.d] Error 1
> Dave> make[1]: Leaving directory
> Dave> `/d/ecos/fj1_build/hal/common/current' make: *** [build] Error 2
>
> You don't say which platform. But look in the plf_stub.h header file
> in the platform HAL - the reset macros are at the end. Move them below
> the #ifdef INCLUDE_STUBS conditional compilation.
>
> Jesper
>
--
David Airlie, Software Engineer, Parthus Technologies plc.,
Mary Rosse Centre, National Tech Park, Limerick, Ireland.
t: +353-61-508116 / f: +353-61-508101 / David.Airlie@parthus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] building arm ROM without GDB stubs
2001-01-15 6:07 ` Dave Airlie
@ 2001-01-15 7:10 ` Jesper Skov
0 siblings, 0 replies; 4+ messages in thread
From: Jesper Skov @ 2001-01-15 7:10 UTC (permalink / raw)
To: Dave Airlie; +Cc: ecos-discuss
>>>>> "Dave" == Dave Airlie <airlied@parthus.com> writes:
Dave> sorry .. ARM7 PID ...
>> You don't say which platform. But look in the plf_stub.h header
>> file in the platform HAL - the reset macros are at the end. Move
>> them below the #ifdef INCLUDE_STUBS conditional compilation.
Hm, they already are on the PID - at least in the CVS repo.
OK, I met the same problem, and my solution was the below - not very
nice, but isn't too messy. The real fix is to move the RESET macros
to a different header file.
In hal_stub.h, move this:
#ifdef CYGBLD_HAL_PLATFORM_STUB_H
#include CYGBLD_HAL_PLATFORM_STUB_H
#else
#include <cyg/hal/plf_stub.h>
#endif
above the #ifdef CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS check.
Jesper
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-01-15 7:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-15 3:55 [ECOS] building arm ROM without GDB stubs Dave Airlie
2001-01-15 5:40 ` Jesper Skov
2001-01-15 6:07 ` Dave Airlie
2001-01-15 7:10 ` Jesper Skov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).