[ECOS] Re: A problem in building the HTTP web server application

sandeep shimple0@yahoo.com
Wed Oct 13 19:22:00 GMT 2004


>>
>>>      libhttpd-1.3/src
>>>   i386-elf-gcc c D_eCos Wall Wpointer-arith      
>>>      -Wstrict-prototype Winline Wundef
>>>Woverloaded-       virtual g O2 ffunction-sections
>>>fdata-sections      fno-rtti fno-exceptions
>>>fvtable-gc finit-           priority
>>>I/home/muna/work/httpd_test/ecos-kernel/     
>>
>>install
>>
>>>-I/home/muna/work/httpd_test/                  
>>>libhttpd-1.3/src test_httpd.c 
>>>     i386-elf-gcc: Installation problem, cannot
>>
>>exec cc1: No such file or directory
>>>   make: *** [test_http.o] Error 1
>>>

i have an experience when I hadn't installed some gcc toolchain in path it was 
configured for (/usr/local), but instead in different place (say /home/testing) 
and made appropriate changes to PATH variable.

when i used to invoke the gcc compiler, it will not find cc1 and system include 
files, though i could see them there.

this is how you can find the prefix for which it was configured.

[~] gcc -v
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/specs
Configured with: ../gcc-3.2.3/configure --prefix=/usr --enable-shared 
--enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld 
--verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.2.3

hope it helps
sandeep



-- 
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