Welcome, Guest. Please login or register.

Author Topic: Any VBCC users?  (Read 4321 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Leffmann

  • Full Member
  • ***
  • Join Date: Feb 2011
  • Posts: 119
    • Show all replies
Re: Any VBCC users?
« on: September 13, 2014, 05:01:35 PM »
Quote from: Heiroglyph;772887
I think my problem is the windows vbcc binaries themselves.

I've been having weird build problems and I thought it was a misunderstanding on my part.

I finally said forget it, I'll try the Amiga version and it worked with no problem.

So has anyone else got so much as a hello world out of vbcc for windows?

The only binaries I found were the ones marked "Windows Binaries for Win->AmigaOS cross compiler; alpha test version!" on the vbcc home page.


If you have f.ex. Visual C++ installed then you can build it all from source. It does take a bit of fiddling and editing of make files, but that's an intrinsic property of Windows more than anything.

I can upload my finished Windows binaries instead if you prefer that, and you'll just have to set a couple of variables, and copy the M68K-AmigaOS target and AmigaOS 3.9 NDK archives to complete the installation.
 

Offline Leffmann

  • Full Member
  • ***
  • Join Date: Feb 2011
  • Posts: 119
    • Show all replies
Re: Any VBCC users?
« Reply #1 on: September 17, 2014, 11:47:09 AM »
vc.lib holds the standard C library and things like integer math support. You'll have to link with this for pretty much anything you do. If you use the vc frontend and the default configuration files, then it will be done automatically for you.

amiga.lib is the Amiga utility library (not to be confused with utility.library). You can find its contents in "amiga.doc" in the NDK documentation. It has a huge amount of bulk in the form of library vector offsets, stubs, and addresses of hardware registers, which are only there for historical reasons, so only link with this if you use the utility functions.

msoft.lib, mieee.lib, m881.lib, and m040.lib are of course the math libraries to be used with -soft-float, -fpu=68881, and -fpu=68040/68060. You'll have to link with these pretty much any time you use floating point or math.h. If you link with mieee.lib then your program will also be dependent on the disk-based math libraries that come with Workbench.