Code::Blocks Forums

User forums => Help => Topic started by: hckr83 on November 18, 2007, 06:52:50 am

Title: missing crtbegin.o only in codeblocks with LD
Post by: hckr83 on November 18, 2007, 06:52:50 am
Ok, so I upgraded to the latest nightly(nov 15) and now I have this problem, but I don't think it is soemthing with the nightly...

I use a makefile to build my project, when I press compile, everything works until it gets to linking, and then it says "crtbegin.o not found" but the strange part is that it will make fine if I run it from the command prompt...

I really do not see how codeblocks is interferring with this because the path var seems to not be affected..

what could the problem be?
Title: Re: missing crtbegin.o only in codeblocks with LD
Post by: stahta01 on November 18, 2007, 07:41:14 pm
Compiler miss-installed, but since you say it works from the command line this is not likely.

Code::Blocks miss-configured is the next possibility.

Note, if running windows Vista, then that could be the cause.
( http://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista )

What compiler and compiler version? MinGW GCC 3.4.5 MinGW GCC 4.2.1 etc.

What is your compiler installation folder? C:\MinGW

Tim S

 
Title: Re: missing crtbegin.o only in codeblocks with LD
Post by: hckr83 on November 18, 2007, 08:02:51 pm
3.4.5 and C:\MinGW

I am running Vista, but got it all working...

I was using a nightly from September sometime and it worked, but this new one doesn't...possibly a bug in the nightly?

edit:
I was using revision 4241
Title: Re: missing crtbegin.o only in codeblocks with LD
Post by: stahta01 on November 18, 2007, 09:09:07 pm
Did you verify that the additional paths are still correct?

And, in your case the Linker Search Directory must be checked and the proper value put in.

Code
C:\MinGW\lib\gcc\mingw32\3.4.5


Note, makefile builds are not used by the devs much, so they might be broken.

Tim S
Title: Re: missing crtbegin.o only in codeblocks with LD
Post by: hckr83 on November 19, 2007, 12:43:55 am
Did you verify that the additional paths are still correct?

And, in your case the Linker Search Directory must be checked and the proper value put in.

Code
C:\MinGW\lib\gcc\mingw32\3.4.5


Note, makefile builds are not used by the devs much, so they might be broken.

Tim S

I just don't quite understand how it can break makefile builds, as they are independent of everything but the binary search directory...(and it may even be independent of it) for now, I'm keeping to the old version I was using until this gets fixed...