How to proceed:
- In the IDE, add a new compiler (File -> Preferences -> Compiler -> Choose 'pbcompilerc' file with the file requester -> Add).
The 'Add' button does nothing in PureBasic 6.00 Beta 1 (MacOS X - x64) and don't see that the compiler(c) is already installed in the IDE.
PB6.0Beta-Installing on Mac
PB6.0Beta-Installing on Mac
MacBook Pro-M1 (2021), Sonoma 14.3.1 (CLT 15.3), PB 6.10b7 M1
Re: PB6.0Beta-Installing on Mac
A typical problem with APPs.
Open the Purebasic package with the Finder. Go to the folder of the compiler. Mark the pbcompilerc. Copy from the status bar of the Finder the path with the file (Context Statusbar).
Open the Purebasic package with the Finder. Go to the folder of the compiler. Mark the pbcompilerc. Copy from the status bar of the Finder the path with the file (Context Statusbar).
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: PB6.0Beta-Installing on Mac
Hi mk-soft,
Couldn't 'copy from status bar'. So I just typed in the path shown at the bottom of the finder window and typed it in the lowest field of the Preferences/Compiler/ window (the one with the ...). Hit add/delete/clear (many times).
MacBkPro_SSD/Applications/PureBasic-60Beta.app/Contents/Resources/compilers/pbcompilerc
...after many clicks and pastings somehow it got it in the list of the compliers (dunno how) but the 'Version' column says 'Cannot read version'. Maybe I typed in the path wrong. I don't see the 'c' complier in the 'Options' list either.
Couldn't 'copy from status bar'. So I just typed in the path shown at the bottom of the finder window and typed it in the lowest field of the Preferences/Compiler/ window (the one with the ...). Hit add/delete/clear (many times).
MacBkPro_SSD/Applications/PureBasic-60Beta.app/Contents/Resources/compilers/pbcompilerc
...after many clicks and pastings somehow it got it in the list of the compliers (dunno how) but the 'Version' column says 'Cannot read version'. Maybe I typed in the path wrong. I don't see the 'c' complier in the 'Options' list either.
MacBook Pro-M1 (2021), Sonoma 14.3.1 (CLT 15.3), PB 6.10b7 M1
Re: PB6.0Beta-Installing on Mac
If you have selected the path and the file in the Finder, you can click with the right mouse button on the status bar at the bottom of the displayed file.
At least that's the way it is with me. macOS Big Sur
Or use this
At least that's the way it is with me. macOS Big Sur
Or use this
Code: Select all
path.s = #PB_Compiler_Home + "compilers/pbcompilerc"
SetClipboardText(path)
MessageRequester("Compiler", "Path in Clipboard!" + #LF$ + #LF$ + path)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: PB6.0Beta-Installing on Mac
Thanks mk-soft!
That got it to work! I'm not sure why my path didn't work but when I put you're copy in the 'Add' button worked!
It's all kinda mysterious but it isn't important now that it works.
I used your code. Clever idea. (I hope your code can help someone else too)
Now on to experimenting with the C backend...
/Applications/PureBasic-60Beta.app/Contents/Resources/compilers/pbcompilerc <worked!
MacBkPro_SSD/Applications/PureBasic-60Beta.app/Contents/Resources/compilers/pbcompilerc <didn't work
That got it to work! I'm not sure why my path didn't work but when I put you're copy in the 'Add' button worked!
It's all kinda mysterious but it isn't important now that it works.
I used your code. Clever idea. (I hope your code can help someone else too)
Now on to experimenting with the C backend...
/Applications/PureBasic-60Beta.app/Contents/Resources/compilers/pbcompilerc <worked!
MacBkPro_SSD/Applications/PureBasic-60Beta.app/Contents/Resources/compilers/pbcompilerc <didn't work
MacBook Pro-M1 (2021), Sonoma 14.3.1 (CLT 15.3), PB 6.10b7 M1
Re: PB6.0Beta-Installing on Mac
Paths always begin without hard drive name.MacBkPro_SSD/Applications/PureBasic-60Beta.app/Contents/Resources/compilers/pbcompilerc <didn't work
Extern drive mounted in path /Volumes/...
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: PB6.0Beta-Installing on Mac
The C backend is working very well!
I see that assembler doesn't work but I came across this thread about it. https://www.purebasic.fr/english/viewto ... 52#p577552
I see that assembler doesn't work but I came across this thread about it. https://www.purebasic.fr/english/viewto ... 52#p577552
MacBook Pro-M1 (2021), Sonoma 14.3.1 (CLT 15.3), PB 6.10b7 M1
Re: PB6.0Beta-Installing on Mac
It also no longer makes sense to use ASM so that the programmes also work on M1 (arm64).
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive