Welcome, Guest. Please login or register.

Author Topic: First steps into C - Where to find the includes  (Read 3024 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline FlashlabTopic starter

  • Hero Member
  • *****
  • Join Date: Aug 2005
  • Posts: 1396
    • Show only replies by Flashlab
First steps into C - Where to find the includes
« 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?
Amiga 4000D Cyberstorm PPC 060@50 604@200 SCSI 130Mb Ram G-Rex Voodoo3 PicassoIV Paloma Ariadne Delfina Lite

Online Flash version of BoulderDash: Offline...
 

Offline Dietmar

  • Full Member
  • ***
  • Join Date: Nov 2002
  • Posts: 220
    • Show only replies by Dietmar
    • http://devplex.awardspace.biz
Re: First steps into C - Where to find the includes
« Reply #1 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, it installs all these things, including free compilers such as vbcc/gcc or a C book for beginners.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: First steps into C - Where to find the includes
« Reply #2 on: March 08, 2007, 08:17:34 PM »
NDK3.9.lzx has the OS includes.
 

Offline FlashlabTopic starter

  • Hero Member
  • *****
  • Join Date: Aug 2005
  • Posts: 1396
    • Show only replies by Flashlab
Re: First steps into C - Where to find the includes
« Reply #3 on: March 08, 2007, 08:27:29 PM »
Thanks all!
Amiga 4000D Cyberstorm PPC 060@50 604@200 SCSI 130Mb Ram G-Rex Voodoo3 PicassoIV Paloma Ariadne Delfina Lite

Online Flash version of BoulderDash: Offline...
 

Offline mgerics

  • Sr. Member
  • ****
  • Join Date: Jun 2002
  • Posts: 294
    • Show only replies by mgerics
Re: First steps into C - Where to find the includes
« Reply #4 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...
 

Offline AmiSake

  • Newbie
  • *
  • Join Date: Nov 2006
  • Posts: 41
    • Show only replies by AmiSake
Re: First steps into C - Where to find the includes
« Reply #5 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
 

Offline Dietmar

  • Full Member
  • ***
  • Join Date: Nov 2002
  • Posts: 220
    • Show only replies by Dietmar
    • http://devplex.awardspace.biz
Re: First steps into C - Where to find the includes
« Reply #6 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 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.