Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: Flashlab on March 08, 2007, 07:37:36 PM

Title: First steps into C - Where to find the includes
Post by: Flashlab on March 08, 2007, 07:37:36 PM
Where do I get the includes? I have some files but I miss types.h for example.

I downloaded VBCC, the VBCC target file for OS3 and SDI headers. Do I need more?
Title: Re: First steps into C - Where to find the includes
Post by: Dietmar on March 08, 2007, 08:10:55 PM
You still need the OS includes and related files (bundled in the 3.9 SDK). An easy way to start with C is Cubic (http://www.developers.2go.cc/cubic/download.html), it installs all these things, including free compilers such as vbcc/gcc or a C book for beginners.
Title: Re: First steps into C - Where to find the includes
Post by: Piru on March 08, 2007, 08:17:34 PM
NDK3.9.lzx (http://aweb.sunsite.dk/files/dev/NDK3.9.lzx) has the OS includes.
Title: Re: First steps into C - Where to find the includes
Post by: Flashlab on March 08, 2007, 08:27:29 PM
Thanks all!
Title: Re: First steps into C - Where to find the includes
Post by: mgerics on March 08, 2007, 08:33:38 PM
I remember once I *swear* I saw a link that was for a COMPLETE lha'ed archive of gcc (for Amiga, duh!) - one had to unlha to a directory of choice, set up the assigns, and there it was ready to go...but I cannot find it anywhere. Anyone else see this, or am/was I dreaming ?

Thanks in advance...
Title: Re: First steps into C - Where to find the includes
Post by: AmiSake on March 08, 2007, 08:51:11 PM
Quote

mgerics wrote:
I remember once I *swear* I saw a link that was for a COMPLETE lha'ed archive of gcc (for Amiga, duh!) - one had to unlha to a directory of choice, set up the assigns, and there it was ready to go...but I cannot find it anywhere. Anyone else see this, or am/was I dreaming ?

Thanks in advance...


By any chance do you mean the GeekGadgets stuff ?
I used to have it on my Amiga.

A quick google session:

http://it.aminet.net/~aminet/dirs/dev_gg.html
Title: Re: First steps into C - Where to find the includes
Post by: Dietmar on March 08, 2007, 09:18:33 PM
> I *swear* I saw a link that was for a COMPLETE lha'ed archive of gcc (for Amiga, duh!)

There were several of those, for example kefren's gcc package or a hardfile for UAE by LouiSe, but they are all discontinued.

The easiest way of setting up gcc for OS3 at the moment is the C/C++ package (http://www.developers.2go.cc/cubic/sdk.html) released for Cubic (it is a free download and can be used independendly of Cubic, although Cubic must be installed).

This package is designed to work without softlinks, ie. no problems for UAE users and the directory file system.