c++ - How to prepare a build job that produces .dll and unix .so on single Windows environment? -


how create c++ single build job produce .dll working on windows , .so prepared work on unix?

suppose our development environment based on windows.

i give simple solution. please consider idea. have never done this. think logically should possible.

  1. start work in windows environment.
  2. you have write code should support windows , unix using pre-processor directives.
  3. create 2 make files support windows , unix (make_win, make_uni). can in single make file too.
  4. install oracle virtual box in windows environment.
  5. install fedora-18 on virtual box.
  6. now can access make files windows , fedora both oss concurrently (simply can access same file system using 2 oss ).
  7. run make_win using windows , run make_uni using fedora.

note: can chose work in linux environment , possible install virtual-box , windows top on that.

these things may http://geekery.amhill.net/2010/01/27/virtualbox-with-existing-windows-partition/ http://www.giannistsakiris.com/index.php/2008/04/09/virtualbox-access-windows-host-shared-folders-from-ubuntu-guest/


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -