Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!smsdpg!seg From: seg@smsdpg.uu.net (Scott Garfinkle) Newsgroups: comp.sys.hp Subject: crt0 for gcc with gas/ld Message-ID: <353@smsdpg.uu.net> Date: 19 Jun 89 15:12:40 GMT References: <2700003@hpvcfs1.HP.COM> Reply-To: seg@smsdpg.UUCP (Scott Garfinkle) Organization: SMS Data Products Group, Inc. Lines: 12 I'd like to put up gcc 1.35/gas 1.34 (and g++ 1.35) on our hp 9000/3xx machines running HP-UX 6.5. Everything seems to go ok until link time. The gnu loader complains (justifiably) about the format of /lib/crt0.o. I presume that I need to run some version of crt0.c from emacs through this version of gcc so as to get the right format; does someone have a patch for crt0.c from emacs to do this? I have the patch to crt0.c to run emacs, but this includes opcodes that choke gas. Can someone who has gotten this configuration (hp9k320g) to work give me a hand? Thanks! Scott E. Garfinkle SMS Data Products Group, Inc. seg@smsdpg.uu.net