English Amiga Board


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

 
 
Thread Tools
Old 31 July 2016, 01:01   #1
iliak
Registered User

 
Join Date: Jan 2008
Location: somewhere
Posts: 34
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, 11:44   #2
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 1,227
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, 16:18   #3
iliak
Registered User

 
Join Date: Jan 2008
Location: somewhere
Posts: 34
Any other IDE to suggest ?
iliak is offline  
Old 01 August 2016, 17:34   #4
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,204
Go into Project -> Properties -> C/C++ Build -> Environment, and add the new VBCC and PATH variables.
Leffmann is offline  
Old 01 August 2016, 18:18   #5
iliak
Registered User

 
Join Date: Jan 2008
Location: somewhere
Posts: 34
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, 14:40   #6
kamelito
Zone Friend
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 931
Eclipse is dog slow
Kamelito
kamelito is offline  
Old 17 November 2016, 22:56   #7
Vairn
The Grim-Button

Vairn's Avatar
 
Join Date: Jan 2008
Location: Melbourne Australia
Age: 37
Posts: 401
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, 23:46   #8
Locutus
Registered User

 
Join Date: Jul 2014
Location: Finland
Posts: 878
Emacs, obviously
Locutus is offline  
Old 18 November 2016, 06: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, 22:32   #10
PR77
Registered User

 
Join Date: Oct 2017
Location: Germany
Posts: 146
Anyone willing to share their eclipse IDE configuration? … or any other similar IDE config?
PR77 is offline  
Old 17 August 2018, 10: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, 20:54   #12
PR77
Registered User

 
Join Date: Oct 2017
Location: Germany
Posts: 146
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, 20: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, 21: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, 21:37   #15
PR77
Registered User

 
Join Date: Oct 2017
Location: Germany
Posts: 146
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, 23:05   #16
modrobert
old bearded fool

modrobert's Avatar
 
Join Date: Jan 2010
Location: Bangkok
Age: 51
Posts: 503
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, 01:20   #17
pipper
Registered User

 
Join Date: Jul 2017
Location: San Jose
Posts: 98
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, 06:48   #18
Hewitson
Registered User
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 36
Posts: 2,628
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, 10:59   #19
alkis
Registered User

 
Join Date: Dec 2010
Location: Athens/Greece
Age: 47
Posts: 458
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  
 


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 22:18
VBCC and #include majikeyric Coders. C/C++ 3 03 March 2016 16:07
vbcc 0.9d phx News 43 13 July 2015 20:41
From gcc to vbcc. Cowcat Coders. General 9 06 June 2014 15:45
vbcc: no startup aragon Coders. C/C++ 2 16 February 2014 15: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 02:07.


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