SV: [ECOS] Newbie needs help for Goahead webserver to eCos

Penell A/S, Kasper Hauge kh@penell.com
Tue Oct 30 05:47:00 GMT 2001


"Penell A/S, Kasper Hauge" wrote:
> 
> Hi.
> 
> I had tried to compile and build the Goahead webserver v. 2.1, to an eCos platform. But I run into some problems.

GCC 3.x? Add -lsupc++ to the link flags.

my arm-elf-gcc is version 3.0.2 20010924 (prerelease) and cannot find the -lsupc++ option.

arm-elf-gcc -o webcomp -nostartfiles -LF:/projects/PE201noa/WORK/SOFT/http/user1
/test_eCos/test_eCos_install/lib -Wl,--gc-sections -Ttarget.ld -nostdlib -lsupc+
+ -nostdlib -O2 -DWEBS -DUEMF -DOS="eCos" -DECOS -D__ECOS -IF:/projects/PE201noa
/WORK/SOFT/http/user1/test_eCos/test_eCos_install/include -I.. ../webcomp.c
../webcomp.c: In function `compile':
../webcomp.c:121: warning: comparison of distinct pointer types lacks a cast
/tools/H-i686-pc-cygwin/lib/gcc-lib/arm-elf/3.0.2/../../../../arm-elf/bin/ld: ca
nnot find -lsupc++
collect2: ld returned 1 exit status
make: *** [webcomp] Error 1

Kasper



More information about the Ecos-discuss mailing list