This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gnus gnot working for me


Drlavuk@aol.com writes:

> hey i have mingw installed on two computers now and it wont work
>
> i have the path variable set
>
> it runs the compiler and i am able to get an object file
>
> but when i use gcc with the object file it gives me undefined reference to 
> std::ios_base::init
>
> basically an undefined reference to any command i give it, its a simple hello 
> world program and i dont know what i should do to try and fix it 
>
> they are both pentiums

Use g++ instead of gcc for linking c++ applications.

Usually, questions about MinGW get more attention on the mingw mailing
list.

-- 
Oscar


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]