News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

missing crtbegin.o only in codeblocks with LD

Started by hckr83, November 18, 2007, 06:52:50 AM

Previous topic - Next topic

hckr83

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?

stahta01

#1
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

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

hckr83

#2
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

stahta01

#3
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.


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
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

hckr83

Quote from: 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.


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...