delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2006/08/29/18:17:59

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Authenticated: #27081556
From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
To: djgpp-workers AT delorie DOT com
Subject: Difficulty with absolute paths in #include lines
Date: Wed, 30 Aug 2006 00:07:12 +0200
User-Agent: KMail/1.8.2
MIME-Version: 1.0
Message-Id: <200608300007.12879.juan.guerrero@gmx.de>
X-Y-GMX-Trusted: 0
Reply-To: djgpp-workers AT delorie DOT com

While I was trying to port m4-1.4.6 I have noticed that latest configure scripts
generated by autoconf 2.60 seems to produce certain header files that contain
includes like this:

#include <c:/djgpp/include/sys/stat.h>

The above is only an example. It should be noticed the absolute path of the file.
I have modified the script in such a way that it produce installation independent
path like this:

#include </dev/env/DJDIR/djgpp/include/sys/stat.h>

Both versions of the path make the compilation fail. I have installed gcc 4.1.1.
May be it become possible to modify cpp in such a way that it will be able
to parse such include lines.
Meanwhile I will modify the script in such a way that it no longer produces
such absolute paths in the include-lines.

Regards
Juan M. Guerrero

- Raw text -


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