Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GT.M on Mac OS X

471 views
Skip to first unread message

Sam Habiel

unread,
Jul 16, 2016, 1:00:12 PM7/16/16
to
If anybody is interested, GT.M now compiles and runs on a Mac. (I managed to run Taskman and CPRS in VISTA on it, and that's saying something.) It's compiled using clang/LLVM. It's not yet installable as there are changes that need to made to the install script.

Repo here: https://github.com/shabiel/fis-gtm/tree/darwin

Instructions here: https://github.com/shabiel/fis-gtm/blob/darwin/README.darwin

The hard work done to compile assembly code in the sr_x86_64 directory under llvm-mc/clang was done by a GT.M developer in his spare time. I am very grateful for his effort.

There is a bunch of work that needs to be done still. If you know C or x64 assembly and cmake and are interested in helping, post here and I will include you in our discussions.

--Sam

Art

unread,
Jul 16, 2016, 7:30:14 PM7/16/16
to
Thank you Sam for the update this great news !!!!


art

kdtop

unread,
Aug 15, 2016, 7:36:43 AM8/15/16
to
Wow. You have been working on that project for a long time. Great work and thanks to the GT.M developer!

Kevin

Erik Zoltan

unread,
Aug 15, 2016, 8:28:29 PM8/15/16
to
I am interested to try this out, and willing to help with testing and creating more detailed instructions for others who may want to work with GT.M on Mac OS X.

I have Macports installed and was able to update it, and to download the package requirements with no problem. I got the git repository downloaded as well. I tried to run the build instructions either from README or README.darwin and couldn't even get a make command to run.

Do you have tips or more detailed instructions on how to get started with this?

rtweed

unread,
Aug 19, 2016, 5:13:07 AM8/19/16
to
I'd be much more interested in it running on a Raspberry Pi :-)

Sam Habiel

unread,
Aug 19, 2016, 12:50:52 PM8/19/16
to
On Friday, August 19, 2016 at 2:13:07 AM UTC-7, rtweed wrote:
> I'd be much more interested in it running on a Raspberry Pi :-)

One step at a time Rob!

Sam Habiel

unread,
Aug 19, 2016, 12:52:35 PM8/19/16
to
Erik,

Did you follow this document? https://github.com/shabiel/fis-gtm/blob/darwin/README.darwin? Make should be part of the XCode Command Line tools.

--Sam

Erik Zoltan

unread,
Aug 23, 2016, 9:14:38 AM8/23/16
to
Hi Sam,

Yes I did follow that document. I have Xcode and am currently using it to write C programs. Most probably I've failed to do some simple step, but I'm not sure what that is. Here is the command line output I'm getting from the terminal.

09:04:37 erik.macbook : ~/Downloads/fis-gtm-V6.2-001
$ make -j 16 gen_gtm_threadgbl_deftypes all
make: *** No rule to make target `gen_gtm_threadgbl_deftypes'. Stop.

I can see that CMakeLists.txt contains references to the gen_gtm_threadgbl_deftypes target.

09:04:28 erik.macbook : ~/Downloads/fis-gtm-V6.2-001
$ grep gen_gtm_threadgbl_deftypes CMakeLists.txt
add_custom_target(gen_gtm_threadgbl_deftypes DEPENDS gtm_threadgbl_deftypes.h)
add_dependencies(lib${lib} gen_gtm_threadgbl_deftypes)
add_dependencies(gtmsecshr gen_gtm_threadgbl_deftypes)
add_dependencies(gtmsecshr_real gen_gtm_threadgbl_deftypes)

And finally, here is what the directory looks like.

09:12:55 erik.macbook : ~/Downloads/fis-gtm-V6.2-001
$ dir
total 152
-rw-r--r--@ 1 erik staff 27781 Dec 26 2014 CMakeLists.txt
-rw-r--r--@ 1 erik staff 34520 Dec 26 2014 COPYING
-rw-r--r--@ 1 erik staff 576 Dec 26 2014 LICENSE
-rw-r--r-- 1 erik staff 4286 Dec 26 2014 README
drwxr-xr-x 4 erik staff 136 Aug 23 07:48 Untitled.xcworkspace
drwxr-xr-x@ 23 erik staff 782 Dec 26 2014 sr_alpha
drwxr-xr-x@ 146 erik staff 4964 Dec 26 2014 sr_avms
drwxr-xr-x@ 23 erik staff 782 Dec 26 2014 sr_cmi
drwxr-xr-x@ 113 erik staff 3842 Dec 26 2014 sr_i386
drwxr-xr-x@ 11 erik staff 374 Dec 26 2014 sr_linux
drwxr-xr-x@ 1775 erik staff 60350 Dec 26 2014 sr_port
drwxr-xr-x@ 134 erik staff 4556 Dec 26 2014 sr_port_cm
drwxr-xr-x@ 847 erik staff 28798 Dec 26 2014 sr_unix
drwxr-xr-x@ 72 erik staff 2448 Dec 26 2014 sr_unix_cm
drwxr-xr-x@ 49 erik staff 1666 Dec 26 2014 sr_unix_gnp
drwxr-xr-x@ 11 erik staff 374 Dec 26 2014 sr_unix_nsb
drwxr-xr-x@ 8 erik staff 272 Dec 26 2014 sr_vms_cm
drwxr-xr-x@ 724 erik staff 24616 Dec 26 2014 sr_vvms
drwxr-xr-x@ 111 erik staff 3774 Dec 26 2014 sr_x86_64
drwxr-xr-x@ 20 erik staff 680 Dec 26 2014 sr_x86_regs

Thanks,
Erik

Sam Habiel

unread,
Aug 23, 2016, 12:35:27 PM8/23/16
to
Did you run 'cmake .' first? CMake needs to generate the makefiles first. See the main readme.

Erik Zoltan

unread,
Aug 30, 2016, 5:27:47 PM8/30/16
to
Thanks, Sam. Here is what I get.

~/Downloads/fis-gtm-V6.2-001/build $ cmake .
--> OS = Darwin / ARCH = x86_64
CMake Error at CMakeLists.txt:75 (message):
--> OS = Darwin / ARCH = x86_64


-- Configuring incomplete, errors occurred!
See also "/Users/erik/Downloads/fis-gtm-V6.2-001/build/CMakeFiles/CMakeOutput.log".

~/Downloads/fis-gtm-V6.2-001/build $ cmake /V
cmake version 3.6.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Sam Habiel

unread,
Sep 5, 2016, 11:49:38 AM9/5/16
to
Well... What does the log say?

This is my line 75:
https://github.com/shabiel/fis-gtm/blob/darwin/CMakeLists.txt#L75
0 new messages