Coder Social home page Coder Social logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
MinGW is a tricky environment; it's some mix of win32 and posix.

It would be very helpful to see the rest of the error report.  What happens 
when you
type 'make'?  Seeing the configure output would be very helpful too.

Original comment by [email protected] on 11 Oct 2007 at 9:02

from gperftools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
To make a lang log short. It fails while trying to build against pthreads. I 
will
provide more details later. In my opinion is that it does not use the sources in
src/windows.

In my experience MinGW with MSYS is just win32 with gcc and gnu build 
environment.
The main thing to do is to make a conditional build, eg. with AM_CONDITIONAL. 
Cygwin
on the other hand is a different issue.

I will look into to issue and provide more info and implementation help in the 
coming
days.

Original comment by [email protected] on 12 Oct 2007 at 4:04

from gperftools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
I instaleld MinGW and MSYS to play around with, and ran into the same problems 
with
pthreads that you mention.  Looking on the web, I see that msys does not support
pthreads, so no surprise there's a problem.

The solution, as you point out, is to use the windows code we have to implement 
the
threading library, instead of using pthreads.  But I couldn't figure out how to 
get
that to work either.  I believe that MSYS is win32 with a unix build 
environment, but
I dont' know how to get access to the win32 part.  I don't see windows.h 
anywhere
inside the msys shell, for instance.

If you have any hints on how to get windows/port.h and port.cc to compile under 
msys,
I'll be happy to make the requisite configure changes to get that to work 
automagically.

Original comment by [email protected] on 26 Nov 2007 at 11:02

from gperftools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
Never mind, I found windows.h.  I'll see what I can do to get something to 
compile
under msys for the next release.

Original comment by [email protected] on 26 Nov 2007 at 11:37

from gperftools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
I've got the build working for mingw now (it was a lot of work!)  I expect 
something
will be out in the next release -- hopefully this week.  There are still some
problems with the linker (I think), so I'm not sure everything will work 
perfectly,
but it's a good start.

Original comment by [email protected] on 27 Nov 2007 at 11:33

from gperftools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024

Original comment by [email protected] on 27 Nov 2007 at 11:33

  • Changed state: Started

from gperftools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
Should be fixed in perftools 0.94

Original comment by [email protected] on 29 Nov 2007 at 11:48

  • Changed state: Fixed

from gperftools.

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.