To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 906
    MPD Builder —Jacob Sparre Andersen
   I have written a MPD Builder that I believe is slightly easier to use than the DOS batch file Steve released earlier. If you run it as mpd_builder -model mymodel It will collect "mymodel.dat" and all the sub- and sub-sub- files it refers to in the (...) (26 years ago, 12-Feb-99, to lugnet.cad)
   
        Re: MPD Builder —Steve Bliss
   (...) I've made a DOS binary. Wow, the .exe is 600K. Does that sound reasonable? Steve (26 years ago, 12-Feb-99, to lugnet.cad)
   
        Re: MPD Builder —Jacob Sparre Andersen
   (...) It sounds like it includes debugging information. I used quite a few heavy libraries so even the stripped version will probably be close to 300 kb (there should be a "strip" utility in GNAT). Play well, Jacob ---...--- -- E-mail: sparre@nbi.dk (...) (26 years ago, 15-Feb-99, to lugnet.cad)
   
        Re: MPD Builder —Steve Bliss
   (...) Ahh, running it through strip (with default options, I didn't decipher the info strip spits out when run with no params) gave a 248K file. Much better. You want to put the DOS buildmpd.exe on your webpage with the other files, Jacob? Do you (...) (26 years ago, 15-Feb-99, to lugnet.cad)
   
        Re: MPD Builder —Jacob Sparre Andersen
   (...) Yup. (...) Would be fine. Can you zip it and send it to me? (...) Was there any other problem than the long file names? I can do the renaming on Linux too (and it's only neccessary for DOS), so you don't have to send those to me. Play well, (...) (26 years ago, 15-Feb-99, to lugnet.cad)
   
        Re: MPD Builder —Steve Bliss
     (...) Will do. (...) The problems were: a) The long file names caused trouble linking. b) GNAT/GW-ADA requires the package name to be the same as the file name (don't know if this is a general requirement of Ada or not). If there had been any (...) (26 years ago, 15-Feb-99, to lugnet.cad)
   
        Re: MPD Builder —Steve Bliss
   Actually, one anomoly I noticed is that the processing messages aren't written to stdout. I couldn't pipe them to a file. I don't know if this is strictly a DOS-thing, or an Ada-thing, or something else. Steve (...) (26 years ago, 15-Feb-99, to lugnet.cad)
   
        Re: MPD Builder —Jacob Sparre Andersen
   (...) This is kind of a Unix thing. You write error and processing messages to stderr so they don't interfer with the data flow (Unix uses pipes a lot). I can't remember how you redirect stderr to stdout in DOS (but it should be in the manuals). (...) (26 years ago, 16-Feb-99, to lugnet.cad)
   
        Re: MPD Builder —Steve Bliss
   (...) OK, I can't argue with that. (...) Hmm. I could be wrong, but I don't think there is any reasonable way to manage stderr. Definitely no command-line directive (like piping), and I can't find any command in the reference. Oh, well. Not a big (...) (26 years ago, 16-Feb-99, to lugnet.cad)
   
        Re: MPD Builder —Jeremy H. Sproat
   (...) You can with just about any decent 3rd-party command shell, e.g. 4DOS (1), bash, etc. Cheers, - jsproat 1. For those unfamiliar with it, 4DOS is a command.com almost-clone, with a ton of new (and useful) features that you'd normally find in (...) (26 years ago, 16-Feb-99, to lugnet.cad)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR