PastorTaz
July 20th, 2007, 02:50 AM
I'm working on a stack smashing exercise for the CEPT certification. The problem that I'm having is that I need to use a distro that does not have stack smashing protection and the company suggested using RedHat 9 with kernel version 2.4.20-8. I've tried that and there are no compilers installed and installing one is turning out to be a bear. I can untar, but when I try to ./confiture it gives this error
[root@localhost gcc-3.3]# ./configure
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /root/gcc-3.3 using "mt-frag"
./configure: line 8: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
I like Ubuntu, but it has stack smashing protection. I've tried to compile programs with gcc-3.3 and that worked for some, but it is not working for all. I'm currently running Feisty both native and VMWare.
Can anybody either help me with the compiler issue in RH9 or suggest a flavor of Ubuntu that meets the criteria?
Thanks,
[root@localhost gcc-3.3]# ./configure
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /root/gcc-3.3 using "mt-frag"
./configure: line 8: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
I like Ubuntu, but it has stack smashing protection. I've tried to compile programs with gcc-3.3 and that worked for some, but it is not working for all. I'm currently running Feisty both native and VMWare.
Can anybody either help me with the compiler issue in RH9 or suggest a flavor of Ubuntu that meets the criteria?
Thanks,