delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/20/05:19:25

From: croley AT caldera DOT corp DOT mot DOT com (David Croley)
Subject: fixincludes problem
20 Nov 1998 05:19:25 -0800 :
Message-ID: <36546F2B.2F11B144.cygnus.gnu-win32@sarl.corp.mot.com>
Reply-To: croley AT caldera DOT corp DOT mot DOT com
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

I am building a cross-compiler using gcc-2.8.1 and I noticed that
"fixincludes" is broken under both B19 and B20.

The problem is that fixincludes depends on "file" and "file." being diffirent
files. It appears that under cygwin this is not the case, as "file." is
created as "file".

It is simple to change fixincludes to use something like "file.tmp" instead of
"file.", but it would be better to change cygwin. It appears the the latest
fixincludes included with egsc-1.1 has the same problem.

sorry, no diffs around...

for gcc-2.8.1...
lines 337-338, change from
        ' $2/$file > $2/$file.
        mv $2/$file. $2/$file
to
        ' $2/$file > $2/$file.tmp
        mv $2/$file.tmp $2/$file

David

-- 
David Croley		 : "Why, sometimes I've believed as many as six
croley AT sarl DOT corp DOT mot DOT com : impossible things before breakfast."
Motorola - SARL		 :  -- The Queen of Hearts, Lewis Carroll, in
Austin, Texas		 : "Through the Looking Glass"
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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