VBCC

derek2210 · 177

derek2210

  • Newbie
  • *
    • Posts: 11
    • Karma: +4/-0
on: April 13, 2023, 11:48:41 PM
Hi,

I have been reading about VBCC and it seems to have Amiga targets, can AROS run VBCC, and maybe natively.

Regards,

Derek


magorium

  • Legendary Member
  • *****
    • Posts: 566
    • Karma: +55/-0
  • Convicted non contributor
Reply #1 on: April 14, 2023, 10:00:47 AM
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)


Mazze

  • Junior Member
  • **
    • Posts: 86
    • Karma: +17/-0
Reply #2 on: April 14, 2023, 12:14:15 PM
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



derek2210

  • Newbie
  • *
    • Posts: 11
    • Karma: +4/-0
Reply #3 on: April 14, 2023, 02:26:32 PM
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.

Regards,

Derek


magorium

  • Legendary Member
  • *****
    • Posts: 566
    • Karma: +55/-0
  • Convicted non contributor
Reply #4 on: April 14, 2023, 03:21:04 PM
@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)


AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 3264
    • Karma: +68/-1
  • AROS One
    • AROS One
Reply #5 on: April 14, 2023, 03:50:40 PM
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 !


derek2210

  • Newbie
  • *
    • Posts: 11
    • Karma: +4/-0
Reply #6 on: April 14, 2023, 05:10:04 PM
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...

Regards,

Derek


AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 3264
    • Karma: +68/-1
  • AROS One
    • AROS One
Reply #7 on: April 14, 2023, 05:25:59 PM
No need to look at the system, just write GCC in a Shell  :D


magorium

  • Legendary Member
  • *****
    • Posts: 566
    • Karma: +55/-0
  • Convicted non contributor
Reply #8 on: April 14, 2023, 05:46:06 PM
@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  :)


cdimauro

  • Member
  • ***
    • Posts: 145
    • Karma: +25/-1
Reply #9 on: April 14, 2023, 06:17:37 PM
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).