Hi Neo,
Thanx!!!!
Configure command works now with the values i386-redhat-linux.....
Also sorry I had done some mistake
cat /proc/version gives the following output:
Linux version 2.6.25-14.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Thu May 1 06:28:41 EDT 2008
Let me actually tell you what Iam trying to do so that you could help me in a better way.
Iam trying to install the opentv SDK3.2 kit (interactive tv application ) from the link
Welcome to OpenTV .
Thier code is in ansi C and needs to be complied using the kit to get the ocode as the output.
Iam doing this for the first time and just following the instructions given in thier install file.
Install File says:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
the package.
4. Type `make install' to install the programs and any data files and
documentation.
Now Output for configure in my system is as follows:
I ran the command from the gcc2.60 directory as it has all the .c files present.
[vijv@137 gcc-2.60] ./configure i386-redhat-linux
Linked `config.h' to `./config/i386/xm-linux.h'
Linked `tm.h' to `./config/i386/linux.h'
Linked `aux-output.c' to `./config/i386/i386.c'
Linked `tconfig.h' to `./config/i386/xm-linux.h'
Linked `hconfig.h' to `./config/i386/xm-linux.h'
Linked `md' to `./config/i386/i386.md'
Merged i386/x-linux.
Merged c++ fragment(s).
Created `./Makefile'.
Merged i386/x-linux.
Created `cp/Makefile'.
Links are now set up for target i386-redhat-linux.
Now when I give
make command as per the second step in the same directory ,it gives me errors....Am I doing something wrong ?....or is this the rite way to do it.
Do let me know in case u need any more info from me.
output of make command:
make
cc -DIN_GCC -DPOSIX -g -I. -I. -I./config \
-DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i386-redhat-linux/2.6.0/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
-DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i386-redhat-linux/2.6.0/sys-include\" \
-DTOOL_INCLUDE_DIR=\"/usr/local/i386-redhat-linux/include\" \
-c `echo ./cccp.c | sed 's,^\./,,'`
cccp.c: In function ‘main':
cccp.c:1193: warning: incompatible implicit declaration of built-in function ‘strlen'
cccp.c:1228: warning: incompatible implicit declaration of built-in function ‘bzero'
cccp.c:1278: warning: incompatible implicit declaration of built-in function ‘strcpy'
cccp.c:1312: warning: incompatible implicit declaration of built-in function ‘strcpy'
cccp.c:1313: warning: incompatible implicit declaration of built-in function ‘strcat'
cccp.c:1347: warning: incompatible implicit declaration of built-in function ‘strcpy'
............................there are many similar warnings before the command completes.....
Thanx for ur time,
vijaya.