lcc build problem
- From: grey125@xxxxxxxxx
- Date: 13 Dec 2005 05:54:32 -0800
Hello,
I am trying to build and install lcc 4.2 in my linux m/c .
I am using Linux 2.4.20-8 i686(RedHat 9.2)./gcc version is
3.2.2(which are may not be
the concern for this issue).
I got error during make test. Following is the trace.
machine[46] setenv BUILDDIR $HOME/my_local/build_area/lcc-4.2/
machine[47] mkdir -p $BUILDDIR/include
machine[48] cp -p -R include/x86/linux/* $BUILDDIR/include
machine[49] ln -s /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/
$BUILDDIR/gcc
machine[50] make HOSTFILE=etc/linux.c lcc
machine[51] make all
So far it went fine. Now when I try ..
machine[52] make TARGET=x86/linux test
/u/krishanu/my_local/build_area/lcc-4.2//rcc -target=x86/linux
/u/krishanu/my_local/build_area/lcc-4.2//x86/linux/tst/8q.s:
/u/krishanu/my_local/build_area/lcc-4.2//lcc:
/u/krishanu/my_local/build_area/lcc-4.2//gcc/cpp: No such file or
directory
diff: /u/krishanu/my_local/build_area/lcc-4.2//x86/linux/tst/8q.2: No
such file or directory
diff: /u/krishanu/my_local/build_area/lcc-4.2//x86/linux/tst/8q.s: No
such file or directory
[press CNTRL-C]
I noticed it is not trying to pick the cpp of $BUILDDIR. It is trying
to pick the preprocessor from
gcc. But I have cpp0 as preprocessor in gcc path.
machine[53] ls /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/cpp0
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/cpp0
machine[54]
Can anyone please tell what is wrong ? And how do I fix it?
Thanks.
.
- Prev by Date: lcc intermediate representation
- Next by Date: fmod bug again
- Previous by thread: lcc intermediate representation
- Next by thread: fmod bug again
- Index(es):