Skip to content

Commit 81d11d5

Browse files
authored
Make Linux instructions generic plus 32-bit cross-compile info
1 parent d8d2547 commit 81d11d5

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,22 @@ Build Dependencies
3939

4040
### Linux
4141

42-
Generally, a GNU/Linux OS with standard build tools (Make, GCC with 32-bit support), Git, Ruby, Libcurl, and Tcl/Tk. Packages for popular distributions:
42+
Generally, a GNU/Linux OS with standard build tools (Make, C-compiler, etc), Git, Ruby, Libcurl, and Tcl/Tk. Packages for popular distributions:
43+
44+
Debian/Ubuntu: `sudo apt-get update && sudo apt-get install build-essential git gcc-multilib ruby ruby-dev php libcurl4-openssl-dev tk-dev`
45+
46+
CentOS/Fedora: `sudo yum groupinstall 'Development Tools' && sudo yum install ruby ruby-dev php libcurl tcl-devel tcl tk-devel tk`
47+
48+
<details>
49+
<summary>Packages for 32-bit cross compiling</summary>
4350

4451
Debian/Ubuntu: `sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install build-essential git gcc-multilib ruby ruby-dev php libcurl4-openssl-dev:i386 tk-dev:i386`
4552

4653
CentOS/Fedora: `sudo yum groupinstall 'Development Tools' && sudo yum install ruby ruby-dev php glibc-devel.i686 libgcc.i686 libcurl.i686 tcl-devel.i686 tcl.i686 tk-devel.i686 tk.686`
4754

55+
</details>
56+
57+
4858
### Mac OS X
4959

5060
[Xcode](https://developer.apple.com/xcode/) command line tools.

0 commit comments

Comments
 (0)