User forums > General (but related to Code::Blocks)
Long link command truncated!
MortenMacFly:
--- Quote from: jay3d on October 12, 2012, 02:47:27 pm ---This is pretty long, so I made it an attachment.
--- End quote ---
Are you sure the command line is truncated - this looks pretty normal to me and is less than 64k (52605 characters, to be precise).
I'd guess C::B is really unable to launch the compiler. For me, this looks more like a configuration error.
Is the compiler setup correct Is the GCC tool chain path setup correctly? Are the file names ft the GCC tool chain setup correct? Are all of these they existing? Did you forget t install the GC++ compiler package (i.e. GCC only)? What happens if you compile at the command line?
jay3d:
--- Quote from: MortenMacFly on October 12, 2012, 03:08:37 pm ---Are you sure the command line is truncated - this looks pretty normal to me and is less than 64k (52605 characters, to be precise).
I'd guess C::B is really unable to launch the compiler. For me, this looks more like a configuration error.
Is the compiler setup correct Is the GCC tool chain path setup correctly? Are the file names ft the GCC tool chain setup correct? Are all of these they existing? Did you forget t install the GC++ compiler package (i.e. GCC only)? What happens if you compile at the command line?
--- End quote ---
It was truncated before using "flat objects" option, I use a toolchain from http://www.equation.com/servlet/equation.cmd?fa=fortran
It was configured properly in C::B, proven that it compiled all the project except the final linking phase where it fails (using the same mingw32-g++ command used to compile)
If I paste the command from C::B to Windows CMD it will truncate the command, even if I put it in a batch file
Cheers!
MortenMacFly:
--- Quote from: jay3d on October 12, 2012, 04:03:34 pm ---If I paste the command from C::B to Windows CMD it will truncate the command, even if I put it in a batch file
--- End quote ---
So - its a Window limitation than. Not much we can do I'm afraid...
jay3d:
--- Quote from: MortenMacFly on October 12, 2012, 04:45:53 pm ---So - its a Window limitation than. Not much we can do I'm afraid...
--- End quote ---
Such a weird limitation :(
I guess I have one solution is to pack every dir in the project into a static lib and then link those will shorted the command significantly
Thanks for help! :)
Navigation
[0] Message Index
[*] Previous page
Go to full version