MAC OS

For other topics related to the FreeBASIC project or its community.
albert
Posts: 5951
Joined: Sep 28, 2006 2:41
Location: California, USA

MAC OS

Postby albert » Jan 16, 2012 0:00

I posted some of my sin,cos patterns and doodles to a Yahoo Group.

Some of them don't have Windows or Linux They have Apples with a MAC OS ??
Is there a way to get the Linux version working on Mac OS ? (I think Apple uses a version of unix for their OS don't they ??)

Will MAC OS X run on a normal AMD Athlon dual core ?
Richard
Posts: 3051
Joined: Jan 15, 2007 20:44
Location: Australia

Re: MAC OS

Postby Richard » Jan 16, 2012 4:02

No.
counting_pine
Site Admin
Posts: 6241
Joined: Jul 05, 2005 17:32
Location: Manchester, Lancs

Re: MAC OS

Postby counting_pine » Jan 16, 2012 6:08

You should be able to find some threads about OS X around on the forum. I haven't checked them now but I think the main limiting factor was the work needed to port GfxLib.

Depending on how desparate they are they could try things like Darwine, or Linux on a virtual machine, or DOSBox.
Landeel
Posts: 763
Joined: Jan 25, 2007 10:32
Location: Brazil
Contact:

Re: MAC OS

Postby Landeel » Jan 16, 2012 11:25

Windows binaries are supposed to work on Intel Macs with wine.
dkl
Site Admin
Posts: 3221
Joined: Jul 28, 2005 14:45
Location: Germany

Re: MAC OS

Postby dkl » Jan 16, 2012 14:11

Another problem is that the assembler used on Mac OS expects AT&T syntax, but fbc doesn't have a backend for that. There was an attempt at creating one in the past but it wasn't reliable enough. The C emitter backend could solve that problem, though.
joseywales72
Posts: 206
Joined: Aug 27, 2005 2:02
Location: Istanbul, Turkey

Re: MAC OS

Postby joseywales72 » Jan 18, 2012 17:02

While looking for something else I ran into this.
http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/2010-October/012337.html
It is a long message thread. But they managed to build a FB for Mac it seems.
Sorry for the possible mistakes. I'm not a native speaker.
counting_pine
Site Admin
Posts: 6241
Joined: Jul 05, 2005 17:32
Location: Manchester, Lancs

Re: MAC OS

Postby counting_pine » Jan 19, 2012 17:43

joseywales72 wrote:While looking for something else I ran into this.
http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/2010-October/012337.html
It is a long message thread. But they managed to build a FB for Mac it seems.
Sorry for the possible mistakes. I'm not a native speaker.

Interesting...
I've githubbed it here: https://github.com/countingpine/fbc/commit/teeemcee_osx
It was forked from r5402 of the old build system, shortly after version 0.21.
Landeel
Posts: 763
Joined: Jan 25, 2007 10:32
Location: Brazil
Contact:

Re: MAC OS

Postby Landeel » Jan 20, 2012 14:01

Could this be changed into an official Mac OS port?
counting_pine
Site Admin
Posts: 6241
Joined: Jul 05, 2005 17:32
Location: Manchester, Lancs

Re: MAC OS

Postby counting_pine » Jan 20, 2012 18:01

Not by me it couldn't, sorry. The most I might be able to do is to rebase the branch to a later point in the trunk so that it incorporates more recent updates/bug fixes. But I wouldn't be capable of any further development.
PS. Here's another thread which may shed more light:
www.freebasic.net/forum/viewtopic.php?t=6174
Landeel
Posts: 763
Joined: Jan 25, 2007 10:32
Location: Brazil
Contact:

Re: MAC OS

Postby Landeel » Jan 20, 2012 18:38

The most I might be able to do is to rebase the branch to a later point in the trunk so that it incorporates more recent updates/bug fixes.

Sounds good enough for now. :)
Sannaj
Posts: 27
Joined: Dec 19, 2010 16:39

Re: MAC OS

Postby Sannaj » Jan 21, 2012 17:55

dkl wrote:Another problem is that the assembler used on Mac OS expects AT&T syntax, but fbc doesn't have a backend for that. There was an attempt at creating one in the past but it wasn't reliable enough. The C emitter backend could solve that problem, though.

But isn't there any reliable port of gas on Mac OS X?
TeeEmCee
Posts: 320
Joined: Jul 22, 2006 0:54
Location: Auckland

Re: MAC OS

Postby TeeEmCee » Feb 05, 2012 6:44

Hello,

If someone did rebase it onto a recent git branch, that would be really helpful. I haven't touched it since 2010 due to lack of access to a OS 10.5 Mac, but recently a friend gave me ssh access to an OS 10.7 Mac, on which it seems to compile, so I'd like to do some work on it again, when I have time.

Sannaj wrote:
dkl wrote:Another problem is that the assembler used on Mac OS expects AT&T syntax, but fbc doesn't have a backend for that. There was an attempt at creating one in the past but it wasn't reliable enough. The C emitter backend could solve that problem, though.

But isn't there any reliable port of gas on Mac OS X?


When I last tried it, GNU gas's support for Mach-O was totally broken, and Apple gas's support for AT&T syntax was also totally broken. That's why I crosscompiled to GNU/Linux ELF object files using GNU GAS and then converted to Mach-O object files using objconv. The major downside is that all debugging symbols are lost.

But maybe things are different now; I'll try it. I just had a look at the GNU Binutils changelog. Lots of activity on Mach-O support in the last two months, but practically nothing in the two years before that.

Return to “Community Discussion”

Who is online

Users browsing this forum: No registered users and 10 guests