1. 개요

free pascal을 설치하고 띄워보는 것이 목표이다.


2. 소개

free pascal 홈페이지에 있는 소개문이다.

Free Pascal is a 32, 64 and 16 bit professional Pascal compiler. It can target many processor architectures: Intel x86 (including 8086), AMD64/x86-64, PowerPC, PowerPC64, SPARC, ARM, AArch64, MIPS and the JVM. Supported operating systems include Linux, FreeBSD, Haiku, Mac OS X/iOS/iPhoneSimulator/Darwin, DOS (16 and 32 bit), Win32, Win64, WinCE, OS/2, MorphOS, Nintendo GBA, Nintendo DS, Nintendo Wii, Android, AIX and AROS. Additionally, support for the Motorola 68k architecture is available in the development versions.

3. 다운로드

  • https://www.freepascal.org/ 접속 후 우측 Download 메뉴 진입
  • 본인은 free pascal os x 버전을 받았으며 source forge를 통해 "fpc-3.0.4.intel-macosx.dmg" 파일 받음

4. 요구사항

  • Xcode가 필요하다. 
  • Xcode가 없으면 아예 설치 과정이 완료되지 않는다.

This package installs the Free Pascal Compiler 3.0.4 for Intel (32 and 64 bit). It requires Mac OS X 10.4.0 or later with Xcode and the Xcode command line tools installed. Specific Xcode version instructions:

  • Xcode 5.+ (OS X 10.9+, macOS 10.12+; for OS X 10.8, see next item): after installing Xcode, open a Terminal window and execute "xcode-select --install" (without the quotes)
  • Xcode 4.3-5.x Mac OS X 10.7/OS X 10.8): after installing Xcode, go to Preferences and then Downloads and install the Command Line Tools package
  • Xcode 3.x-4.2 (Mac OS X 10.6): make sure not to deselect UNIX Development Support during the Xcode installation process.

5. 오류

만약 맥에서 설치가 잘 안되면 

  • Xcode 업데이트
  • xcode-select --install 실행