Ok i am facing more problems:-
1.i ran gcc with wrapper as
sh wrap cc test.c
'wrap' is the wrapper u mentioned:-
#!/bin/sh
export PATH=/opt/gcc-2.95.3/bin:$PATH
export LD_LIBRARY_PATH=/opt/gcc-2.95.3/lib
exec "$@"
test.c is as follows:-
#include <stdio.h>
int main(int argc,char *argv[])
{
printf("hello");
return 0;
}
result:-
test.c:1:stdio.h: No such file or directory
So i installed the kernel headers and kernel sources...no change.Also stdio.h is
not present inside the include directory of gcc.So fine i changed the 1st line
to #include<stddef.h> so now it compiles but stops asking for 'as'....so i
install binutils now it assembles(i guess) & n ow it says:-
/usr/bin/ld:cannot open crt1.o:No such file or directory
so i go hav a look at /dev & there is no crt1.o .Is the output device
incorrectly mentioned somewhere. I tried compiling with -o option as
sh wrap cc -o a.o test.c
(i think i am using the -o option incorrectly...but i
am not sure....newbie here

)
still same reply .....cant open crt1.o
collect2:ld returned 1 exit status
So now i try c++
sh wrap cc test.cpp
test.cpp:-
#include <iostream.h>
int main(int argc,char *argv[])
{
cout<<"hello";
return 0;
}
result: big error basically it says
cant find libio.h which is #included in streambuf.h which in turn is #included in
iostream.h
2.Is there a way to startx automatically just before or after login....this would
then display the login screen if kde is installed or automatically start kde after
logging in at cmd line
i tried to modify some scripts in rc.d but there is no script for run level 3 rc.3
there are scripts only for rc.4 & rc.6...buts its mentioned that run level 3 is
default....how do i automatically start programs just before or after login??
3.u mentioned 'make' after exporting the PATH ...make what...could you please be slightly more detailed here...i am a relative noob