delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/01/18/01:46:44

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT Invalid>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: gpp cannot find c++ headers
Organization: Systematic Software
Message-ID: <rkh5n4pq1d72stn437kivoi0romatpvumn@4ax.com>
References: <7a71c30f0901161847y3bfbbdc3t388e0e71b5f8aa69 AT mail DOT gmail DOT com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
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" <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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019