This is the mail archive of the gcc@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: gcc issue on AIX


>>>>> HRumde  writes:

HRumde> I am using GCC to compile Pro*C generated C Program on  AIX.
HRumde> My source file size is 1458749 byes.  When I compiled my codes by -c,
HRumde> I got warning but  .o object file was not created. There are many functions
HRumde> ( arround 164 + many global variables )  in my source codes.
HRumde> I can compile this source file by "IBM's ANSI cc" compiler.

HRumde> I extracted 3-10 functions from this huge file and compiled successfully by
HRumde> gcc to create .o file.

HRumde> Is there any limitation on the maximum size of source file or maximum
HRumde> functions, globules per source file?

	There is no limit on the input source file size, but the PowerPC
GCC port is unable to handle far branches within a single function, while
IBM's compiler is able to handle this extreme case.  At link time, you
might get TOC overflow errors, but at compile/assembly time one will
receive branch displacement errors.

David


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