AROS World Exec
Development => Development (General) => Topic started by: derek2210 on April 13, 2023, 04:48:41 PM
-
Hi,
I have been reading about VBCC and it seems to have Amiga targets, can AROS run VBCC, and maybe natively.
-
I can't think of anything why it would not be possible.
The Free Pascal compiler makes use (or actually /can/ make use) of VBCC's linker and assembler. Have you tried to compile VBCC on AROS ? (I haven't done so either though)
-
Problem is that our header files are full of GCC and AROS specific features. The compiler itself is already in contrib:
https://github.com/aros-development-team/contrib/tree/master/development/compilers/vbcc
-
Hi,
I have not tried to compile VBCC on AROS, I was just asking if it had already been done.
I will have a look at this, as I would like a native AROS compiler, rather than Cross Compiler system.
-
@Mazze: thankl you for that as I did not know (even though I do have contrib installed)
@Derek:
Are you aware that there is a native gcc compiler present for AROS. At least Icaros desktop comes with it (when you choose to install the development package) ?
In other cases/distributions you can install GCC from contrib (in case the distro does not contain/supply gcc by default)
-
magorium also on AROS One x86 and AROS One 68k the GCC is installed and works fine, of course during installation as you mentioned, you have to check development package !
Not only on AROS One x86 the Portable Compiler and other development software is also installed !
-
Hi,
Thanks for the update, looks like I have not looked at the system currently installed.
I have more experience with GCC on Linux, so maybe I do not have re-invent the wheel. Back to reading the developer docs...
-
No need to look at the system, just write GCC in a Shell :D
-
@AMIGASYSTEM: Thank you for the (additional) information.
@Derek:
there is also a Linux compatible shell (with basic set of internal and external commands) that can be invoked/used with sh so you should be able to "feel" right at home :)
-
Problem is that our header files are full of GCC and AROS specific features.
I can understand using AROS features (it should compile AROS code!), but... why using specific GCC features? This means strictly biding AROS to GCC and making the life much difficult (or even impossible) for people which want to use other compilers (like CLang, for example. And also VBCC).
-
No need to look at the system, just write GCC in a Shell :D
Hi,
I have Aros One v2.1 installed, openjng a Shell window and typing gcc -- version
Gives:
gcc: object not found
Where is gcc installed?
-
Assuming you selected Development packages during installation (InstallAROS), it will be in Extras:Development/bin (and Extras: in most cases is Work:)
-
derek, after you installed "Development package" how did you start the Shell ?
SYS:System/Shell.info -> GCC not found
Menu-Wanderer-Shell -> Ok GCC is found
Amistart-Shell -> Ok GCC is found
Solution (icon type problem):
SYS:System/Shell.info -> In the ToolTypes Icons add CLI to the top.
-
Hi,
There seems to be no Development package installed.
I checked the download image file: ArosOne-x86-v2.1-USB-Image.vhd
Which does not have the Development package in the image, however, the file: AROS One DVD v2.1.iso does have it installed.
I will install the development package from the DVD ISO image.
-
Thanks derek, actually the script for creating the USB image does not copy the Develpment folder, it is solved by copying from the AROS One DVD the whole Develpment folder to the root of the disk.
For the next version of AROS One I will see if I can solve the problem !
-
Hi,
Thanks for the update, I copied the Development files from the DVD image, to the toot of my Net Book via Samba,
All works great now.
Maybe I should be writing programs in the Linux environment and cross compiling them, but I like to program on the machine I am using.
-
Hi,
Thanks for the update, I copied the Development files from the DVD image, to the toot of my Net Book via Samba,
All works great now.
Maybe I should be writing programs in the Linux environment and cross compiling them, but I like to program on the machine I am using.
I find that if they are small programs it's actually easier to do the compiling and testing inside AROS rather than using a cross compiler on Linux.
That way you can get several iterations of testing, editing and compiling with much less file transfers from Linux.
The only drawback is the lack of a good text editor with syntax highlighting for editing inside AROS. So far I've tried Annotate but the syntax highlighting was not satisfying. It's almost like it was an afterthought with the makers of Annotate rather than the star of the show.
-
Hi,
Thanks for the update, I copied the Development files from the DVD image, to the toot of my Net Book via Samba,
All works great now.
Maybe I should be writing programs in the Linux environment and cross compiling them, but I like to program on the machine I am using.
I find that if they are small programs it's actually easier to do the compiling and testing inside AROS rather than using a cross compiler on Linux.
That way you can get several iterations of testing, editing and compiling with much less file transfers from Linux.
The only drawback is the lack of a good text editor with syntax highlighting for editing inside AROS. So far I've tried Annotate but the syntax highlighting was not satisfying. It's almost like it was an afterthought with the makers of Annotate rather than the star of the show.
If you use AROS hosted wouldn't it ease the process?
-
I am not a developer, but I believe that using Native AROS you can verify everything on the fly without doing file passes, of course on AROS there are no qualitative and fast tools, but for what little compilation experience I had, I found it very convenient to do it directly on Native AROS.
-
If you use AROS hosted wouldn't it ease the process?
I guess everyone has its own preference. But in basics you are correct.
You can edit, cross-compile on the host (and use whatever the host is able to provide, e.g. browsing, graphics/audio editing etc) and when doing that inside an AROS directory the only thing left is to actually execute that what you just compiled (and even that can be automated).
I prefer it mostly because all relevant documentation is also easier accessible for me on the host, not to mention vcs (git/svn etc).
-
The only drawback is the lack of a good text editor with syntax highlighting for editing inside AROS. So far I've tried Annotate but the syntax highlighting was not satisfying. It's almost like it was an afterthought with the makers of Annotate rather than the star of the show.
Miker have you tried EdiSyn, it seems to me to be the best Editor for development !
(https://ae.amigalife.org/index.php?action=dlattach;topic=1108.0;attach=5502;image)