Thread: GCC help

  1. #1
    Registered User
    Join Date
    Nov 2004
    Posts
    67

    GCC help

    Hi, I'm using GCC on windows and want to know where on my computer the gcc location that i'm using is linking to. I remeber installing gcc and then cygwin(which had gcc in it aswell) and i'm not sure which one my command prompt is using. I need to know the location so that i know where to place the appropriate OpenGL librariers. Also, where abouts in the gcc file structure do i place the OpenGL headers and libraries?

    thanks

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Start -> Run -> cmd (or command on older versions) -> path <enter>


    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User
    Join Date
    Nov 2004
    Posts
    67
    Ok thanks for that. It looks like my gcc is working from cygwin/bin.

    it appears that the gcc libraries are located in C:\cygwin\lib\gcc-lib and inside folders "i686-pc-cygwin" or "i686-pc-mingw32" . Inside both of these is a folder called lib which contains float.h , stdbool.h etc . is this where open GL header files would go?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Gcc can't find obvious copy constructor
    By SevenThunders in forum C++ Programming
    Replies: 13
    Last Post: 03-19-2009, 02:41 PM
  2. Profiler Valgrind
    By afflictedd2 in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2008, 09:38 AM
  3. Replies: 4
    Last Post: 09-02-2007, 08:47 PM
  4. Compiles on gcc 3.3 but not on gcc 4.0.3
    By cunnus88 in forum C++ Programming
    Replies: 5
    Last Post: 03-29-2007, 12:24 PM
  5. gcc
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 21
    Last Post: 10-22-2003, 03:46 PM