I am cross-compiling the DROPS system for ARM and get compiler errors about "too many initializers" when it compiles the following statement from syscalls_impl.h (line 249)
l4_threadid_t preempter = L4_INVALID_ID; l4_threadid_t pager = L4_INVALID_ID;
When I initialize the unions without the defines, by hand as, it compiles.
l4_threadid_t preempter; preempter.raw = (l4_umword_t)-1; l4_threadid_t pager; pager.raw = (l4_umword_t)-1;
I'm using a TI-provided GCC 3.3.2 ARM crosscompiler. Is my cross-compiler to blame here? If so, could someone recommend a cross-compiler toolchain for ARM that doesn't error on this syntax?
Regards, Ryan
On Mon Nov 20, 2006 at 10:30:59 -0700, Ryan C. Spring wrote:
I am cross-compiling the DROPS system for ARM and get compiler errors about "too many initializers" when it compiles the following statement from syscalls_impl.h (line 249)
l4_threadid_t preempter = L4_INVALID_ID; l4_threadid_t pager = L4_INVALID_ID;
When I initialize the unions without the defines, by hand as, it compiles.
l4_threadid_t preempter; preempter.raw = (l4_umword_t)-1; l4_threadid_t pager; pager.raw = (l4_umword_t)-1;
I'm using a TI-provided GCC 3.3.2 ARM crosscompiler. Is my cross-compiler to blame here? If so, could someone recommend a cross-compiler toolchain for ARM that doesn't error on this syntax?
I'm using a self-made one, 3.4 based, which works. 4.1 is also known to work. I can't remember we have tried 3.3 in the past.
Adam
l4-hackers@os.inf.tu-dresden.de