Questions tagged [gcc3]

Version 3.x of GCC (GNU Compiler Collection). GCC is the de facto standard C compiler on Linux (though version 3 is not used in modern versions of Linux). The compiler collection supports many other languages and platforms as well.

Version 3.0 was released on 2001-06-18. Version 3.4.6 was released on 2006-03-06.

See also:

33 questions
1
vote
0 answers

Found some old code using __single_client_alloc - how can I revive it?

I found an old package online that I'd like to use. One of the header files includes the following lines: #include "gcc_version.h" #if GCC_VERSION>=3002 #define malloc_alloc __single_client_alloc #include #include…
Heshy
  • 382
  • 1
  • 10
1
vote
1 answer

C: Utility to analyze .obj files, to measure size of some of the functions in exact bytes?

I needed to look-up the exact byte size of few C functions. Any recommendation of any utility which is able to analyze .obj files generated by the gcc compiler?
TCSGrad
  • 11,898
  • 14
  • 49
  • 70
1
vote
1 answer

Should gcc builtins always be resolved during the compilation step, or the linker step?

In running gcc 3.4.3 on a Solaris 5.11 box I see that builtin functions are left undefined during compilation, but are resolved against libgcc.a when the Solaris linker links against libgcc.a. On gcc 4.5.2 on another Solaris box, the same builtin…
xsquared
  • 31
  • 2
1
vote
2 answers

vector::push_back bug in GCC 3.4.3?

The following code crashes for me using GCC to build for ARM: #include using namespace std; void foo(vector& bools) { bools.push_back(true); } int main(int argc, char** argv) { vector bools; bool b = false; …
1
vote
1 answer

Compiling qemu neo with gcc3.4

I have realized that it's lots of trouble and pain to compile qemu with gcc4, so I have installed gcc-3.2 toolchain in my linux box and now I'm compiling qemu, These are the steps that I have followed and emitted…
sandun dhammika
  • 881
  • 3
  • 12
  • 31
1
vote
1 answer

Internal compiler error with Boost.Spirit

I'm trying to compile the following seemingly simple code using GCC 3.4.6 and Boost 1.43 and it's generating an internal compiler error: #include #include #include…
Haitham Gad
  • 1,529
  • 2
  • 13
  • 23
1
vote
1 answer

GCC 3.4 vs 4.4 for C++ based MEX files?

What are the trade-offs/concerns for using gcc 3.4 vs 4.4 for compiling modern Matlab MEX files? I need to compile some off-the-shelf C++ code (kdtree) as a MEX file for use with MATLAB (R2012a) under Fedora v16. I have run into symbol problems…
Bryan P
  • 5,900
  • 5
  • 34
  • 49
0
votes
3 answers

Possibility to simulate -Werror option behavior with GCC 3.4?

Is there any hope to force GCC 3.4 compiler to make all warnings into errors like GCC's 4.4 -Werror option does ? Thanks
Agnius Vasiliauskas
  • 10,935
  • 5
  • 50
  • 70
0
votes
1 answer

Trying to validate the complete loading of a page in selenium python through a VM

I am trying to run a simple selenium automation script (which just loads up google ,searches for youtube and hits the search button) through a virtual machine.So when i set up the options/parameters as shown in the code below (even setting headless…
0
votes
1 answer

Enabling long long in C89 at GCC 3.2, 4.4 and 5.4

I'm working in C89 in quite a restricted environment. I am required to write for a compiler based on GCC 4.4, but my code must also pass tests compiled with GCC 3.2. Our everyday development compiler is GCC 5.4. For my money, this is as mad as it…
Walkingbeard
  • 590
  • 5
  • 15
0
votes
1 answer

How to fix "Section .vectors overlaps section .data " | Adding ATmega1281 Support to Compiler

So, I was working on a project to add ATmega1281 architecture support to my Toolchain. I was having avr-gcc-v3.3, avr-binutils-2.13.1, and avr-libc-cvs2003. I have added the ATmega1281 support to Binutils-2.13, Gcc-3.3 and Avr-libc-cvs2003. After…
0
votes
1 answer

Cannot link streams code with gcc

I have a problem compiling the following code: // writing on a text file #include #include using namespace std; int main () { ofstream myfile ("example.txt"); if (myfile.is_open()) { myfile << "This is a line.\n"; …
Roger
  • 151
  • 7
0
votes
0 answers

Error when assembling for AT91SAM9261EK

I am trying to compile an assembly program using the keil uVision platform. The program issupposed to run on an AT91SAM9261EK (I have modified the settings as intended) but I get the following…
JimS
  • 349
  • 1
  • 4
  • 19
0
votes
1 answer

How does hash_set in C++ work?

I don't know how to use hash_set in C++. I'm incredibly new to this language so I don't understand how to do a lot of things. How do I use the SGI hash_set extension so the compiler finally compiles without error? Here is my header file: #ifndef…
djthoms
  • 3,026
  • 2
  • 31
  • 56
0
votes
1 answer

gcc-3.4 compilation error

I need gcc-3.4 for compilation f some software. I installed on my Ubuntu-12.4 using following instruction :-- https://superuser.com/questions/351742/how-to-install-gcc-3-4-on-ubuntu-11-10 sudo dpkg -i *.deb gcc-3.4 hello.c I compiled simple hello…
Katoch
  • 2,709
  • 9
  • 51
  • 84