Does anyone use DJGPP?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bart Garst
Date:  
Subject: Does anyone use DJGPP?
I sometimes use djgpp.
I may be able to help.
Can I have a look at your hello world code? You can mail it to me
off-list if you like.

Bart
ICQ: #31519659
Jabber:

On Wed, 2003-11-05 at 06:50, Aaron Cordova wrote:
> I have just downloaded DJGPP from www.delorie.com and I was trying to
> compile a prog that would just print the famous "Hello World!" in the
> terminal. But it wouldn't compile!!!! this is the error I got:
>
> In file included from c:/djgpp/lang/cxx/3.32/backward/iostream.h:31,
>                  from hello.cpp:2:
> c:/djgpp/lang/cxx/3.32/backward/backward_warning.h:32:2: warning: #warning 
> This file includes at least one deprecated or antiquated header. Please 
> consider using one of the 32 headers found in section 17.4.1.2 of the C++ 
> standard. Examples include substituting the <X> header for the <X.h> header 
> for C++ includes, or <sstream> instead of the deprecated header 
> <strstream.h>. To disable this warning use -Wno-deprecated.
> c:/djgpp/tmp/ccceaCCj.o(.text+0x27):hello.cpp: undefined reference to 
> `std::cout'
> c:/djgpp/tmp/ccceaCCj.o(.text+0x2c):hello.cpp: undefined reference to 
> `std::basic_ostream<char, std::char_traits<char> >& std::operator<< 
> <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> 
>  >&, char const*)'
> c:/djgpp/tmp/ccceaCCj.o(.text+0x58):hello.cpp: undefined reference to 
> `std::ios_base::Init::Init[in-charge]()'
> c:/djgpp/tmp/ccceaCCj.o(.text+0x77):hello.cpp: undefined reference to 
> `std::ios_base::Init::~Init [in-charge]()'
> c:/djgpp/tmp/ccceaCCj.o(.eh_frame+0x11):hello.cpp: undefined reference to 
> `___gxx_personality_v0'
> collect2: ld returned 1 exit status

>
> I know how to deal with the warning but not the error. I searched the
> delorie lists and didn't find any help. If you have any ideas. I would
> greatly appreciate the help!
>
> _________________________________________________________________
> MSN Shopping upgraded for the holidays! Snappier product search...
> http://shopping.msn.com
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss