English Amiga Board Amiga Lore


Go Back   English Amiga Board > News

 
 
Thread Tools
Old 30 December 2014, 22:47   #1
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 973
vbcc 0.9d

After three years and an unreleased version 0.9c I decided to release 0.9d today. I cannot promise that it will be bug-free, but it is a huge improvement compared to the last official release 0.9b, with many new features and bug fixes.

http://sun.hasenbraten.de/vbcc/
phx is offline  
AdSense AdSense  
Old 30 December 2014, 23:04   #2
FastRobPlus
Registered User
 
Join Date: May 2007
Location: Seattle,WA
Posts: 57
Looks interesting!

One issue: I can't seem to reach the vbcc.pdf documentation linked on the sidebar of the site.
FastRobPlus is offline  
Old 31 December 2014, 00:18   #3
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 973
Our server is moving these days. There may be periods of unavailability.
Seems I hit the perfect day after such a long time.
phx is offline  
Old 31 December 2014, 00:25   #4
strim
NetBSD developer
 
Join Date: May 2012
Location: Warsaw, Poland
Posts: 391
Thanks! I appreciate your work on vbcc.
strim is offline  
Old 31 December 2014, 01:44   #5
NovaCoder
Registered User
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 3,426
Thanks for this, I'll give it a go
NovaCoder is offline  
Old 31 December 2014, 15:57   #6
AlfaRomeo
A1200 040 SAM440EP 667
AlfaRomeo's Avatar
 
Join Date: Jan 2008
Location: Lisbon / Portugal
Posts: 771
Great work, thanks for that.
Will install it.
AlfaRomeo is offline  
Old 31 December 2014, 16:06   #7
Thorham
Computer Nerd

Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 41
Posts: 2,951
Cool How fast is it compared to SASC 6.58 on a 50 mhz 68030?
Thorham is offline  
Old 31 December 2014, 16:52   #8
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 973
Probably slower. SAS/C was designed to work with low memory and CPU requirements. vbcc is not. It is certainly not recommended to run it on a 68000 system with a few MB of memory. Therefore I compiled everything for 68020. 68030/50MHz should be sufficient, when you have at least 32 or 64 MB RAM.

On the other hand you can easily cross-compile with vbcc.
phx is offline  
Old 02 January 2015, 15:53   #9
Apollo
Registered User

Apollo's Avatar
 
Join Date: Sep 2008
Location: Germany
Age: 43
Posts: 108


are there any links to the sources of vbcc 0.9d ?

http://www.ibaug.de/vbcc/vbcc.tar.gz still seem to point to the older release
Apollo is offline  
Old 02 January 2015, 18:38   #10
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 973
I already notified Volker to update the link on his home page.
In the meantime you can always send me an email to request the source.
phx is offline  
Old 11 March 2015, 21:40   #11
tolkien
AmigaMan

tolkien's Avatar
 
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 440
I have tried this version with -g -hunkdebug -bamigahunk and a few other (ī-lamiga etc etc) to can debug with CPR (SASC debugger).
I can see the source code in the debugger but if I try to "Watch" a variable it says "Canīt find symbol".
Perhaps I donīt generate full debugger info but I have read the vbcc manual and donīt know what to do.
Any ideas mates?
tolkien is offline  
Old 12 March 2015, 01:31   #12
matthey
Registered User
 
Join Date: Jan 2010
Location: Kansas
Posts: 1,271
Quote:
Originally Posted by tolkien View Post
I have tried this version with -g -hunkdebug -bamigahunk and a few other (ī-lamiga etc etc) to can debug with CPR (SASC debugger).
I can see the source code in the debugger but if I try to "Watch" a variable it says "Canīt find symbol".
Perhaps I donīt generate full debugger info but I have read the vbcc manual and donīt know what to do.
Any ideas mates?
Compiling using vbcc 0.9d with -g should give symbols as well as SAS/C style line debug allowing sources to be shown. You don't need to give any other debugging options. I have not had any problems with symbols in BDebug (from Barfly archive on Aminet) or with any disassemblers I use. You can also read executables looking for symbol texts at the bottom to verify. Have you tried to "Watch" a variable in a SAS/C compiled program with symbols to see if you get the same error?
matthey is offline  
Old 12 March 2015, 06:53   #13
tolkien
AmigaMan

tolkien's Avatar
 
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 440
With Sasc compiled programs there's no problem. I'll try with only -g later. Thanks as always matthey.
tolkien is offline  
Old 12 March 2015, 08:00   #14
Locutus
Registered User

 
Join Date: Jul 2014
Location: Finland
Posts: 710
Thanks a lot, i've used vbcc to port the BSD2.11 userland on top of AmigaOS. Lets see if vbcc 0.9d breaks anywhere on that :-)
Locutus is offline  
Old 12 March 2015, 20:14   #15
tolkien
AmigaMan

tolkien's Avatar
 
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 440
I have something wrong here and I donīt know what.
I have done a "hello world" example,compiled with vc -g hello.c -o hello.exe and then cpr hello.exe.
I see the source but canīt watch any variable and cpr show "Host and Kernel Executables are not the same version" "Debug Version may be innacurate".
As I have said, with SASC compiled programs all is ok.

I have reinstalled VBCC but nothing. Extrange but have to investigate a bit more...
tolkien is offline  
Old 13 March 2015, 13:05   #16
BigFan
Registered User

BigFan's Avatar
 
Join Date: Feb 2014
Location: Germany
Posts: 261
From vbcc release notes:
Quote:
AmigaOS/68k config files include -hunkdebug, so specifying -g on the commandline is sufficient now for getting line debug info.
Line debug. No symbol hunk is generated, no variable names are saved. Debug info is path to source and line numbering. You can trace run your code and watch what happens to your real output, but you'll be unable to set watches for your vars and functions.

I know, this is of no help, sorry. I don't know a trick to get around this.
BigFan is offline  
Old 13 March 2015, 13:18   #17
tolkien
AmigaMan

tolkien's Avatar
 
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 440
Oh! Thanks BigFan. Now I know It's not my fault. I hope vbcc add symbol debug.
I'll have to do my stuff with SAS/c then.
tolkien is offline  
Old 14 March 2015, 10:36   #18
matthey
Registered User
 
Join Date: Jan 2010
Location: Kansas
Posts: 1,271
Quote:
Originally Posted by Locutus View Post
Thanks a lot, i've used vbcc to port the BSD2.11 userland on top of AmigaOS. Lets see if vbcc 0.9d breaks anywhere on that :-)
There are already several fixes since the vbcc 0.9d release so let us know if you have any problems.

Quote:
Originally Posted by BigFan View Post
From vbcc release notes:
Line debug. No symbol hunk is generated, no variable names are saved. Debug info is path to source and line numbering. You can trace run your code and watch what happens to your real output, but you'll be unable to set watches for your vars and functions.
There is most definitely symbols and line debug with -g. Without -g there is neither. I can confirm with BDebug and disassemblers like ADis.

Quote:
Originally Posted by tolkien View Post
Oh! Thanks BigFan. Now I know It's not my fault. I hope vbcc add symbol debug.
GCC symbols give the same error as vbcc symbols. Symbol output is fairly generic and more common than line debug. I doubt there is a problem with the vbcc or vlink symbol debug output but CPR may expect special SAS/C embedded debug data or CPR may lack robustness in it's symbol loading code (it is designed to only load SAS/C produced executables). It may be possible to add what SAS/C needs to get symbols working. I can confirm the problem with watching symbols and getting the "can't find symbol" error. Frank may be able to add support if you let him know or if he sees this thread.
matthey is offline  
Old 14 March 2015, 11:07   #19
tolkien
AmigaMan

tolkien's Avatar
 
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 440
I'll try to contact Frank today.
I think CPR is a good tool and the union with vbcc is perfect to me.
Thanks as always matthey.

Last edited by tolkien; 15 March 2015 at 13:33.
tolkien is offline  
Old 15 March 2015, 13:33   #20
tolkien
AmigaMan

tolkien's Avatar
 
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 440
I have contacted Frank and this is what Frank told me:

The -g option of vbcc only provides HUNK_SYMBOL (global
symbols) and HUNK_DEBUG with LINE-debug entries. Other debug hunks are not
documented and SAS/C specific.

No information about local variables, types or structures are provided by
vbcc.
He can make it work with cpr only if there is info about sas/c hunk format so it will be dificult
to have support.
tolkien is offline  
AdSense AdSense  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile problems with VBCC Yesideez Coders. C/C++ 9 18 October 2014 23:38
VBCC code generation Asman Coders. C/C++ 9 17 August 2014 09:33
From gcc to vbcc. Cowcat Coders. General 9 06 June 2014 14:45
vbcc: no startup aragon Coders. C/C++ 2 16 February 2014 14:52
VBCC 0.8j for Windows hitchhikr Coders. General 11 09 October 2008 00:58

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 01:11.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.46643 seconds with 13 queries