mikeg@dali.gatech.edu (Mike Gourlay) (11/14/90)
Hi I've built gcc on my HP 9000 series 300 (370), and I think g++, but I can't seem to get the libraries built. Also, I could not get the GNU linker or assembler built. The reason I say that I _think_ that g++ is built is that it compiled and it runs, but without the libraries, I can't get a program to run. Does someone out there have these built on a series 300? If so, may I please get the binaries from you, or some help with building it? Thanks a lot. Mike Gourlay mike@penguin.gatech.edu < HP address mikeg@nagel.gatech.edu gt5431b@prism.gatech.edu
cedman@golem.ps.uci.edu (Carl Edman) (11/14/90)
In article <1990Nov13.114405@dali.gatech.edu> mikeg@dali.gatech.edu (Mike Gourlay) writes: Hi I've built gcc on my HP 9000 series 300 (370), and I think g++, but I can't seem to get the libraries built. Also, I could not get the GNU linker or assembler built. The reason I say that I _think_ that g++ is built is that it compiled and it runs, but without the libraries, I can't get a program to run. Does someone out there have these built on a series 300? If so, may I please get the binaries from you, or some help with building it? Thanks a lot. OK, so here is my weekly post again. Maybe it would be better if everybody checked his earlier articles before he asks this question or do your archives expire that fast ? > [...] > If , on the other hand, you or anybody else wants to save himself the > hassle and get large parts of the GNU distribution pre-compiled for > HP 9000/300 machines, you can get the binaries via anon ftp from > "golem.ps.uci.edu". The archive includes gcc 1.37.1, g++ 1.37.1, > libg++ 1.37.0 , gdb 3.5, and assorted other GNU tools. Especially > if you want to install g++ I'd advise you to get the archive as > making g++ run correctly if very(!) much harder than gcc or any > other GNU program that I have seen. > > Carl Edman Carl Edman Theorectical Physicist,N.:A physicist whose | Send mail existence is postulated, to make the numbers | to balance but who is never actually observed | cedman@golem.ps.uci.edu in the laboratory. | edmanc@uciph0.ps.uci.edu
cedman@golem.ps.uci.edu (Carl Edman) (11/14/90)
My mailer refuses to reply to you and I assume this interests more people. Mike Gourlay wrote to me in a letter: >> Hello, >> >> Thanks for your reply. >> >> I have since installed the binaries from golem, but when I try to >> compile, I get the message that it can not find libc.a (in the case that >> I'm using gcc) , or that it can not find libm.a (g++). For the g++ program >> I never used the math library, so I don't know why it even bothered trying >> to use it. >> >> I used -L/lib with both g++ and gcc and in both cases, I got the >> message: >> ld: bad magic number in /lib/lib?.a() >> where ? is c for gcc and m for g++. >> >> What am I doing wrong? How do I fix it? I had gcc working before, but >> since I got the binaries from golem, I get this error. Can I get a copy of >> these libraries from you, if I need a different version from my current one? >> Where should they be (since gcc and g++ can't find them)? >> OK, mea culpa. Every single time I post the above message I get about half a dozen replies about someone not finding the libraries. And each time again I forget to mention that you have to use "mkhplib". Gcc and G++ use a different object-format than HP-UX so you need special libraries for GCC and G++. But fortunately my archive comes with the automatic library conversion program "mkhplib". I put the converted libraries in "/usr/local/lib/gnu". After that you shouldn't have any more problems. Carl Edman Theorectical Physicist,N.:A physicist whose | Send mail existence is postulated, to make the numbers | to balance but who is never actually observed | cedman@golem.ps.uci.edu in the laboratory. | edmanc@uciph0.ps.uci.edu