`Prev Menu Next`

## Setup

### Windows

#### Set up (Lazarus)

Download 32bit version of Lazarus1.8.4 and install it into the folder that has no space character on its path name.
Lazarus Download (SourceForge)

#### 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 is not 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 that contains lazarus.exe.
If you have installed win32 Lazarus + fpc 3.0.4. on C drive, the two paths are following.

    C:\Lazarus\fpc\3.0.4\bin\i386-win32
    C:\Lazarus

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

### Linux (i386)

#### Set up (fpc and Lazarus)

Download and install fpc 3.0.4, fpc-src 3.0.4 and Lazarus 1.8.4
Lazarus Dwonload (SourceForge)
For DEB format, Lazarus i386 DEB

#### Set up (BASICAcc)

This system should be installed into a regular 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/lib/lazarus/0.9.30.4/
or
/usr/share/lazarus/1.0

### Linux (x86_64)

#### Set up (fpc and Lazarus)

Download fpc 3.0.4, fpc-src 3.0.4 and Lazarus 1.8.4 from
Lazarus Download (SourceForge).
For DEB format files, download from
Lazarus AMD64 DEB.

#### Set up (BASICAcc)

This system should be installed into a regular folder on which the user has write permission.

### MAC(Intel)

#### Set up（Xcode tools）

Install the Apple Developer Tools (or Xcode tools).
In case of OS 10. 7 or later, optional Command Line Tools must be contained.
See Installing Lazarus on MacOS X.

#### Set up（fpc and Lazarus）

Download and install a FPC 3.0.4 and Lazarus 1.8.4 according to Installing Lazarus on MacOS X,
downloading from Lazarus Download

#### Set up (BASICAcc)

This system should be installed into a regular 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.
Note 1. Overwriting update is undesirable. Old files must be erased before update.
Note 2. On OS 10.9 or later, for the first time any program is compiled, click to execute NoName.app in the OUTPUT folder with Ctrl-key pressed.

Trouble Shooting
1. For the First Time
(1) 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.
(2) 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
(3) NoName can't be opened because it is from anunidentified developer.
Right-click (or control-click) Noname.app in the OUTPUT folder and choose “Open.”

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

BASICAcc 1.2 can generate 64bit code, when "64bit" is set on Setup-Path menu.
For preparatory, launch Lazarus and follow the sequence as follows.
(1) Select "Project" and then "New Project", and select "Application".
(2) Select "Tools"-"Options"-"Environment"-"files", rewrite "Compiler Executable" to "usr/local/bin/ppcx64".
(3) Select "Project" and then "Project Option", click "Config and Target",click "Select another LCL widgetset (macro LCLWidgetType)", click "Set " LCLWidgetType"" and then click "Value "cocoa"".
(4) Select "Run" menu and then click "Build".
(5) Select "Package" menu, select "Open Loaded packages" and then compile the followngs.
SynEdit
Printer4Lazarus
(6) Quit Lazarus.