[tor-bugs] #13081 [Tor]: Fix build with Visual Studio in Windows

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Mar 29 12:05:23 UTC 2015


#13081: Fix build with Visual Studio in Windows
-------------------------------+------------------------------------
     Reporter:  NewEraCracker  |      Owner:
         Type:  defect         |     Status:  needs_revision
     Priority:  normal         |  Milestone:  Tor: 0.2.???
    Component:  Tor            |    Version:
   Resolution:                 |   Keywords:  tor-relay, msvc, lorax
Actual Points:                 |  Parent ID:
       Points:                 |
-------------------------------+------------------------------------

Comment (by yawning):

 Replying to [comment:12 ikurua22]:
 > Why I can't use Code::Blocks or some other open-source compiler to build
 windows binary?
 > I don't trust Visual Studio because it was created by Microsoft.

 There should be no reason why you currently can't use an open source
 (presumably gcc based) compiler to build a Windows tor binary.

 > VS is used by many companies - MS will use them as a puppet - to install
 hidden attack-code
 > or spyware inside its binary. Even the developer say "It's okay! My
 source code is open!",
 > he/she used VS for compile a binary, this is a huge security problem.

 If you don't trust MS, the fact that Visual Studio may be subverted is the
 least of your problems, considering you're discussing making binaries that
 target an operating system they wrote.  So if you paranoia is correct,
 then your ring 0 is subverted anyway and what compiler used doesn't really
 matter.

 > Please, don't use VS. Consider using MingGW, CodeBlocks, etc to create
 .exe files...

 The tor browser builds are created via cross compiling using mingw.  This
 is only a ticket to fix the build on modern VS versions so that people who
 wish to build in such enviornments can, because there's nothing wrong with
 keeping the code portable.

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


More information about the tor-bugs mailing list