Path: utzoo!utgpu!watmath!uunet!ginosko!brutus.cs.uiuc.edu!psuvax1!husc6!paperboy!pnh From: pnh@morocco.osf.org (unknown) Newsgroups: gnu.utils.bug Subject: Req help bldg GNU gas 1.34 on hpux Message-ID: Date: 15 Sep 89 14:58:24 GMT Sender: news@OSF.ORG Distribution: gnu Organization: Open Software Foundation Lines: 23 (Building on HP 9000/300) I'm having problems building write.c from the gas-1.34 distribution on prep.ai.mit.edu. The offending section is md_number_to_chars((char *)&the_exec.a_machtype, EXEC_MACHINE_TYPE, sizeof(the_exec.a_machtype)); What I've fixed so far is the original definition #define EXEC_MACHINE_TYPE HP9000S200_ID which only makes sense when you rewrite as #ifdef hpux #include #define EXEC_MACHINE_TYPE HP9000S200_ID #endif (HP9000S200_ID is defined in HP's include only). Also, there is neither a a_machtype member in GNU a.out.h definition of the exec structure, nor in the a_out.h on the HP. The .o' that result from this do not pass either GNU nm or HP-UX nm. Can anyone offer to post their working write.c etc for HP-UX?