hi,
i am using gentoo and have installed code::blocks. i also have installed gcc (GCC) 4.2.0 and GNU gdb 6.6
now i've created an new project an would test the "hello world" code but there is my problem, i couldn't build it beacuase of the following error:
-------------- Build: Debug in test ---------------
WARNING: Can't read file's timestamp: /home/unknown/coding/test/main.c
Linking console executable: bin/Debug/test
g++: obj/Debug/main.o: No such file or directory
g++: no input files
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
what am i doin wrong?
thx4help!
sorry for my bad english (please correct me if i'am wrong with it) i'am still learning :)
i have created the and added the following line: dev-util/codeblocks -fno-strict-aliasing
and after deleting the .codeblocks directory in my homefolder and the projects and unmerging codeblocks i recompiled it! but i still have the problem!
my make.conf has the following lines:
USE="X alsa cdr crypt dri doc dvd encode gif gtk java javascript jpeg jpeg2k nvidia opengl qt3 sse sse2 ssl"
CFLAGS="-march=pentium4 -O3 -pipe"
maybe there is a problem....
or have i understood anything wrong?
Remove the line you added to /etc/portage/package.use, it's of no use there.
Try this in a shell:
CFLAGS="-march=pentium4 -O3 -pipe -fno-strict-aliasing" emerge codeblocks
Or, if you want, modify /etc/make.conf so it includes -fno-strict-aliasing in CFLAGS.