User forums > Help
CRT2.O problem
net:
i ve missed to add the path to libgcc.a then copied the crtend.o to the base project folder
now the project compiles and links!
UNDER WINDOWS VISTA YOU MUST HAVE CRT2.O, CRTBEGIN.O AND CRTEND.O
LOCATED ON THE BASE PROJECT FOLDER
IF YOU MISS TO DO THAT
LD WILL NOT LINK! :shock:
very truly yours
THE NET CENTINELL
juggernot:
I'm having the same problem, code blocks can't seem to find crt2.o . I've tried linking to it. I can find crt2.o, crtbegin.o and crtend.o, but I don't know what I'm supposed to do exactly. What do you mean by the base project folder? The folder where all the projects are stored (that seems a little odd), or the base directory for code blocks?
MortenMacFly:
--- Quote from: juggernot on December 26, 2007, 08:09:02 pm ---I'm having the same problem, code blocks can't seem to find crt2.o . I've tried linking to it. I can find crt2.o, crtbegin.o and crtend.o, but I don't know what I'm supposed to do exactly.
--- End quote ---
--- Quote from: net on August 15, 2007, 08:16:32 pm ---UNDER WINDOWS VISTA YOU MUST HAVE CRT2.O, CRTBEGIN.O AND CRTEND.O
LOCATED ON THE BASE PROJECT FOLDER
--- End quote ---
I am using Vista myself - trust me this a *very* bad solution. The best you can do is either using a patched MinGW 3.4.5 binary (but that is C / C++ only) or use a pre-liminary version of the GCC4 branch. The latter is surely not yet ready for release but might work already. In terms of the 3.4.5'er one -> search the forums... there are plenty of links... one of it in one of my recent posts (forgot which one though... )
With regards, Morten.
killerbot:
to be honest the mingw GCC 4.2.1 technology preview works rather well. Or maybe I don't do enough advanced things with it (I think debugging a CB [plug-in]/dll is still an issue, but maybe the newer gdb's solve this, I still need to investigate ..)
MortenMacFly:
--- Quote from: killerbot on December 27, 2007, 11:08:17 pm ---to be honest the mingw GCC 4.2.1 technology preview works rather well.
--- End quote ---
Let me put it this way:
You wouldn't want to try to convince your boss using this GCC pre-release version in a production code given to your customers (at least with MinGW) ;-).
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version