answersLogoWhite

0

CodeBlocks is an extensible, cross-platform IDE but it does not come with a compiler nor a linker since they are platform-specific. When you first run the IDE, it will scan your system for all supported compilers and integrate them into your IDE If you have more than one supported compiler, then you must choose the master compiler. But if you have no compiler, then you must add one. To build an EXE you must configure the project's compiler and linker switches according to your chosen compiler. Consult the compiler's own documentation for more information on this.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Where can I find a free C plus plus compiler download for Linux?

Codeblocks has a Linux version compiler. There's a link to it under the related links.


Where the c-program can be written in Linux and how to save it and compile?

Simply any text edittor can be used to write C program. To compile the .c file saved, Linux comes with gcc compiler. In the command line: $ gcc -o outputfile inputfile.c will compile the inputfile.c and create executable outputfile. Other than that there are number of IDEs (i.e. Integrated Development Environment) are available such as Kdevelop, Eclipse etc.


How do you compile a C program in Linux?

1. Create the source into a file with any text editor, for example: myprog.c2. Compile it: gcc -Wall -W -pedantic -g -o myprog myprog.c3. Run it: ./myprog


What does android have to do with Linux?

Android is based on the Linux Kernel. A kernel is a program that handles I/O and basically all the hardware stuff. So Android OS is device specific. (However there are some linux distributions which are device specific and you have to compile the kernel yourself.) That's why you can't install KitKat for Sony on an HTC device. You have to make it (compile) to suit your device's hardware specs.


How do you use GLBasic?

GLBasic can be used to write games and utilities for Windows, Mac, Linux, iPhone and many other platforms You do this by using the integrated editor and then compile the program.


How do you edits program using Linux compiler?

You don't. The compiler is used to compile programs, not edit them. Most source code can be edited using a standard text editor.


Is there a free service that compiles C programs for Linux?

Linux generally comes installed with the free gcc compiler. MacOSX does too. But when you compile a program with gcc, it runs on the platform under which it was compiled. Therefore, programmers on OSX that need to deliver a Linux binary need to use gcc's cross-compiler mode to produce Linux binaries.


How do you write a C program in Linux?

1. Create your source-file with any text-editor (mcedit myprogram.c, for example).2. Compile it: gcc -g -Wall -W -pedantic -o myprogram myprogram.c3. Fix the errors and warnings, if any4. Run your program: ./myprogram(Note: you should not use linux-9.0 yet, as only linux-2.6.x released).


Is Linux better for programming?

Linux APIs are better documented, so it's easier to program for. However, you would probably want to do your programming on whatever platform you are targeting. If you are a Windows developer, writing the programs on Linux makes little sense.


What is the best operating system for software development?

This obviously depends what platform your writing your program for, if it's for Linux/BSD/Solaris etc, use Linux. If it's for Windows guess what you use? Windows (Except in some cases using Linux is okay). If it's for... you get the point. Personally, I use Linux.


Do you have to compile Linux software before using it?

You can if you really want to! But, most Linux software is already compiled and ready to be downloaded and installed. Note that Linux is the kernel from which many distributions (distos) branch out - Ubuntu, Linux Mint are but two examples.


What is Linux wine and what is it used for?

Linux Wine is an open source software program. The Linux Wine software program allows Linux users to run Windows programs on their own devices such as computers.