>At 01:44 PM 3/30/99 -0800, Ian Lance Taylor wrote: > >>Boy, this sounds like it could get ugly. What sort of calls do you >>need to generate? > >There is a binary filecode that needs to get added to the filelabel. The >fopen() call should be replaced with something called HPFopen(). Alternately, >I could build an fopen() wrapper that in turn calls HPFopen(), but I still >need to be able to identify which attribute (relocatable, archive or program) >needs to be applied to the open through an additional parameter. > >>I don't think that will be right. Think about using HP3000 as the >>host for a cross compiler to some other system. > >Good point. My other choice is to build a new BFD for each type, but that could >get ugly too, since bfd_object can apply to both relocatable objects as well as >program objects. At least bfd_archive is separate. -- Mark Klein DIS International, Ltd. http://www.dis.com 415-892-8400 PGP Public Key Available