This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: is the c code in gcc comiled sequentially???



John Love-Jensen wrote:
> 
> Hi enggakshat,
> 
> What version of GCC are you using?
> 
> What programming language from GCC are you using?  Ah, by your title, it
> appears you are using C -- not C++, FORTRAN, Ada, Java 1.4, D Programming
> Language, or some other language supported by GCC.
> 
> What hardware platform are you using?
> 
> What operating system are you using?
> 
> What command line arguments for GCC's gcc tool chain driver are you using?
> 
> Can you provide some COMPILABLE minimal example code that reproduces the
> problem?
> 
> Thanks,
> --Eljay
> 
> 
> 
hi john,

following are the specifications u asked for.
-gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)

-i m using c++

-Ubuntu 6.06 LTS

-i m using a dell inspiron 6000 
->1.6 ghz intel centrino(MT)
->1 gb RAM

-i really dont have a clue to what tool chain driver means.sorry for that.


-eg:
for the following simple code i thought its obvious that 'hello' is printed
but that doesnt happen.
as far as i knew the code is executed sequentially. 

#include<iostream>

using namespace std;

int main()

{
 int i=0;
 cout<<"hello";
 while(1)
 {
  i++;
 }
}

regards,
Akshat
-- 
View this message in context: http://www.nabble.com/is-the-c-code-in-gcc-compiled-sequentially----tf2634251.html#a7359255
Sent from the gcc - Help mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]