User forums > Using Code::Blocks
error 7! when linking
Jenna:
--- Quote from: Zorroslade on July 23, 2012, 08:43:21 pm ---
Hi,
I am asking how to turn on the logging/debugging for the CodeBlocks, so I can provide more info.
We are using a cbp2make utility to convert our cbp file to a makefile. I do believe that it is the same. This error code 7 only started to occur when we moved to the codesourcery compiler.
I have specified the Toolchain and path in the Compiler settings options under Settings.
Z
--- End quote ---
It's described in the link I gave you:
--- Quote from: jens on July 23, 2012, 05:40:52 pm ---I assume you have turned on full commandline logging already, if not: http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
--- End quote ---
Zorroslade:
Sorry, I didn't notice this link. I will enable it tomorrow and post the log.
Z
Zorroslade:
Sry, it took so ling to get back. My companies priorities are like the wind.
I have one more data point. I am running Debian Squeeze 64 bit. My colleagues are running Debian squeeze 32 bit build 7780, and It does not get the "error 7" when linking.
I do have full command-line option checked. Is there any more logging/debugging that I can enable?
Z
Zorroslade:
*,
error 7! (E2BIG) is "errno 7 is E2BIG : The total number of bytes in the environment (envp) and argument list (argv) is too large".
Is there a way to extend the shell limit for codeblocks?
Rob
Zorroslade:
Is there a way to split the output up into smaller chunks in order to get around this?
I am willing to look into this myself if someone could give me a link to get the code. I do not work with svn or git much so a tar.bz2, instructions for a novice would help, or a link. I can ask questions in that thread/link if I need further help.
Z
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version