[tor-bugs] #26376 [Core Tor/Tor]: add cross compiling docs

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Oct 30 01:29:53 UTC 2018


#26376: add cross compiling docs
--------------------------+------------------------------------
 Reporter:  Hello71       |          Owner:  Hello71
     Type:  enhancement   |         Status:  needs_revision
 Priority:  Medium        |      Milestone:  Tor: 0.3.5.x-final
Component:  Core Tor/Tor  |        Version:  Tor: unspecified
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:  teor          |        Sponsor:  Sponsor8-can
--------------------------+------------------------------------
Changes (by teor):

 * status:  needs_review => needs_revision


Comment:

 This documentation seems ok to me.

 But I am not sure that the references to compiling on Windows are
 accurate:

 > Compiling tor *on* Windows using mingw is theoretically supported, but
 few
 > developers actually use this configuration, and it is not used to build
 Tor
 > Browser. Therefore, this guide will only cover cross-compilation.

 We compile tor on Windows using MSYS2 on every pull request on 0.3.4 and
 later:
 https://ci.appveyor.com/project/torproject/tor

 MSYS2 contains cygwin as well as mingw. The library and compiler names
 suggest that our builds just use mingw. But I haven't checked if the
 builds or binaries depend on cygwin.

 > 2. Acquire libevent, openssl, and zlib cross-compiled for mingw. ...

 MSYS2 has package repositories containing these libraries. There seem to
 be versions of the libraries that just depend on mingw.

 Once this cross-compiling document is accurate, we should merge it.
 Then we can open tickets for mingw-on-Windows and MXE builds.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26376#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list