Git Product home page Git Product logo

Comments (15)

OhGodAPet avatar OhGodAPet commented on July 23, 2024

http://ottrbutt.com/sgminer-win-sleep.patch

from sgminer.

veox avatar veox commented on July 23, 2024

Is this truly unneeded under all circumstances, or does it require a specific version of some software? As far as I understand, you are cross-compiling, not building natively; sleep() is there for Windows users who are building natively using MinGW.

In either case, I would prefer not to remove it until enough people confirm it is not needed.

from sgminer.

veox avatar veox commented on July 23, 2024

I've updated the cross-compilation instructions from cgminer in sgminer/windows-cross-compile (file doc/windows-build).

from sgminer.

OhGodAPet avatar OhGodAPet commented on July 23, 2024

I understand. But it shouldbe unnecessary using all recent versions of MinGW-w64.

from sgminer.

veox avatar veox commented on July 23, 2024

What about 32-bit?

from sgminer.

OhGodAPet avatar OhGodAPet commented on July 23, 2024

Same issue with 32-bit. MinGW-w64 is for both.

from sgminer.

tonobitc avatar tonobitc commented on July 23, 2024

sleep doesn't exist in MingW so it is still needed.

from sgminer.

OhGodAPet avatar OhGodAPet commented on July 23, 2024

MinGW, as in, the original? It's dead and buried.

from sgminer.

veox avatar veox commented on July 23, 2024

We should just put an #ifdef or something similar to check the MinGW version and wheter it's being compiled natively or cross-compiled.

from sgminer.

OhGodAPet avatar OhGodAPet commented on July 23, 2024

That works, I suppose.

from sgminer.

gdevenyi avatar gdevenyi commented on July 23, 2024

I think the defines you're looking for are listed here

http://sourceforge.net/p/predef/wiki/Home/

from sgminer.

tixi avatar tixi commented on July 23, 2024

+1 needed when compiling with MinGW on win 32

from sgminer.

veox avatar veox commented on July 23, 2024

Pushed tonobitc (aka tonokip) fixes to git master. Please check.

from sgminer.

rickardandersson avatar rickardandersson commented on July 23, 2024

Latest master builds fine for me using MinGW32.

from sgminer.

veox avatar veox commented on July 23, 2024

Suppose this works, closing.

from sgminer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.