This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: goAhead server
- From: Gary Thomas <gary at mlbassoc dot com>
- To: baljeet singh <baljeet45 at yahoo dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Wed, 02 Jun 2004 12:59:43 -0600
- Subject: Re: [ECOS] goAhead server
- Organization: MLB Associates
- References: <20040602181213.52871.qmail@web60806.mail.yahoo.com>
On Wed, 2004-06-02 at 12:12, baljeet singh wrote:
> All,
>
> Has anybody actually compiled and run goAhead server
> under ecos?
>
> Latest error I have during make is that for one file
> (webcomp.c), native compiler should be used instead of
> the regular compiler being used by other files. Any
> specific reason for this?
Yes - that program is used to build the internal format of web pages.
It runs on the host - before the actual application is built - not
on the target, thus it must use the host compiler.
>
>
> The error is as follows:
>
>
> Owner@NUVO-DESKTOP /ecos-c/workdir/ws031202/ecos
> $ make
> cc -o webcomp -O2 -DWEBS -DUEMF -DOS="Linux" -DLINUX
> -I.. ../webcomp.c
> cc: not found
> make: *** [webcomp] Error 127
>
> Owner@NUVO-DESKTOP /ecos-c/workdir/ws031202/ecos
> $
>
> Make file has a note that says that:
>
> #
> # This tool needs to be built using the native C
> compiler
> #
> webcomp:
> cc -o webcomp -O2 -DWEBS -DUEMF -DOS="Linux" -DLINUX
> -I.. ../webcomp.c
>
Install the C compiler (and associated tools) into CygWin.
Better yet, use an HTTP server which is better supported on eCos
like the internal package. An alternative solution can be found
at http://www.mlbassoc.com/examples/build_httpd.html
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss