delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/01/21:30:02

From: "Ed Manlove" <emanlove AT ieee DOT org>
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1021127082106 DOT 8482F-100000 AT is>
Subject: Re: Expansion of "$srcdir" and '${DJDIR}' in gnu\binutl-2.121\build.djg\djconfig.sh
Lines: 39
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-Mimeole: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <9XyG9.854$es4.281833501@news.netcarrier.net>
Date: Sun, 1 Dec 2002 21:15:45 -0500
NNTP-Posting-Host: 207.207.243.57
X-Complaints-To: news AT netcarrier DOT com
X-Trace: news.netcarrier.net 1038793541 207.207.243.57 (Sun, 01 Dec 2002 20:45:41 EST)
NNTP-Posting-Date: Sun, 01 Dec 2002 20:45:41 EST
Organization: NetCarrier Internet Services
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> > I an trying to
> > understand how the above terms are expanded by configure and the
difference
> > between the single quotes '' and the double quotes"".
>
> '${DJDIR}' in single quotes is not expanded by the shell, while in double
> quotes it _is_ expanded immediatly.

Eli,

Thanks for the explanation. In trying to build gcc 2.95.2 for the h8300 I
get an error (the first one, which of course brought others I stupidly
wasted time with) in the course of fixing headers.  The error is shown here

Fixing headers into c:/djgpp/gnu/gcc-2.952/build.djg/gcc/include for
h8300-hitachi-hms target
./fixinc.sh: cd: c:/djgpp/h8300-hitachi-hms/sys-include: No such file or
directory (ENOENT)

As I dug into why this was occurring I realized that adding
the -with-headers parameter should solve this.  But I was having issue with
the proper formatting of the directory location, hence my question.  I have
tried several variations which yet to have successfully built.  The most
interesting results in a COPIED file generated by fixheader located in
c:\djgpp\gnu\gcc-2.952\build.djg\$DJGPP\/h8300-hitachi-hms/sys-include (or
something close to this).  Cute but not right.

If you noted the almost cross pollination of the two configure scripts for
binutls and gcc (i.e. the use of the --srcdir="$srcdir" --prefix='${DJDIR}'
in my gcc configure script) my first attempts to use the djconfig.sh script
to build gcc failed.  Since I was almost immediately successful with the
binutls script I copied and slightly modified it to the point of the above
error.  I will back track and retry the original script and see what I can
do to bring it to the point I am now at, fix this error, and successfully
build gcc for the h8300!

Ed


- Raw text -


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