gcc for Linux for Windows

This is a discussion on gcc for Linux for Windows within the Linux Programming forums, part of the Platform Specific Boards category; Where can I get a gcc compiler to run under linux? I'm using the KDE desktop. Thanks for any information....

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    44

    gcc for Mandrake

    Where can I get a gcc compiler to run under linux? I'm using the KDE desktop. Thanks for any information.
    Last edited by Strut; 12-25-2002 at 02:46 AM.

  2. #2
    moi
    moi is offline
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    all linuxes that i am aware of ship with gcc
    hello, internet!

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    44
    Mine didn't. Its called Linux for Windows, it is a modified version of the Mandrake installation to install without losing windows or re-partitioning your hard drive. it has an option to standard install, but I'm too afraid to take that route. It came with one CD, the OS and some stuff to play with. Thats about it.

    Any help on downloading and isntalling GCC? I'mnot familiar with linux hardly at all.
    [Strut]

    I lay on my bed watching the stars, and I thought to myself... Where the hell is my roof?

  4. #4
    Registered User
    Join Date
    Sep 2001
    Posts
    44

    found something...

    Okay, i found:

    D:\Mandrake\RPMS\gcc-cpp-2.95.2-12mdk.i586.rpm
    and its 98kb in size.

    I looked at the GNU site and downloading what I thought was GCC, it was the source. So I suppose I'll have to do a search for the compiled binaries, like you stated. Was hoping someone knew of an official site of the gcc.

    Actually, I remember the GNU site giving an FTP that they claimed was the binaries. I'll look into that more, maybe I just grabbed the wrong file on accident.

    thanks.
    [Strut]

    I lay on my bed watching the stars, and I thought to myself... Where the hell is my roof?

  5. #5
    still a n00b Jaguar's Avatar
    Join Date
    Jun 2002
    Posts
    187
    I'm using the KDE desktop.
    You can also try Package Manager in KDE (GUI), if you want.
    I myself prefer to one posted by vVv.
    But it shouldn't be rpm -i D:\Mandrake\RPMS\gcc-cpp-2.95.2-12mdk.i586.rpm,
    I think it should be rpm -i mounted_path_for_rpm_file_in_cdrom.
    Last edited by Jaguar; 12-26-2002 at 10:45 AM.
    slackware 10.0; kernel 2.6.7
    gcc 3.4.0; glibc 2.3.2; vim editor
    migrating to freebsd 5.4

  6. #6
    Registered User unixOZ's Avatar
    Join Date
    Feb 2002
    Posts
    91
    You might try using a "real" linux distro

  7. #7
    moi
    moi is offline
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    Originally posted by Strut
    Mine didn't.
    then ignore it. a linux with no gcc is no linux.
    hello, internet!

  8. #8
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    Originally posted by Strut
    Mine didn't. Its called Linux for Windows, it is a modified version of the Mandrake installation to install without losing windows or re-partitioning your hard drive. it has an option to standard install, but I'm too afraid to take that route. It came with one CD, the OS and some stuff to play with. Thats about it.

    Any help on downloading and isntalling GCC? I'mnot familiar with linux hardly at all.
    Linux for Windows?? Hrm...sounds fishy to me

  9. #9
    Registered User
    Join Date
    Sep 2001
    Posts
    44
    It is a 'real' linux distro. Its linux mandrake 7.2. It seems to me to be a stripped down version though, just so you can see what linux is like. I plan to get RedHat 8.0 ASAP.
    [Strut]

    I lay on my bed watching the stars, and I thought to myself... Where the hell is my roof?

  10. #10
    Registered User JasonLikesJava's Avatar
    Join Date
    Mar 2002
    Posts
    175
    Originally posted by face_master
    Linux for Windows?? Hrm...sounds fishy to me
    Yeah, I tried this once back when I was a newbie... it just puts Linux in a single file on your Windows partition. I had some problems installing stuff because it seems that a "Linux for Windows" installation limits Linux to 2 Gigs.

    I'd suggest a normal installation.
    OS: Linux Mandrake 9.0
    Compiler: gcc-3.2
    Languages: C, C++, Java

    If you go flying back through time and you see somebody else flying forward into the future, it's probably best to avoid eye contact.

  11. #11
    _ Munkey01's Avatar
    Join Date
    Dec 2002
    Posts
    280
    Is that sort of like BeOS? But anyways if you cannot get gcc or g++ for your "linux" distro working right, I bet they have came out with Windows versions of these popular compilers.

  12. #12
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    DJGPP is a Windows version of gcc.

    http://www.delorie.com/djgpp

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Quick Compilation Question
    By chacham15 in forum C Programming
    Replies: 10
    Last Post: 10-12-2008, 08:15 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

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