English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 12 July 2008, 18:47   #1
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere else
Posts: 511
VBCC 0.8j for Windows

For 68k Amiga, comes in a read-to-use package:

http://pagesperso-orange.fr/franck.c.../VBCCSetup.exe
hitchhikr is offline  
Old 13 July 2008, 04:17   #2
rgen
Registered User
 
rgen's Avatar
 
Join Date: Mar 2002
Location: Aachen/Germany
Age: 46
Posts: 190
Send a message via ICQ to rgen
Thank you.
I've done a quick test and have some suggestions and found some bugs:
  • the makefiles do not work with windows' own for command, only with cygwin bash's one
  • could you include the vc frontend?
  • you should pay attention that gnu make is GPL licensed
  • maybe update the includes to NDK 3.9
  • shouldn't the cia and custom structures be declared as volatile in the minimal example?
  • the uninstaller does not reverse the env vars changes

Do you use the command line or have you embed vbcc in an IDE (AmiDevCpp)?
rgen is offline  
Old 13 July 2008, 13:12   #3
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere else
Posts: 511
Thanks for the fast feedback, i've updated it regarding your suggestions so it should be fine now.

I also included the autodocs. vasm crashed when trying to compile the NDK 3.9 examples (like asyncio for example).

Quote:
Do you use the command line or have you embed vbcc in an IDE (AmiDevCpp)?
Command line.
hitchhikr is offline  
Old 23 September 2008, 16:12   #4
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere else
Posts: 511
New version released (Same url).

v0.8k:

- Fixed a bug in vbcc which caused a crash when -= or += operators were encountered (probably others combinations too).
- Using Amiga debug hunks in exe files allowing source files debugging with programs such as HiSoft Monam or (better) SAS-C CPR.
- Fixed a bug in vasm: it would output asm lines infos in debug hunk instead of the source ones.
- Makefile now automatically strip all debug datas if no debug infos are generated (via -g).
- Now automatically select the relevant math library according to the selected -fpu parameter.
- Added several examples coming from the Amiga C Encyclopedia.
hitchhikr is offline  
Old 24 September 2008, 03:07   #5
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere else
Posts: 511
v0.8l:

- Added a global makefile for all the examples.
- Fixed a bug in the compiler, such statement:

b = a / 50.0f - 15.87f;

was generated as:

fmove.l _a,fp0
fdiv.s #$42480000,fp0
fintrz.x fp0,fp1
fmove.l fp1,d0
moveq #15,d1
sub.b d0,d1
move.b d1,_b

instead of something like:

fmove.l _a,fp0
fdiv.s #$42480000,fp0
fsub.s #$417deb85,fp0
fintrz.x fp0,fp1
fmove.l fp1,d0
move.b d0,_b

Last edited by hitchhikr; 24 September 2008 at 12:51.
hitchhikr is offline  
Old 24 September 2008, 23:33   #6
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere else
Posts: 511
v0.8m:

- Modified the make files to handle the mixing of assembly language files with C ones (beside the __asm() inline function), also added a small example about that.
hitchhikr is offline  
Old 28 September 2008, 01:07   #7
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere else
Posts: 511
v0.9:

- Vasm got promoted to the latest 1.3 version (modified vbcc according to this).
- Fixed a bug in vbcc involving odd aligned local variables which would generate exceptions on 68000 machines.
- Printf & scanf functions now support floating point arguments by default.
- Modified the libraries so the generated executables are now compatible with OS 1.x. (note that when linking programs with mieee.lib, the compiler is using math*.library files and there's some discrepancies in the output between the 1.x (v34) and more recent ones (around v37 which are more accurate)).
- Executables startup should be faster now especially on 68000 based machines.
- Toupper() & tolower() were broken.
- Cleaner and more flexible make scripts.
- Added the necessary make files and an example to create static libraries.
hitchhikr is offline  
Old 29 September 2008, 23:57   #8
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere else
Posts: 511
v0.9b:

- d0 register wasn't correctly restored when using __interrupt functions, leading to a crash.
- Added several examples: tagwindow/gadtools/tagscreen/dblbufintscreen & gameframework.
hitchhikr is offline  
Old 08 October 2008, 09:43   #9
conte0
 
Posts: n/a
Quote:
Originally Posted by hitchhikr View Post
v0.9b:

- d0 register wasn't correctly restored when using __interrupt functions, leading to a crash.
- Added several examples: tagwindow/gadtools/tagscreen/dblbufintscreen & gameframework.
hello,
where you get the vbcc v0.9? on this site: http://www.compilers.de/vbcc.html there is the v0.8.

thanks
 
Old 08 October 2008, 12:58   #10
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere else
Posts: 511
That's my own version, all bugs i found have been reported to the original creator and should be soon fixed in the official release, hopefully.
hitchhikr is offline  
Old 08 October 2008, 23:56   #11
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere else
Posts: 511
v0.9c:

- Vlink didn't store the sections memory attributes correctly.
- Modified all examples so they use full optimization switch
and temporary disabled a specific (bugged) loop optimization in vbcc.
- Fixed a recoverable alert in gadtools example.
hitchhikr is offline  
Old 09 October 2008, 00:58   #12
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere else
Posts: 511
And here is the MacOS X PPC version (made on 10.4.11), there's some instructions in the readme.txt:

http://pagesperso-orange.fr/franck.c...bcc_macosx.zip
hitchhikr is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling CLib37 with VBCC 0.9 tnt23 Coders. General 2 29 July 2013 10:28
Using timer.device in C (VBCC) DBAlex Coders. General 2 28 June 2011 22:10
VBCC as cross sompiler under Linux gilgamesh Coders. General 13 21 March 2010 12:43
Kickstart 1.3 and GCC or VBCC? cdoty Coders. General 1 23 April 2005 06:10
Compiler: vbcc 0.8g patch 2 released Paul News 0 29 November 2004 15:41

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:14.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08964 seconds with 13 queries