Author Topic: FreeBASIC Issues  (Read 3440 times)

0 Members and 1 Guest are viewing this topic.

JRS

  • Guest
FreeBASIC Issues
« on: October 03, 2010, 01:20:11 PM »
Quote from: Charles - FreeBASIC Forum
Sadly 21.0 also fails on a sample of test pieces.

Sure sounds like your development environment is crumbling. I like James Fuller's advice and use a assembler and create object files and then wrap it with C or anything else that supports linking in libraries and objects.

How much of a rewrite would it be to compile using O2h? If your C support in the language is robust enough, this sound more and more like the best solution.


Charles Pegge

  • Guest
Re: FreeBASIC Issues
« Reply #1 on: October 04, 2010, 03:25:52 AM »


My aim is to make O2Basic able to compile its own FB source code without any alterations, relying on a small number of metacommands to select the right definitions.

I would like to avoid manual porting completely so that there is only one (self validating) version of the source code. This rigour is well worth the effort.

Fortunately the FB 0.21.1 bug hunt is moving things in the right direction, as I continue to replace the FB functions.

Charles

Charles Pegge

  • Guest
Re: FreeBASIC Issues
« Reply #2 on: October 04, 2010, 10:58:32 PM »

I got Oxygen to work with FB 0.21.1 compilation eventually. There were 2 more corrections to make so all my test progs work but the main issue is FB's val() function, which Oxygen no longer uses now. Also works with 0.21.0 and going back in time: 0.186b. I could go further but that will suffice :)

I'll continue working with 0.21.1 and if all goes well I'll post the update later today.

Charles