No rule to make target crt0

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

idcavili
Posts: 6
Joined: Fri May 24, 2013 6:33 pm

No rule to make target crt0

Post by idcavili »

When I try to compile in Eclipse, I get "no rule to make target crt0.c." I have placed linked folders to the os and board folders but it apparently doesn't find them. Are there some more environment variables to set?
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: No rule to make target crt0

Post by Giovanni »

Hi,

There are no particular env vars to set except PATH.

It is most likely a problem with the toolchain, could you try ChibiStudio? it is a preconfigured Eclipse environment with all the latest components.

Giovanni
idcavili
Posts: 6
Joined: Fri May 24, 2013 6:33 pm

Re: No rule to make target crt0

Post by idcavili »

Chibistudio doesn't seem to download. Did it take forever for you as well?
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: No rule to make target crt0

Post by Giovanni »

It is on the sourceforge page, you can also select another mirror if I remember well. Choose one closer to you.

Giovanni
idcavili
Posts: 6
Joined: Fri May 24, 2013 6:33 pm

Re: No rule to make target crt0

Post by idcavili »

I got chibistudio and it still has this message. Perhaps I should start a new project.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: No rule to make target crt0

Post by Giovanni »

Hi,

Does this happen using one of the existing projects or a new project you created?

Giovanni
idcavili
Posts: 6
Joined: Fri May 24, 2013 6:33 pm

Re: No rule to make target crt0

Post by idcavili »

Existing.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: No rule to make target crt0

Post by Giovanni »

Are you launching ChibiStudio using the provided link/batch or by launching directly Eclipse.exe? you should use the link, it sets required env variables.

Giovanni
idcavili
Posts: 6
Joined: Fri May 24, 2013 6:33 pm

Re: No rule to make target crt0

Post by idcavili »

Which project type should I select when starting a new one? I tried chibios and makefile project and neither of them come with the files pre loaded.
User avatar
RoccoMarco
Posts: 655
Joined: Wed Apr 24, 2013 4:11 pm
Has thanked: 83 times
Been thanked: 67 times

Re: No rule to make target crt0

Post by RoccoMarco »

Can I ask what platform are you using?
Post Reply