Mail Archives: djgpp/1995/06/19/12:55:23
Hi there...
I tried to compile a C++ version of the hello.c progie :
#include <iostream.h>
main ()
{
cout << "\nHello World!\n";
}
using the following command :
gcc -s hello.cc
and i got the following error messages :
iostream.cc (...) : undefined reference to '_ctype_'
stdstrbufs.cc (...) : undefined reference '_iob_'
iovfscanf.cc (...) : undefined reference '_ctype_'
any idea what I am doing wrong ?
btw i use the 950612 snapshot of V2.
(i unzipped it over v1.12m4... is this the correct way to install it ?)
tmL-
ps:
btw i tried the -s switch of the linker (thnx to all the people that told
me about this). The executable got quite smaller (~46kb) but there are still
some strings included like '.text' filenames etc etc. any way to strip those
too ?
ps2:
I read in the docs that GCC DOES generally support instruction scheduling.
is this supported for the i386 processor ?
- Raw text -