Mail Archives: djgpp/2009/01/18/01:46:44
On Fri, 16 Jan 2009 21:47:16 -0500 in comp.os.msdos.djgpp, "Matt
Gregory" <mgregory AT microdine DOT com> 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
- Raw text -