Im trying to install the MinGW compiler on my Windows XP Laptop, but i'm having a few difficulties.

I had no problems with the installation itself, and the PATH settings went smooth, but i've hit a brick wall now.

I'm trying to compile a Hello World app:

Code:
#include <iostream>

int main()
{
	std::cout << "Hello World!";
	std::cin.ignore();
}
But im getting a long list of errors:

Code:
hello.cpp:7:2: warning: no newline at end of file
C:\DOCUME~1\Tue\LOKALE~1\Temp/ccisbaaa.o:hello.cpp:(.text+0xd): undefined refere
nce to `std::string::size() const'
C:\DOCUME~1\Tue\LOKALE~1\Temp/ccisbaaa.o:hello.cpp:(.text+0x60): undefined refer
ence to `std::string::operator[](unsigned int) const'
C:\DOCUME~1\Tue\LOKALE~1\Temp/ccisbaaa.o:hello.cpp:(.text+0x9f): undefined refer
ence to `std::string::operator[](unsigned int) const'
C:\DOCUME~1\Tue\LOKALE~1\Temp/ccisbaaa.o:hello.cpp:(.text+0xce): undefined refer
ence to `std::string::operator[](unsigned int) const'
C:\DOCUME~1\Tue\LOKALE~1\Temp/ccisbaaa.o:hello.cpp:(.text+0x135): undefined refe
rence to `std::cout'
C:\DOCUME~1\Tue\LOKALE~1\Temp/ccisbaaa.o:hello.cpp:(.text+0x13a): undefined refe
rence to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <st
d::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char
const*)'
C:\DOCUME~1\Tue\LOKALE~1\Temp/ccisbaaa.o:hello.cpp:(.text+0x152): undefined refe
rence to `std::cin'
C:\DOCUME~1\Tue\LOKALE~1\Temp/ccisbaaa.o:hello.cpp:(.text+0x157): undefined refe
rence to `std::istream::ignore(int, int)'
C:\DOCUME~1\Tue\LOKALE~1\Temp/ccisbaaa.o:hello.cpp:(.text+0x17f): undefined refe
rence to `std::ios_base::Init::Init()'
C:\DOCUME~1\Tue\LOKALE~1\Temp/ccisbaaa.o:hello.cpp:(.text+0x19a): undefined refe
rence to `std::ios_base::Init::~Init()'
collect2: ld returned 1 exit status
Looks a bit like linking errors, but i'm not sure, how do i fix this?