Thread: minimalist compiler/linker

  1. #1
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787

    minimalist compiler/linker

    does anybody know of a small compiler/linker that was built for win32? preferably obtainable in a .exe format (not compressed). I don't care about a code editing environment, but it would be nice... I guess I'm kinda looking for something along the lines of gcc...

    edit: found this, but I still don't quite get it: http://www.mingw.org/download.shtml#hdr1
    Last edited by major_small; 06-18-2004 at 10:06 AM.
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  2. #2
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    if you use dev-c++ this is the compiler you are using major small
    Woop?

  3. #3
    Stinking it up. StinkyRyan's Avatar
    Join Date
    Jun 2004
    Posts
    61
    bcc works just like gcc for windows, you can do it all on the dos screen using windows 'edit' program to type the code and then you call the compiler with the source codes file name as an arguement.

  4. #4
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    where can I get bcc?

    edit: I know what you're talking about now, but I have no control over the environment I'm working in...
    Last edited by major_small; 06-18-2004 at 10:26 AM.
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  5. #5
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Dev-C++ is in no way a minimalist compiler/linker... it's a full IDE, and if you're using Dev-C++ you're using a mingw port of gcc as your compiler, not Dev-C++.

    I'm just looking for the compiler/linker, and I found a Mingw port of gcc, but it doesn't seem to be working (I dl'ed the binary file)
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  6. #6
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    >> I found a Mingw port of gcc...

    And how is it different from the Mingw that is installed when you install Dev-C++?

    gg

  7. #7
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    I don't have Dev installed on this computer... this one only has a MSVC compiler, but I don't have the time to always be waiting for the IDE to load up and strip down the output files to the .cpp and .exe that I need... I don't know how it's different, but it's not working at all... it just says that there's nothing to do with the file I gave it... even Dev is too big of a program to use... I need something LIGHT and FAST... it will need to be redownloaded/reinstalled every time I log on to the system...

    I'm looking into bcc... depending on how easy it is to install I may be using it...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  8. #8
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    >> it will need to be redownloaded/reinstalled every time I log on to the system...

    I would take a working Dev-C++ installation and put together a zip file with everything you need to do what you want to do.
    C:\Dev-Cpp\bin\ -- could trim some stuff out of here
    C:\Dev-Cpp\include\ -- could trim out \c++\backward\, \ddk\, \GL\, etc...
    C:\Dev-Cpp\lib\ -- take only the libs you need, not sure what else can be trimmed

    gg

  9. #9
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    If you have VC here is a batch file, onto which you can drag a C or C++ file to compile:
    Code:
    :: Drag a file onto this batch file to compile it with Visual C++
    :: Edit this batch file as needed for your environment
    
    :: Call vcvars32.bat for your installation of VC++.
    
    :: This is for VC 6.
    call "C:\Program Files\Microsoft Visual Studio\VC98\Bin\vcvars32"
    :: This is for VC.NET.
    call "C:\Program Files\Microsoft Visual Studio .NET\Vc7\bin\vcvars32"
    :: This is for VC.NET 2003.
    call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32"
    :: This is for VC Toolkit 2003.
    call "C:\Program Files\Microsoft Visual C++ Toolkit 2003\vcvars32"
    
    :: Set environment variables for Platform SDK:
    SET INCLUDE=%INCLUDE%;C:\Program Files\Microsoft SDK\Include;
    SET LIB=%LIB%;C:\Program Files\Microsoft SDK\Lib;
    
    %0\
    cd %0\..
    cd /d %0\..
    
    cls
    
    cl /GF /W3 %1 KERNEL32.LIB USER32.LIB
    
    @del *.obj
    @echo.
    @pause

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need a new compiler/linker
    By xixpsychoxix in forum C Programming
    Replies: 10
    Last Post: 07-03-2009, 12:10 PM
  2. Replies: 4
    Last Post: 09-02-2007, 08:47 PM
  3. A Simple Compiler/Linker
    By SMurf in forum C Programming
    Replies: 9
    Last Post: 02-17-2005, 03:53 PM
  4. minimalist pentium programming
    By PedroTuga in forum Tech Board
    Replies: 9
    Last Post: 03-01-2004, 02:22 PM
  5. compiler/linker output
    By Unregistered in forum C++ Programming
    Replies: 3
    Last Post: 10-18-2001, 09:11 PM