X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Brian Inglis Newsgroups: comp.os.msdos.djgpp Subject: Re: gpp cannot find c++ headers Organization: Systematic Software Message-ID: References: <7a71c30f0901161847y3bfbbdc3t388e0e71b5f8aa69 AT mail DOT gmail DOT com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 65 NNTP-Posting-Host: 68.147.114.135 X-Complaints-To: internet DOT abuse AT sjrb DOT ca X-Trace: newsfe01.iad 1232260251 68.147.114.135 (Sun, 18 Jan 2009 06:30:51 UTC) NNTP-Posting-Date: Sun, 18 Jan 2009 06:30:51 UTC Date: Sat, 17 Jan 2009 23:30:51 -0700 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Fri, 16 Jan 2009 21:47:16 -0500 in comp.os.msdos.djgpp, "Matt Gregory" wrote: >I can't compile a c++ program on my desktop computer. It works fine >on my notebook, though. I copied the DJGPP folder from the notebook >to my desktop. All the relevant folders are the same on both >machines. The only thing I can think of is maybe it's clashing with >cygwin somehow. Maybe gpp is calling the cygwin preprocessor or >something, I don't know. > >Make output follows. > >Thanks! >Matt > > >C:\Document\NMU\CS222\program1>make >gpp -O3 -Wall -c div.cpp >In file included from div.cpp:5: >c:/progapp/djgpp/lang/cxx/3.23/cstdlib:49:28: bits/c++config.h: No such file or >directory (ENOENT) exe should be gcc, gxx (DOS), g++ (Win), not gpp -- preprocessor only path should be c:/progapp/djgpp/include/cxx/3.23/ not c:/progapp/djgpp/lang/cxx/3.23/ unless paths changed between 3 and 4 check with gxx --print-search-dirs check DJGPP env var set c:\ > cd c:\progapp\djgpp c:\ > echo %DJGPP% c:\progapp\djgpp > set DJGPP=c:/progapp/djgpp/djgpp.env check header.gcc in the following include dirs c:\progapp\djgpp > find . -name header.gcc ./lib/gcc/djgpp/4.32/include/header.gcc ./include/cxx/4.32/bits/header.gcc ./include/cxx/4.32/debug/header.gcc ./include/cxx/4.32/djgpp/bits/header.gcc ./include/cxx/4.32/djgpp/header.gcc ./include/cxx/4.32/ext/header.gcc ./include/cxx/4.32/ext/pb_ds/detail/binomial_heap_base_/header.gcc ./include/cxx/4.32/ext/pb_ds/detail/cc_hash_table_map_/header.gcc ./include/cxx/4.32/ext/pb_ds/detail/gp_hash_table_map_/header.gcc ./include/cxx/4.32/ext/pb_ds/detail/hash_fn/header.gcc ./include/cxx/4.32/ext/pb_ds/detail/header.gcc ./include/cxx/4.32/ext/pb_ds/detail/list_update_policy/header.gcc ./include/cxx/4.32/ext/pb_ds/detail/resize_policy/header.gcc ./include/cxx/4.32/ext/pb_ds/detail/trie_policy/header.gcc ./include/cxx/4.32/ext/pb_ds/header.gcc ./include/cxx/4.32/header.gcc ./include/cxx/4.32/parallel/header.gcc ./include/cxx/4.32/tr1/header.gcc ./include/cxx/4.32/tr1_impl/header.gcc -- Thanks. Take care, Brian Inglis Calgary, Alberta, Canada Brian DOT Inglis AT CSi DOT com (Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca) fake address use address above to reply