🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by unknown Fri, 15 Sep 1989 14:58
Req help bldg GNU gas 1.34 on hpux
#424
Author: unknown
Date: Fri, 15 Sep 1989 14:58
23 lines
1156 bytes
(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 <magic.h>
#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?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads