OS X 3.91 beta next?

Everything else that doesn't fall into one of the other PB categories.
Raven
User
User
Posts: 45
Joined: Tue Jul 15, 2003 4:03 pm
Location: England

Post by Raven »

As MacOS X is mainly a linux
Unix based (FreeBSD to be exact). Your not going to get a Linux 1:1 Command structure i'm afraid, but if you add MacOSX then be sure to add Unix at the same time.

Adding the PowerPC Processors as well as Big-Endian/Little-Endian Encoding should extend the core functionality of the compiler.
Particularly for the AmigaOS people.

It might be a better idea to take the time to change the structure of the compiler, so that it compiles processor target code + you can compile your own binary template which it can use.

The library functions obviously would still be system based, but it would open the language + compiler itself to any OS people can provide the binary template too :)
meaning OS Devvers would have a BASIC language which would be compatible from the get go.

just an idea of course
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Raven wrote:just an idea of course
Sounds like a good one.
@}--`--,-- A rose by any other name ..
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6172
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

Not all, but most :)
at least shanarra is developing a fine sense of humour :-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

Not all, but most :) After finding out things are quite different here then the norm, it takes a very long time to get used to......
Obviously you haven't found it that difficult. I think you just like complaining :-)
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

Maybe Shannara uses a translater developed by angry programmers, did you ever think of that? :lol:
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Me, complain? No way! After all, it's in the "book of life". Thous shalt complain.

Besides, Altavista is a bad translater to english :(
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Raven wrote:
As MacOS X is mainly a linux
It might be a better idea to take the time to change the structure of the compiler, so that it compiles processor target code + you can compile your own binary template which it can use.
It shouldn't be difficult to add such functionnality (I guess you mean 'cross-compiling') as the compiler structure allow this. All the processor functions can be virtualized so you could switch the code generation at runtine. The problem will be to find an assembler for 680x0, PPC and x86 which works on every computer, and a linker. Probably the GNU tools are a good start but I don't like the GNU ASM (as) which doesn't follow INTEL rules.
USCode
Addict
Addict
Posts: 924
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle

cross-compilation

Post by USCode »

It shouldn't be difficult to add such functionnality (I guess you mean 'cross-compiling') as the compiler structure allow this.
Cross-compilation would be very handy, RealBasic offers this, but I wouldn't consider it critical as you still have to have the target machine available to test the executable. IMHO.
Raven
User
User
Posts: 45
Joined: Tue Jul 15, 2003 4:03 pm
Location: England

Post by Raven »

I'd say take NASM/TASM and alter it to your needs both are open source, and it should be simple enough to edit them up per processor.

OSDever.net might have some cross-platform, can't remember though.
freak
PureBasic Team
PureBasic Team
Posts: 5947
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

LOTR war moved here :)

viewtopic.php?t=11351

Timo
quidquid Latine dictum sit altum videtur
USCode
Addict
Addict
Posts: 924
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle

Post by USCode »

LOTR war moved here
:?: Yeah, how'd my PB OS X thread get hijacked?!?! :wink:
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

Post by tinman »

Raven wrote:should be simple enough to edit them up per processor.
Aren't both x86 only? Fred doesn't want to be writing assemblers at the same time as PB (well, maybe he does but I guess he has enough work :)

He could try enquiring about the assemblers and linkers used by vbcc as there's something there for many processors but I don't know whether they're all different on each platform.
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
jack
Addict
Addict
Posts: 1358
Joined: Fri Apr 25, 2003 11:10 pm

Post by jack »

Post Reply