Path: utzoo!censor!dybbuk!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!samsung!ernie.viewlogic.com!mobius!greg From: greg@mobius.Viewlogic.COM (Gregory Larkin) Newsgroups: comp.os.minix Subject: Compiling Minix ar(1) on a SPARC Keywords: Probably crazy Message-ID: <1991Jan8.152501@mobius.Viewlogic.COM> Date: 8 Jan 91 20:25:01 GMT Article-I.D.: mobius.1991Jan8.152501 Sender: news@viewlogic.com (News Administrator) Reply-To: greg@mobius.Viewlogic.COM (Gregory Larkin) Organization: Viewlogic Systems, Inc., Marlboro, MA Lines: 33 OK, call me crazy, but..... I posted this morning about doing source code patching for Minix on a SPARCStation to get 1.5.10 sources. Well, I have transferred all of the source code successfully and now I want to start patching. The only problem is this: the .a files from Minix are not the same format as SunOS .a files, thus the Sun ar(1) cannot extract the Minix .a files. So I think "No problem, I'll just compile ar.c from Minix on the Sun". Well, this does and doesn't work. cc(1) will not compile it, gcc(1) will.. So I go with gcc!! I have a working executable, but I used Sun header files, so it will not recognize the Minix .a format yet. I noticed the presence of a file /usr/include/ar.h (both in Minix and SunOS). I would expect this file to be included by ar.c, but it is not!!! It is not included by any .h file that ar.c includes, either! Does anyone know how I can compile Minix's ar.c on the Sun, with the correct ar.h information?? Thanks for any help, -- Greg Larkin (ASIC Engineer) Viewlogic Systems, Inc. (The CAE Company) 293 Boston Post Road West ____________________________________________ Marlboro, MA 01752 |"This is a fragile ball we are living on; | 508 480 0881 x321 |it's a miracle and we are destroying it.."| Email: greg@Viewlogic.COM |Peter Garrett, Midnight Oil | --------------------------------------------