www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/04/19/01:12:35

From: morris AT linus DOT mer DOT utexas DOT edu
Date: Tue, 18 Apr 95 22:59:27 CDT
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: archive dependencies?

I just upgraded from dj111 and mak369 to dj112 and mak371 and I'm having
a couple of problems.  First, I can't get the makefile to make archives
in a manner that I'm happy with.  In my old Makefile, I specified
dependencies by using

libfoo.a(foo1.o) : foo1.h foo2.h foo3.h 

This no longer seems to work.  I could go into the other things I've
tried, mostly from the info file for mak371, but nothing has worked
so far.  I don't see any reason to describe what I've tried if someone
has something that works, and by "works", I mean something that 
doesn't try to update the library if none of the objectfile's 
dependencies have changed.  

2nd, the implementation of templates has changed.  It isn't clear
to me how to make template functions anymore.  I used to have them
in a defs.h file, but that gives a of "multiply defined" error
now.  I didn't have a problem with my template classes because
they are all either inlined or only used once for each class for
which I need the template.  Could someone give me some direction
here?

One last thing.  The djgpp files at gaia.ucs.orst.edu seem to have
many bad files.  Is there someone to whom I should tell this? 
Please respond to me directly as I am not yet on the mailing list.

Thanks,
Steve

- Raw text -


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