On Wednesday 10 January 2001 15:20, you wrote:
Hi all, I have installed some programs which use X11 and a compilation with
gcc, I know, uses the option -lX11 to compiler look for libX11.so, which is
in the /usr/include directory! OK!
Actually, the libX11.so won't be in /usr/include, but in
All right, I'm stuck... After installing the GCC 2.95.2 package and thinking
everything was hunky-dorey, I can't even compile a simple 1-line C program.
/usr/bin/ld is complaining about crt1.o. What is crt1.o and collect2?? The output
from my compilation is below:
cc -o test test.c
Hello, I am having problems when using the
./configure command. I am receiving an error that says
configure:error: installation or configuration
problem: C compiler cannot create executables.
has anyone had this type of error before and what
needs to be done?
Math lib is not included in standard C lib. You need to link to it
specifically. Use
gcc -lm sample.c
On Fri, 21 Jul 2000, Sergey Panasyuk wrote:
Hi, I am trying to compile some c code and have problems with gcc.
This is my code saved as sample.c
#includestdio.h
#includemath.h