Computing Project

Discussion in 'Mac - General discussion' started by wmccusker, Jan 16, 2011.

  1. wmccusker

    wmccusker Member

    Joined:
    Sep 27, 2008
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    16
    I need to investigate portability for my Advanced Higher Computing project. Can a program written in true basic for PC be compiled to run in a Mac OS X environment? or can the executable just be copied over?

    thanks guys

    ps. i know truebasic is ancient, take it up with the school
     
  2. ps355528

    ps355528 Active member

    Joined:
    Aug 17, 2010
    Messages:
    1,071
    Likes Received:
    28
    Trophy Points:
    78
    with the right compiler and knowing which specific hardware switches need setting in the compiler it should be possible.. but I guarantee you will have to modify the source code to suit either the hardware or os instruction set..

    There are books on the subject out there.. look for some about specifically compiling for windows and unix environments.. Porting from one platform to another is often more stressful than just writing new code from scratch.. after all you have the original as a guide.
     

Share This Page