compiler

pro*C in oracle XE

I downloaded the free express edition of oracle, Oracle XE. I couldn't find the pro*c compiler in this edition. I read somewhere that oracle 9i client has pro*C, So I presumed that oracle client for 10g XE should have it too and downloaded it. But to my disappointment, I can't find it there too. :(. Is there a way to download the older o...

How to reduce simple cpp application size? (compiled with RAD Studio 2010 cpp builder)

I am using rad studio 2010 cpp builder. I've created a new SDI application, added a TCppWebBrowser control and a simple button that onclick trigger the .navigate for the TCppWebBrowser, I compiled it and I got a 1.20mb file, I was expecting less than 700kb at least. How can I reduce the size of the compiled exe? I don't want to use "bu...

Quick question regarding Conditional Compilation (ifndef)

Hello, This is quite probably a very silly question but I need to be sure. I've been given a class declaration in a header file eg. #ifndef file_H #define file_H class ex{ private: public: }; #endif and I've been required to write the method definitions in the same file, which I have done, my question is does the "#endif" stay wher...

How to write a Compiler in C for C

Possible Duplicate: Learning to write a compiler I want to write a Compiler for C. This is a Project for my College i am doing as per my University. I am an intermediate programmer in C, with understanding of Data Structures. Now i know a Compiler has the following parts: 1. Lexer 2. Parser 3. Intermediate Code Generator 4. O...

Compiler executable file csc.exe cannot be found.

Hello, I am using VS 2008 and .Net Framework 3.5 when i compile project i m getting error Compiler executable file csc.exe cannot be found. I have checked that csc.exe is also exist in the .net frame work folder. When i change compiler version 3.5 to 2.0 it starts working but My 3.5 Features are not available there like LINQ. I hav...

How I can verify my PL/SQL syntax

Hi all Sorry my English is bad.I hope u can get what I want. I have lots of *.sql files that i want to write a program to compile them and if there is any issue(problem or mistake) report me. One of my friend write an IDE for java,as I remember he use javac to generate the codes error,in other hand maybe u see when u try to write code ...

IAR MSP430 compiler internal error while compiling

IAR C/C++ Compiler for MSP430 5.10.1 [Evaluation] (5.10.1.20144) I get an illegal state internal error when attempting to compile the FreeRTOS 5.4 Task.c file (everything else compiles fine) Internal Error: [CoreUtil/General]: Illegal state The kick start version of IAR (MSP430 version) works fine. Any thoughts? ...

How can I make the C# compiler infer these type parameters automatically?

I have some code that looks like the following. First I have some domain classes and some special comparators for them. public class Fruit { public int Calories { get; set; } public string Name { get; set; } } public class FruitEqualityComparer : IEqualityComparer<Fruit> { // ... } // A basket is just a group of Fruits. public c...

Compiling a class using Java code using process

I have this piece of code that compiles a class called tspClassName, when I compile using this code: Process compileProc = null; try { compileProc = Runtime.getRuntime().exec("javac -classpath ." + File.separator + "src" + File.separator + File.separator + "gen...

What tools and libraries are available for implementing compilers targeting the CLR?

What compiler tools and supporting libraries are available that would help in implementing a compiler targeting .NET and the CLR? Preferably open source. I am especially interested in frameworks that implement a high-level IR and support for common high-level and middle-level optimizations. ...

Which programming languages have JIT compilers?

I know C# and Java do. Anyone else know of any others? ...

force warning in java

I'd like a mechanism to throw a compile-time warning manually. I'm using it to flag unfinished code so I can't possibly forget about it later. @Deprecated is close but warns at caller site, not at creation site. I'm using eclipse. Something like #Warning in C#. ...

What's the best way to add custom configuration variables in Flex?

We have to deploy a flex app through a series of development tiers. We are not using Blaze_DS or LCDS. My data/service urls are tier specific and are currently embedded in AS files. We'll be building the project on each tier. I'd like to make them environment variables, but am not sure what the best way to do at compile/build. Is ther...

Where can I find documentation on assembler?

I wrote a very short program that parses a "program" using python and converts it to assembler, allowing me to compile my little proramming language to an executable. You can read my blog for more information here http://spiceycurry.blogspot.com/2010/05/simple-compilable-programming-language.html my question is... Where can I find m...

How to execute machine language from memory?

I wrote a program to compile a simple text program to a compiled executable... Is it possible that I can load an executable to memory an some how point a pc counter to the memory space at will? Here is what I made that I would like to store the programs to memory for execution on demand... Kind of wanting to make a little web language l...

Warning vs. error

I had an annoying issue, getting a "Possible loss of precision" error when compiling my Java program on BlueJ (But from what I read this isn't connected to a specific IDE). I was surprised by the fact that the compiler told me there is a possible loss of precision and wouldn't let me compile/run the program. Why is this an error and not...

C++ - No match for 'operator=' when compiling using GCC

Hello! I recently tried building my own shared and weak pointers. Code that compiles using Visual Studio doesn't compile in GCC (4.5.0) with the following error: main.cpp: In function 'int main()': main.cpp:18:27: error: no match for 'operator=' in 'wp1 = weak_ptr<int>(((const shared_ptr<int>&)((const shared_ptr<int>*)(& sp1))))' weak_p...

Does string concatenation use StringBuilder internally?

Three of my coworkers just told me that there's no reason to use a StringBuilder in place of concatenation using the + operator. In other words, this is fine to do with a bunch of strings: myString1 + myString2 + myString3 + myString4 + mySt... The rationale that they used was that since .NET 2, the C# compiler will build the same IL if...

gcc 4.5 installation problem under ubuntu

I tried to install gcc 4.5 on ubuntu 10.04 but failed. Here is a compile error that I don't know how to solve. Is there anyone successfully install the latest gcc on ubuntu? Following is my steps and the error message, I'd like to know where is the problem.... Step1: download these files: gcc-core-4.5.0.tar.gz gcc-g++-4.5.0.tar.gz gmp-...

Is there a non-type-erased generics extension to the Java Compiler available as a 3rd party compiler extension?

I'm becoming increasingly frustrated with the limits of type-erased Java generics. I was wondering if there was a custom Java Compiler that provided a full version of generics without the quirks associated with type-erasure? Chris ...