GCC Installation Help

This is a discussion on GCC Installation Help within the C++ Programming forums, part of the General Programming Boards category; Hey I have no idea how to install this (win xp, and I have gcc 1.3.1 or something installed). I ...

  1. #1
    Dae
    Dae is offline
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034

    GCC Installation Help

    Hey

    I have no idea how to install this (win xp, and I have gcc 1.3.1 or something installed). I tried the 'impatient' install commands from the directory I unloaded GCC:
    Code:
    ./configure
    make
    make install
    ./configure says '.' is not a command (even though there IS a 'configure' file in that directory. make says I have no target defines or a makefile. (EDIT: I found that 'make -f Makefile.in' would work, but says there no seperator at line 486)

    So I tried the 'correct' install, starting with configure:
    Code:
    % mkdir objdir
    % cd objdir
    % srcdir/configure [options] [target]
    I got to the last part and I tried some combinations with no success. I need guru help! well.. any help actually

    I'd really appreciate any help with this, and maybe I'll learn what the install html's are talking about.
    Last edited by Dae; 06-15-2005 at 05:42 PM.

  2. #2
    ---
    Join Date
    May 2004
    Posts
    1,379
    ./configure is for linux

  3. #3
    Dae
    Dae is offline
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    Quote Originally Posted by sand_man
    ./configure is for linux
    Thank you!

    Now if I can figure out why their recommended 'make' or 'make install' isnt working.

  4. #4
    FOX
    Join Date
    May 2005
    Posts
    188
    Get Dev-C++ or just the bare MinGW instead.

  5. #5
    Dae
    Dae is offline
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    Quote Originally Posted by ^xor
    Get Dev-C++ or just the bare MinGW instead.
    I've been working with that for a while but I feel more in control with Makefiles and knowing my gcc is up to date, and of course all the libraries I'll plan to use eventually or learn from. I still use Dev-Cpp to edit the files though, and save them all I just hit compile, then cancel. But I'd like to get gcc installed because I wont always have my choice of dev-cpp and its good to get used to gcc (plus I plan on getting linux for my next computer).

    I have the time to search around for help, try combinations and figure it out.

    --------------------

    or.. maybe I should just wait until I'm running Linux? because these docs dont seem to realize 90 someodd percent of people are running on Windows. (not that I like it).. though reading the docs i see winnt supports what they are talking about, guess thats why I didnt have problems before -thats what I was running.
    Last edited by Dae; 06-15-2005 at 07:20 PM.

  6. #6
    Dae
    Dae is offline
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    Quote Originally Posted by sand_man
    ./configure is for linux
    Ohh I found a part in the docs that said you could use 'sh configure' instead of './configure', which is some older command.. but it works for win xp cmd prompt! I think everythings fine now.. that was easy, I just wish I was on winnt or linux so I didnt have to struggle figuring out some foreign commands and such that dont work with xp.

    Phew.

    Thanks guys

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Profiler Valgrind
    By afflictedd2 in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2008, 09:38 AM
  2. GCC compiler installation
    By kris.c in forum Tech Board
    Replies: 16
    Last Post: 07-23-2006, 04:15 PM
  3. Problems about gcc installation
    By kevin_cat in forum Linux Programming
    Replies: 4
    Last Post: 08-09-2005, 09:05 AM
  4. GCC installation
    By confuted in forum Tech Board
    Replies: 0
    Last Post: 05-17-2003, 10:59 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21