X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <44B52763.20804@obbligato.org> Date: Wed, 12 Jul 2006 11:46:27 -0500 From: David Greene User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: ar: invalid bfd target Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Cray-VirusStatus: clean Reply-To: djgpp AT delorie DOT com Sorry if this has been asked before. I can't seem to find the mailing list archives on delorie.com. When I compile objects with djgpp gcc and run ar to create a library, I get the following error: C:/DJGPP/BIN/AR.EXE @project/lib/libproj.ac c:/djgpp/bin/ar.exe project/lib/libproj.ac: Invalid bfd target I'm running this inside standard GNU make 3.81 (NOT djgpp make!). Therefore I create the file project/lib/libproj.ac manually during the build. If I run the command in a cygwin shell, I get the following: $ C:/DJGPP/BIN/AR.EXE @project/lib/libproj.ac c:/djgpp/bin/ar.exe: creating project/lib/libproj.a c:/djgpp/bin/ar.exe: project/lib/libproj.a: No such file or directory (ENOENT) However: $ ls project/lib/libproj.a project/lib/libproj.a This is on a Windows XP machine. project/lib/libproj.ac: r project/lib/libproj.a project/lib/a.o project/lib/b.o project/lib/c.o Any ideas about what's going on and how to fix it? Thanks. -Dave