Ok, nice mod, it works fine!

I think I've come to the problem with piklab:
the gcc compiler takes in input the files in various directories  
(let's say /library/a_d/advance_ad_scan/)but outputs the assembler  
files in the project directory, so when the assembler looks for them  
they're not in the right place

these are the standard command lines for compiler:
-S $NO_AUTO_DEVICE(-mcpu=%DEVICE) -I$(SRCPATH) -I$(SRCPATH)/library/  
-I$(SRCPATH)/std_microchip/include/  
-I$(SRCPATH)/std_microchip/support/h/ -g %I

assembler:
-g -a=%LIST -o%O -I$(SRCPATH) -I$(SRCPATH)/library/codec/  
-I$(SRCPATH)/std_microchip/support/inc/ -I$(SRCPATH)/library/uart/  
-p%DEVICE %I

linker:
-L$(SRCPATH)/std_microchip/lib/ $LKR(-T%LKR) %OBJS %LIBS

I've tried to edit them to make them look like the lines in the  
makefile but without success, still the problem is I don't know how to  
make the compiler output the files in their dirs or the assembler read  
the files from project dir.

Any clue?

thanks
davide




Quoting Olivier Michel <[EMAIL PROTECTED]>:

> Hi Davide,
>
> You are right, WEBOTS_HOME needed to be defined...
> If you replace the first line of the Makefile by these (see below), it
> should work without WEBOTS_HOME pre-defined:
>
> WEBOTS_HOME:=$(WEBOTS_HOME)
> ifeq ($(WEBOTS_HOME),)
> WEBOTS_HOME=../../..
> endif
>
> I will add this modification to the next version of Webots.
>
> Cheers,
>
> -Olivier
>




_______________________________________________
E-puck-user mailing list
[email protected]
https://mail.gna.org/listinfo/e-puck-user

Reply via email to