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]

error: size of variable is too large


Hi all,

while compiling our application using cross compiler,following error was occurred.

error: size of variable `a_var' is too large

where 'a_var' is structure variable(It is around 2MB of size).

I want to know Is there any limit for variable size.Is it depend on particular target to which gcc is ported.
please help me in order to resolve this issue.


--P.V.Siva Prasad






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