How install VBCC to make classic amiga programs?
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Posts: 124 from 2014/9/22
    How install VBCC to make classic amiga programs? and i mean for 68k i dont need powerpc support.(i dont have it expect in my Pegasos 2).
  • »10.12.14 - 21:12
    Profile
  • MorphOS Developer
    itix
    Posts: 1516 from 2003/2/24
    From: Finland
    Just install it? IIRC it came with an installer.
    1 + 1 = 3 with very large values of 1
  • »10.12.14 - 22:43
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Posts: 124 from 2014/9/22
    i thinked then should be done thisway i install vbcc then target files for m68k amigaos but result
    is it dont found assign for include. when i made assign what tells where they are its still dont found them. Even when in installing installer new quits. i used files form Aminet. Other place installed at least nicer. still dont found include files.
  • »11.12.14 - 12:29
    Profile
  • Caterpillar
    Caterpillar
    Thomas
    Posts: 31 from 2004/3/31
    Get the AmigaOS dev files from http://www.haage-partner.de/download/AmigaOS/NDK39.lha

    Get VBCC from http://sun.hasenbraten.de/vbcc/
    You need one binary archive and one or more target archives.

    First unpack the NDK to your Work partition. Then install the vbcc binary and finally the vbcc 68k target. When asked for the include directory select Work:NDK_3.9/include/include_h.

    Do not select novice mode when asked for your skills.
  • »11.12.14 - 14:45
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Posts: 124 from 2014/9/22
    Thomas: i going try this.
    ps. now i try get cdrw work i want move my coding projects form classic amiga to pegasos 2 or even mac...
  • »11.12.14 - 15:19
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Posts: 124 from 2014/9/22
    It dont work and even stdio.h is not found!. i tested installation using good old example helloworld.
    error what i get is:
    error 248 in line 1 of "d:Codes/hello.c": file 'stdio.h' not found
  • »11.12.14 - 16:21
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Posts: 124 from 2014/9/22
    similar problem even with classic amiga. i tested both ways giving include_h folder for place and another way i tested giving only folder where include_h is. i really want code. Offtopic: i even have problem with hisoft c++ i cannot get any understandable results with ansi c style command line parameters.(offtopic becouse is realted amiga program which currently run in amigaos)
  • »11.12.14 - 20:34
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    ausPPC
    Posts: 543 from 2007/8/6
    From: Pending...
    VBCC seems to rely on a pre-existing assign to include:

    If you're using a 68k specific set of include files then you'll have to figure out where the assign to include: should point to.

    I once tried to document my own solution to a similar problem...

    http://library.morph.zone/An_Introduction_to_MorphOS_PPC_Assembly#MorphOS_SDK.2C_Objdump.2C_ELFs_.26_Sections
    PPC assembly ain't so bad... ;)
  • »11.12.14 - 21:22
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1516 from 2003/2/24
    From: Finland
    Quote:

    Thomas wrote:

    Get the AmigaOS dev files from http://www.haage-partner.de/download/AmigaOS/NDK39.lha

    Get VBCC from http://sun.hasenbraten.de/vbcc/
    You need one binary archive and one or more target archives.

    First unpack the NDK to your Work partition. Then install the vbcc binary and finally the vbcc 68k target. When asked for the include directory select Work:NDK_3.9/include/include_h.

    Do not select novice mode when asked for your skills.




    You can also use MorphOS SDK to build 68k executables but it might need too much knowledge about internals.
    1 + 1 = 3 with very large values of 1
  • »11.12.14 - 23:06
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Tom01
    Posts: 179 from 2009/9/20
    I have vbcc installed recently.

    IIRC I installed

    vbcc_bin_morphos.lha
    vbcc_target_m68k-amiga.lha
    vbcc_target_ppc-morphos.lha
    vbcc_PosixLib.lha

    Then copy the AmigaOS-3 and MorphOS include-files to vbcc/sdk ..


    [ Edited by Tom01 13.12.2014 - 04:04 ]
  • »12.12.14 - 15:25
    Profile Visit Website