English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. C/C++

 
 
Thread Tools
Old 31 July 2016, 00:01   #1
iliak
Registered User
 
Join Date: Jan 2008
Location: somewhere
Posts: 45
vbcc IDE

Hi

Which IDE for vbcc do you advise me to use with Ubuntu (the idea is to use a custom makefile) ?

Eclipse 4.6.0 can process my makefile but I've the following error :
Code:
23:56:36 **** Incremental Build of configuration Default for project 68kos ****
make rom 
make[1]: vc : commande introuvable
makefile:53 : la recette pour la cible « signal/raise.o » a échouée
make[1]: *** [signal/raise.o] Erreur 127
makefile:91 : la recette pour la cible « c.lib » a échouée
make: *** [c.lib] Erreur 2

23:56:36 Build Finished (took 65ms)
=> make[1]: vc: command not found

Any idea ?
iliak is offline  
Old 01 August 2016, 10:44   #2
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Never used Eclipse myself, so I hope somebody else can help you.
I guess you have to configure the path to the "vc" frontend somewhere.
phx is offline  
Old 01 August 2016, 15:18   #3
iliak
Registered User
 
Join Date: Jan 2008
Location: somewhere
Posts: 45
Any other IDE to suggest ?
iliak is offline  
Old 01 August 2016, 16:34   #4
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
Go into Project -> Properties -> C/C++ Build -> Environment, and add the new VBCC and PATH variables.
Leffmann is offline  
Old 01 August 2016, 17:18   #5
iliak
Registered User
 
Join Date: Jan 2008
Location: somewhere
Posts: 45
Quote:
Originally Posted by Leffmann View Post
Go into Project -> Properties -> C/C++ Build -> Environment, and add the new VBCC and PATH variables.
Thank you Leffmann !
I just added the variable PATH => /opt/m68k-amigaos/bin/ and now I can make builds from Eclipse
iliak is offline  
Old 02 August 2016, 13:40   #6
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
Eclipse is dog slow
Kamelito
kamelito is offline  
Old 17 November 2016, 21:56   #7
Vairn
The Grim-Button
 
Vairn's Avatar
 
Join Date: Jan 2008
Location: Melbourne Australia
Age: 43
Posts: 414
I use Sublime Text 3. Under windows and linux.
Works well. Has loads of cool addons. Even a m68k asm syntax. All installed via sublime itself. Once you install its package control system.

I created my own vbcc build setting too.
Vairn is offline  
Old 17 November 2016, 22:46   #8
Locutus
Registered User
 
Join Date: Jul 2014
Location: Finland
Posts: 1,176
Emacs, obviously
Locutus is online now  
Old 18 November 2016, 05:44   #9
Panthros
 
Posts: n/a
Give Atom a try. It is an amazing little editor and cross platform like Sublime.

https://atom.io/
 
Old 16 August 2018, 21:32   #10
PR77
Registered User
 
Join Date: Oct 2017
Location: Germany
Posts: 193
Anyone willing to share their eclipse IDE configuration? … or any other similar IDE config?
PR77 is offline  
Old 17 August 2018, 09:09   #11
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
vbcc IDE

Quote:
Originally Posted by PR77 View Post
Anyone willing to share their eclipse IDE configuration? … or any other similar IDE config?


I dislike all IDEs but for a lightweight C/C++ one I use Codelite. It plugs into makefiles or cmake so no setup is needed per platform.
plasmab is offline  
Old 17 August 2018, 19:54   #12
PR77
Registered User
 
Join Date: Oct 2017
Location: Germany
Posts: 193
Quote:
Originally Posted by plasmab View Post
I dislike all IDEs but for a lightweight C/C++ one I use Codelite. It plugs into makefiles or cmake so no setup is needed per platform.
Which plugin do you use to phase the vbcc makefile?
PR77 is offline  
Old 17 August 2018, 19:59   #13
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Quote:
Originally Posted by PR77 View Post
Which plugin do you use to phase the vbcc makefile?
I dont. I maintain the makefile manually. If you dont do that you end up with something that only builds in an ide.. and thats crap.
plasmab is offline  
Old 17 August 2018, 20:13   #14
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Quote:
Originally Posted by plasmab View Post
I dont. I maintain the makefile manually. If you dont do that you end up with something that only builds in an ide.. and thats crap.
Its a very simple makefile that just takes a list of source files on one line.. very easy.
plasmab is offline  
Old 17 August 2018, 20:37   #15
PR77
Registered User
 
Join Date: Oct 2017
Location: Germany
Posts: 193
Gotch ya! That I can do, no problem. Codelite (Atom. eclipse and code::blocks) just don't seem to work. My goal is actually to have the IDE with the parsed "includes", etc so you get the nice code completion, type peeking, etc. I thought that codeLite could, from within the IDE, parse the makefile and magically find include paths for code completion, type peeking, etc

With the Raspberry Pi and NetBeans this works great! I was hoping for the same thing with vbcc.
PR77 is offline  
Old 17 August 2018, 22:05   #16
modrobert
old bearded fool
 
modrobert's Avatar
 
Join Date: Jan 2010
Location: Bangkok
Age: 56
Posts: 775
One terminal for 'vim', another terminal for 'vbcc' compiling?

My screen fits six xterm terminals total in Ubuntu, that beats any "Integrated Development Environment" I've ever tried productivity wise. Usually have one dedicated terminal just to do 'grep -ri -B 1 -A 2 string_to_look_for' in the source tree.
modrobert is offline  
Old 18 August 2018, 00:20   #17
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
I’m using QtCreator alongside with Bebbo’s gcc.
It is non-invasive to projects and allows to just import a directory full of source into the
IDE without going through any complicated setup. Point it at a directory of source and start editing.
It can also be setup to support source level debugging via Bebbo’s bgdbserver.

The cool thing is that once you setup the m68k gdb as ‘kit’, the editor will understand where to look for the system includes and code completion will work nicely. One downside I left for me: the editor parsing is using clang and does not understand the register names in inline assembly... resulting in editor warnings all over and no code completion for system calls (they all, with few exceptions, use inline assembly for the trampoline functions).
pipper is offline  
Old 18 August 2018, 05:48   #18
Hewitson
Registered User
 
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,772
Quote:
Originally Posted by modrobert View Post
One terminal for 'vim', another terminal for 'vbcc' compiling?
No IDE can even come close to this in my opinion.
Hewitson is offline  
Old 18 August 2018, 09:59   #19
alkis
Registered User
 
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
Quote:
Originally Posted by pipper View Post
One downside I left for me: the editor parsing is using clang and oes not understand the register names in inline assembly... resulting in editor warnings all over and no code completion for system calls (they all, with few exceptions, use inline assembly for the trampoline functions).
One trick I used on a similar issue with Emacs is:

Code:
#ifndef LEAN
#include <clib/dos_protos.h>
#include <clib/exec_protos.h>
#else
#include <proto/exec.h>
#include <proto/dos.h>
#endif
So the checker (clang) doesn't know about the LEAN flag and parses the clib/* but when I compile I define (-DLEAN) the LEAN flag and get the inlines.
This fixes the issue on my setup.
alkis is offline  
Old 21 April 2019, 23:25   #20
MartinW
Registered User
 
Join Date: Mar 2017
Location: Minehead / UK
Posts: 608
Sorry to bump an old thread but is there any way to trick parsers into knowing to ignore VBCC proprietary directives such as "__chip", as in:

static UWORD __chip copList[] = { blah ... };

Either that, or an IDE that can learn about vbcc and be able to handle it - would be better actually?

I've tried Visual Studio Code, CLion and now QT Creator and while they can all cope nicely with the build system to some degree or other (VS Code has been best for me so far), they all get tripped up by that '__chip' and throw a load of IntelliSense errors.

I know it's not the end of the world and it doesn't stop things working but it's very annoying.
MartinW 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
vbcc V0.9e released phx News 17 31 October 2016 21:18
VBCC and #include majikeyric Coders. C/C++ 3 03 March 2016 15:07
vbcc 0.9d phx News 43 13 July 2015 19:41
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

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 15:36.

Top

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