Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!richsun!kjohn From: kjohn@richsun.UUCP (John Kjellman) Newsgroups: comp.sys.amiga.tech Subject: Re: GNU's ANSI C compiler Message-ID: <355@richsun.UUCP> Date: 30 May 89 22:44:04 GMT References: <89May26.160931edt.9325@ois.db.toronto.edu> <18890@cup.portal.com> Reply-To: kjohn@richsun.UUCP (John Kjellman) Organization: RICH Inc. , Franklin Park,IL Lines: 73 In article <18890@cup.portal.com> thad@cup.portal.com (Thad P Floryan) writes: >The question arose concerning the size of the GNU ANSI C compiler. > >I have it running on my 3B1 systems (68010) and present below a directory >listing for your perusal. The gcc, cc1 and cpp executables shown below were >compiled by gcc itself with full optimizing and are "stripped" (e.g. no >symbols or other debugging info; prior to optimizing and stripping, they were >about twice the shown sizes). > >If one has sufficient RAM, the compiler "should be" (famous last words! :-) >portable to and operable on the Amiga given sufficient diligence on the part >of the portee. > >My belief is that cross-compilation is the ONLY sane first step. The gcc [stuff deleted about what a pain it is to port GNU CC (tell me about it :-)] >In any event, here are the directory listings (these are of version 1.34; the >latest version 1.35 I have on another 3B1 which isn't connected to my Amiga): > >ksh 1/1667> ls -l /usr/local/bin/gcc /usr/local/lib/g* >-rwxr-xr-x 2 thad users 12368 Apr 28 02:21 /usr/local/bin/gcc >-rwxr-xr-x 2 thad users 484476 Apr 28 02:26 /usr/local/lib/gcc-cc1 >-rwxr-xr-x 5 thad users 33232 Apr 28 02:22 /usr/local/lib/gcc-cpp >-rw-r--r-- 2 thad users 18030 Apr 24 04:25 /usr/local/lib/gcc-gnulib >/usr/local/lib/gcc-include: >total 13 >-rw-r--r-- 2 thad users 708 Dec 26 02:12 assert.h >-rw-r--r-- 2 thad users 1161 Dec 26 02:16 limits.h >-rw-r--r-- 2 thad users 776 Dec 26 02:17 stdarg.h >-rw-r--r-- 2 thad users 393 Dec 26 02:17 stddef.h >-rw-r--r-- 2 thad users 0 Feb 5 16:03 va-sparc.h >-rw-r--r-- 2 thad users 1222 Dec 26 03:23 va-spur.h >-rw-r--r-- 2 thad users 802 Feb 5 16:03 varargs.h >ksh 1/1667> > > >Thad Floryan [ thad@cup.portal.com (OR) ..!sun!portal!cup.portal.com!thad ] Hold on, let's get this straight. Thad is right, it IS NOT IMPOSSIBLE, JUST IMPROBABLE :-). Ken Marshall, Stan Gibbs, Case Larsen and I are working (slowly :-) on a port of GNU CC to the Amiga. We (I should say Ken) have come up with the appropriate files to get a SUN version of GNU CC to produce A68K assembly output (with a little help from AWK :-). Our plan is to use this cross-compiling environment to compile the GNU stuff on the SUN, move it over to the Amiga, and from there re-compile it (whew!). Of course we will need to get a PD clib (I heard rumors of one coming down the net sometime this summer .... :-), etc. If anyone would care to lend a hand (how good did you say your code was? :-). Please EMail me and we'll talk (or type depending on your point of view :-). ktm@rice.edu (Ken Marshall) stan@hpcvcae (Stan Gibbs) clarsen@garnet.berkeley.edu (Case Larson) kjohn@richsun.uucp (John "KJohn" Kjellman) P.S. (you knew this was coming right?) If you know of any PD Amiga (or UNIX :-) libs we could make use of PLEASE LET US KNOW !!!!! -- | Amiga ///.5K| Disclaimer: This is only a dream, it's only a dream ......... | | Manic/// 1K| KJohn- The man without an Amiga :-(. | | \\\/// 2K| (How much was the A2500/3000 again ? :-) | | \XX/ 2.5K| kjohn@richp1 or [ purdue | cs.ubc | mcdchg ] ! richp1 ! kjohn |