lcc errors on cygwin

  • Follow


Hello All,

I have tried in vain to instal lcc on cygwin. The build has the
following problems:

1. The build gives a warning while installing the driver -

$ make HOSTFILE=etc/linux.c lcc
cc -g -c -o /build/opt//lcc.o etc/lcc.c
etc/lcc.c:220: warning: conflicting types for built-in function
'execv'
cc -g -c -o /build/opt//host.o etc/linux.c
cc -g -o /build/opt//lcc /build/opt//lcc.o /build/opt//host.o


2. make TARGET=x86/linux test
src/run.sh: unknown combination "x86/linux"
make: *** [/build/opt//x86/linux/tst/8q.s] Error 1

3. And finally,

$ ./lcc.exe -c test.c
../lcc: /usr/local/lib/lcc/gcc/cpp: No such file or directory

Is lcc portable on Cygwin ?

Thanks in advance,
Madhura

0
Reply madhurap (2) 3/10/2010 10:54:05 AM

../lcc: /usr/local/lib/lcc/gcc/cpp: No such file or directory
I get the same error on linux too


On Mar 10, 11:54=A0am, lcc-trials <madhu...@gmail.com> wrote:
> Hello All,
>
> I have tried in vain to instal lcc on cygwin. The build has the
> following problems:
>
> 1. The build gives a warning while installing the driver -
>
> $ make HOSTFILE=3Detc/linux.c lcc
> cc -g -c -o /build/opt//lcc.o etc/lcc.c
> etc/lcc.c:220: warning: conflicting types for built-in function
> 'execv'
> cc -g -c -o /build/opt//host.o etc/linux.c
> cc -g -o /build/opt//lcc /build/opt//lcc.o /build/opt//host.o
>
> 2. make TARGET=3Dx86/linux test
> src/run.sh: unknown combination "x86/linux"
> make: *** [/build/opt//x86/linux/tst/8q.s] Error 1
>
> 3. And finally,
>
> $ ./lcc.exe -c test.c
> ./lcc: /usr/local/lib/lcc/gcc/cpp: No such file or directory
>
> Is lcc portable on Cygwin ?
>
> Thanks in advance,
> Madhura

0
Reply lcc 3/11/2010 3:58:59 PM


lcc-trials <madhurap@gmail.com> writes:

> ./lcc: /usr/local/lib/lcc/gcc/cpp: No such file or directory
> I get the same error on linux too
well  it would suprise me really to see the C preprocessor installed
into that locathon I bet you can find the cpp in /usr/bin and at the
same place on cygwin if gcc is installed. So lcc needs some "external"
preprocessor. So you better make sure that you have all the gcc
development tools installed....

Regards
Friedrich

-- 
Please remove just-for-news- to reply via e-mail.
0
Reply Friedrich 3/11/2010 6:03:09 PM

2 Replies
235 Views

(page loaded in 0.055 seconds)

Similiar Articles:













7/11/2012 3:14:07 AM


Reply: