`Prev Menu Next`

## Setup

### Windows

#### Set up (Lazarus)

Download Win32 Lazarus and install it into the folder that has no space characters on its path name.
Lazarus Download (SourceForge)
Mirror

#### Set up (BASICAcc)

BASICAcc should be extracted into a regular folder on which the user has write permission.
The name of the folder must not contain any space characters.
For example, Desktop may not be suitable. USB flush drives shall be suitable.
When the system is updated by overwriting, the OUTPUT folder must be cleared.
Afterward, execute BASICAcc.exe, and set up two paths.
Click "Set Up" and select "Path".
"fpc path" is the path to the folder on which fpc.exe exists.
"Lazarus path" is the full path name of the folder "lazarus".

Note.
If you use 64 bit Windows, Lazarus win64 also can be used.
Lazarus Win64
Select Setup - Path menu to set Target CPU to 64bit and set the paths.
Note that when cros-x86_64 add-on is installed to 32 bit Lazarus, the fpc path is same as the path to 32 bit fpc.
Note that FPC does not support 80 bit extended precision floating point arithmetic on Win64, power operation and some transcendental functions may perform inaccurate.
If you require accuracy on 64bit code, use Linux 64bit version.

### Linux (x86_64)

#### Set up (fpc and Lazarus)

Download and install fpc , fpc-src and Lazarus from
Lazarus x86_64 RPM,
Lazarus AMD64 DEB.

#### Set up (BASICAcc)

This system must be installed into the folder on which the user has write permission.

#### Troubleshootings

Can't find unit fileutil
When you see this error, modify Lazarus Path on the SetUp menu.
Folders such as components and units are put on the folder that the Lazarus Path directs.
That may as follows.
/usr/share/lazarus/3.6.0/

### MAC(Intel)

#### Set up（XCode Command Line Tools）

Install XCode Command Line Tools.
In the terminal, type
`sudo xcode-select --install
sudo xcodebuild -license accept
` Otherwise download "Command Line Tools for Xcode" from Apple Developer .
See Installing Lazarus on MacOS X.
See also Installing Lazarus on Mac OS X - Free Pascal(PDF)
Note. BASICAcc does not require GDB. So you do not have to install GDB.

#### Set up（fpc and Lazarus）

Install FPC 3.2.2 and Lazarus 2.2.6, downloading from Lazarus Download

#### Set up (BASICAcc)

This system should be installed into the folder on which the user has write permission.
And the folder must not contain a space character. Note that when you use a USB drive, if it has a name such as "`NO NAME`", it must be renamed.
Trouble Shooting
1. For the First Time
(1) You may encounter the following
"BASICAcc.app" is damaged and can't be opened. you should move it to the Bin.
Then open the terminal at the folder where BASICAcc.app is located, and then type
`xattr -rc BASICAcc.app`
(2) Unabe to create file "/private/var/folders/……

Move BASICAcc.app into the Application folder or another location, and then run BASICAcc.
Once normally performed, BASICAcc.app can be retured into the original folder.
For details, search "App Translocation" on the internet.
(3) For the first tme, NoName must be executed by clicking with control-key pressed .
(4) Empty ReportForm shown
If the first Run comannd yields empty ReportForm, this may caused by Unexecuted XCode license agreement.
On the terminal, run `sudo xcrun cc` and enter `agree` at the end.
(5) ReportForm shows `PPU Source :synedit.pp not found.`
Launch Lazarus IDE and select Package menu - Open Loaded packages.
And then Open and Compile the followings:
Synedit
Printer4lazarus
(6) "do setup Lazarus Path" shown.
Select path on the setup menu, and then rewrite Lazarus path correctly.
Lazarus path is
Library/lazarus
on Lazarus 2.0.6, but it is
/Applications/Lazarus
on Lazarus 2.2.2 or later, while lazarus path was
Developer/lazarus
on former versions.
(7) Error: Error while linking
Fatal: There were 1 errors compiling module, stopping
The above shall be shown with Lazarus 3.8.
Show Setup- Options menu, and copy
`-k-framework -kCocoa -k-weak_framework -kUserNotifications`
and paste it into Addtional Compiler Options.

Known Faults
SET DRAW MODE (NOTXOR, MASK, MERGE, XOR) do not work.
MOUSE POLL statement does not work properly.
Behaviors of some graphics statements are no good as in Decimal BASIC Mac(Intel).

### MAC (Apple Silicon)

#### Set up（XCode Command Line Tools）

For Mac OS 15,
Download "Command Line Tools for Xcode 16.2 " from Apple Developer .
16.3 or 16.4 are no good.
For OS 14 or earlier, in the terminal, type
`sudo xcode-select --install`
See Installing Lazarus on MacOS X.
See also Installing Lazarus on Mac OS X - Free Pascal(PDF)
Note. BASICAcc does not require GDB. So you do not have to install GDB.

#### Set up（fpc and Lazarus）

Install FPC 3.2.2 and Lazarus 4.0.0, downloading from Lazarus Download

#### Set up (BASICAcc)

This system should be installed into the folder on which the user has write permission.
And the folder must not contain a space character. Note that when you use a USB drive, if it has a name such as "`NO NAME`", it must be renamed.
Trouble Shooting
1. For the First Time
(1) You may encounter the following
"BASICAcc.app" is damaged and can't be opened. you should move it to the Bin.
Then open the terminal at the folder where BASICAcc.app is located, and then type
`xattr -rc BASICAcc.app`
(7) Error: Error while linking
Fatal: There were 1 errors compiling module, stopping
The above shall be shown with Lazarus 4.0.0.
Show Setup- Options menu, and copy
`-k-framework -kCocoa -k-weak_framework -kUserNotifications`
and paste it into Addtional Compiler Options.

Known Faults
As 80 bit extended float is not available, exponential or transcendental functions and matrix operations in MAT statements may be inaccurate.
SET DRAW MODE (NOTXOR, MASK, MERGE, XOR) do not work.
MOUSE POLL statement does not work properly.
Behaviors of some graphics statements are no good as in BASIC generic Mac(ARM).