Welcome, Guest. Please login or register.

Author Topic: VBCC unstable?  (Read 4720 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline MeraxTopic starter

  • Newbie
  • *
  • Join Date: May 2007
  • Posts: 39
    • Show all replies
VBCC unstable?
« on: February 24, 2008, 08:31:13 AM »
I recently installed VBCC to start working on some Amiga software.   It seems to work fine the first time I use it.  After that it causes a guru crash and forces me to reboot to get another compile out of it.

Is this program just not very stable or did I maybe do something wrong installing it?

I have a stock Amiga 1200 except for a 4 MB RAM expansion.

If this is typical for vbcc, is there a more stable compiler that someone can recommend?  I tried gcc a bit but was unable to get it installed correctly.
Try out my iPhone/iPad game: http://www.hungryhelga.com
 

Offline MeraxTopic starter

  • Newbie
  • *
  • Join Date: May 2007
  • Posts: 39
    • Show all replies
Re: VBCC unstable?
« Reply #1 on: February 24, 2008, 09:22:12 AM »
Wow, that seems to have fixed it...I can compile multiple times without crashing, thanks a bunch :).

Now that I can play around a bit, another question came up.

I tried doing some floating point math in my test program (I have no FPU, I figured it would be emulated) and I'm getting link errors for several symbols related to that(like __ieeemuld).  What lib do I need to link in to get floating point to work and what's the command line argument look like to do that?

Thanks again!
Try out my iPhone/iPad game: http://www.hungryhelga.com
 

Offline MeraxTopic starter

  • Newbie
  • *
  • Join Date: May 2007
  • Posts: 39
    • Show all replies
Re: VBCC unstable?
« Reply #2 on: February 25, 2008, 07:17:31 AM »
I hope no one minds if I use this thread to post questions as I learn to set up my little programming environment :)

I downloaded the Amiga C Manual from here:  http://www.amigau.com/c-programming/C/ctut.htm
which comes with several simple programs.

I'm trying to compile the first example program in the ACM1/Windows/ directory and ran into two problems.

The first was that the compiler couldn't find the include .  I looked through the files that came with VBCC and found intuition.h in the m68k-amigaos/include/proto directory and tried including that instead.  Unfortunately, this header file tries to include exec/types.h, which doesn't seem to exist in the VBCC directories.

So, where can I get this file from and what else might I be missing?  I just want to get a nice working development environment here so I can learn Amiga graphics and windows programming :)

Thanks!

Try out my iPhone/iPad game: http://www.hungryhelga.com
 

Offline MeraxTopic starter

  • Newbie
  • *
  • Join Date: May 2007
  • Posts: 39
    • Show all replies
Re: VBCC unstable?
« Reply #3 on: February 25, 2008, 08:39:06 AM »
Thanks again Thomas, I'm sure that's the problem.  I should have mentioned before that I'm using WB 3.1.  Do you know where I might be able to find the development kit for that version?
Try out my iPhone/iPad game: http://www.hungryhelga.com
 

Offline MeraxTopic starter

  • Newbie
  • *
  • Join Date: May 2007
  • Posts: 39
    • Show all replies
Re: VBCC unstable?
« Reply #4 on: February 25, 2008, 10:52:38 AM »
Thanks all, I am able to compile the examples now :)
Try out my iPhone/iPad game: http://www.hungryhelga.com