Dear forummers,
I have recently installed Lion on my macbook and then I installed the new Xcode, but upon discovering that the terminal gcc was no longer working I also installed that through Xcode(sth like command line tools).
Anyway, gcc is installed, but it works very strangely. The function rand() began no longer working properly(always giving me approx. same numbers), and even a simple for loop stopped working, getting stuck in the last term of it and not being able to escape from it.
I might post code here, but it won't be of use: My program was working perfectly till I got the new gcc. I can't believe I am the only one having difficulties with the new gcc.
Upon entering "gcc -v" it returns: gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
I have recently installed Lion on my macbook and then I installed the new Xcode, but upon discovering that the terminal gcc was no longer working I also installed that through Xcode(sth like command line tools).
Anyway, gcc is installed, but it works very strangely. The function rand() began no longer working properly(always giving me approx. same numbers), and even a simple for loop stopped working, getting stuck in the last term of it and not being able to escape from it.
I might post code here, but it won't be of use: My program was working perfectly till I got the new gcc. I can't believe I am the only one having difficulties with the new gcc.
Upon entering "gcc -v" it returns: gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)