Mechouk Nicolas wrote:
Hi !
I try to compile lwip librairy under EDK on windows XP but EDK returns
an error.
My library version is (STABLE-0_6_3)
That's extremely old.
powerpc-eabi-gcc -Wall -gdwarf -DIPv4 -msdata=eabi -mcpu=403
-I./lwip/src/include -I./lwip/src/include/ipv4
-I./contrib/ports/v2pro -I./contrib/ports/v2pro/include
-I../../../include -c lwip/src/core/mem.c
*cc1: error: unrecognised debug output level "dwarf"*
make[1]: *** [mem.o] Error 1
make[1]: Leaving directory
`/cygdrive/.../V4/ppc405_0/libsrc/lwip_v1_00_a/src'
Anyone have a solution for me please ????
Probably because it's an old port, GCC has moved on and no longer accepts
-gdwarf, which implies Dwarf v1 - just about everything is using dwarf v2
at least now. You'll need to edit your makefiles to just use plain -g
instead, which should work fine.
Jifl