Thread View: comp.sys.amiga.tech
6 messages
6 total messages
Started by Frank McPherson
Thu, 10 Jan 1991 02:02
GCC
Author: Frank McPherson
Date: Thu, 10 Jan 1991 02:02
Date: Thu, 10 Jan 1991 02:02
20 lines
1295 bytes
1295 bytes
I'm trying to get the newest version (agcc901022.lzh) of gcc set up on the
Amiga 3000 right now. I'm having problems. First, there is a file, amiga.lib,
which I don't have, nor have I been able to find it. Where can I get it?
When gcc says it needs the amiga include files, which ones are those?
Specically, a line from the gcc setup file says,
; COMPILER-HEADERS: is where the Amiga system includes are.
Where do I get THOSE?
Lastly, at least for now, why, when I attempt to run gcc on the following
simple program
main()
{
printf("Good Morning!\n");
}
, does GCC completely lock my computer? The screen goes blank, my monitor
even starts to whine. I have the stack set to the 131072 bytes they recommend.
Thanks for any help!
-- Frank McPherson INTERNET: fmcphers@vttcf.cc.vt.edu --
Re: GCC
Author: Kevin Klop
Date: Fri, 11 Jan 1991 01:24
Date: Fri, 11 Jan 1991 01:24
31 lines
1817 bytes
1817 bytes
In article <9101100202.AA139209@vttcf.cc.vt.edu> fmcphers@VTTCF.CC.VT.EDU (Frank McPherson) writes:
>I'm trying to get the newest version (agcc901022.lzh) of gcc set up on the
>Amiga 3000 right now. I'm having problems. First, there is a file, amiga.lib,
>which I don't have, nor have I been able to find it. Where can I get it?
>When gcc says it needs the amiga include files, which ones are those?
>Specically, a line from the gcc setup file says,
>; COMPILER-HEADERS: is where the Amiga system includes are.
>Where do I get THOSE?
>Lastly, at least for now, why, when I attempt to run gcc on the following
>simple program
>
>main()
>{
> printf("Good Morning!\n");
>}
>, does GCC completely lock my computer? The screen goes blank, my monitor
>even starts to whine. I have the stack set to the 131072 bytes they recommend.
>
>Thanks for any help!
>
>-- Frank McPherson INTERNET: fmcphers@vttcf.cc.vt.edu --
AMIGA.LIB is available from CATS (Commodore Amiga Technical Services) and
also comes with lattice and Manx compilers. It contains stubs for the
various OS routines that are detailed in the Rom Kernel Manuals.
Dunno why GCC locks up on you. Sounds like a pretty hard crash to me. My
first guess is that GCC is missing something it needs to link to.
-- Kevin --
Re: GCC
Author: Brad Pepers
Date: Fri, 11 Jan 1991 22:02
Date: Fri, 11 Jan 1991 22:02
12 lines
1067 bytes
1067 bytes
The amiga.lib file should come with the PDC distribution. I think its
their own reverse engineered AMIGA.LIB that C= sends out. I also had
my hello world program crash. It eventually turned out that my acrt0.o
(or something like that) file was bad. Its size was smaller than the one
used by other people that had GCC working. So I got the PDC asm source
for it and compiled it with A68k. The resulting .o was the right size and
no more crashes!
So give it a try!
Brad Pepers
Re: GCC
Author: Ethan Solomita
Date: Sat, 12 Jan 1991 21:43
Date: Sat, 12 Jan 1991 21:43
18 lines
1280 bytes
1280 bytes
In article <1991Jan11.220207.5131@cpsc.ucalgary.ca> pepers@enme3.UUCP (Brad Pepers) writes: > >The amiga.lib file should come with the PDC distribution. I think its >their own reverse engineered AMIGA.LIB that C= sends out. I also had amiga.lib C is copyright CBM. Manx and SAS both have to pay Commodore for the right to distribute it and the Amiga include files. -- Ethan "Don't forget the importance of the family. It begins with the family. We're not going to redefine the family. Everybody knows the definition of the family. ... A child. ... A mother. ... A father. There are other arrangements of the family, but that is a family and family values." -- Dan Quayle, of course. Our beloved Vice President. It's just too easy!
Re: GCC
Author: Leonard Norrgard
Date: Sun, 13 Jan 1991 13:57
Date: Sun, 13 Jan 1991 13:57
20 lines
1631 bytes
1631 bytes
In article <1991Jan12.214301.10882@cunixf.cc.columbia.edu> es1@cunixb.cc.columbia.edu (Ethan Solomita) writes: >In article <1991Jan11.220207.5131@cpsc.ucalgary.ca> pepers@enme3.UUCP (Brad Pepers) writes: >> >>The amiga.lib file should come with the PDC distribution. I think its >>their own reverse engineered AMIGA.LIB that C= sends out. I also had > amiga.lib C is copyright CBM. Manx and SAS both have to >pay Commodore for the right to distribute it and the Amiga >include files. The *generation* of the PDC Amiga.lib is OK. The distribution of the result publicly is not necessarily OK (unless they check that the receiver also is the owner of an Amiga Extras disk), as it clearly is a derived work of the AmigaBasic .fd files as found on every Extras disk. The distribution of a program that creates an amiga.lib from the same files is perfectly legit, though. Of couse, I'm no lawyer. > -- Ethan -- Leonard
Re: GCC
Author: Matthew Dillon
Date: Mon, 14 Jan 1991 02:44
Date: Mon, 14 Jan 1991 02:44
39 lines
2173 bytes
2173 bytes
In article <VINSCI.91Jan13145752@nic.nic.funet.fi> vinsci@nic.funet.fi (Leonard Norrgard) writes:
>In article <1991Jan12.214301.10882@cunixf.cc.columbia.edu> es1@cunixb.cc.columbia.edu (Ethan Solomita) writes:
>>In article <1991Jan11.220207.5131@cpsc.ucalgary.ca> pepers@enme3.UUCP (Brad Pepers) writes:
>>>
>>>The amiga.lib file should come with the PDC distribution. I think its
>>>their own reverse engineered AMIGA.LIB that C= sends out. I also had
>> amiga.lib C is copyright CBM. Manx and SAS both have to
>>pay Commodore for the right to distribute it and the Amiga
>>include files.
>
>The *generation* of the PDC Amiga.lib is OK. The distribution of the
>result publicly is not necessarily OK (unless they check that the
>receiver also is the owner of an Amiga Extras disk), as it clearly is
>a derived work of the AmigaBasic .fd files as found on every Extras
>disk. The distribution of a program that creates an amiga.lib from the
>same files is perfectly legit, though.
> Of couse, I'm no lawyer.
If it is generated from scratch from the FD files, with other incidental
routines written by the PDC people, then it is publically distributable.
If it is the commodore-supplied amiga.lib, then it is not.
MANX, SAS, Myself (DICE), and a few other people have licensed the
amiga includes and amiga.lib from Commodore but we cannot distribute
them publically either, only as part of a product.
>> -- Ethan
>
>-- Leonard
-Matt
--
Matthew Dillon dillon@Overload.Berkeley.CA.US
891 Regal Rd. uunet.uu.net!overload!dillon
Berkeley, Ca. 94708
USA
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