| Re: [cdt-dev] subdir.mk rule for XL UPC wrong? |
|
Something is definitely going wrong in the makefile generation... it should not be doing that. It might be a bug in the generator or a bug in the toolchain. I'm guessing the latter because no one has been complaining about this for GCC projects. Can you please file a bug? Thanks.
I am new to eclipse and it might be that I am doing something wrong. I installed the latest eclipse and CDT 6.0.1 and tried to create a toolchain for GCCUPC (gccupc.org) compiler. I was able to model it based on XL UPC, however, I am not able to compile any code because of the wrong subdir.mk file. I was able to duplicate the problem with XL UPC compiler too. This is a rule I get for UPC files (my example has two upc files): # Each subdirectory must supply rules for building sources it contributes %.o: ../%.upc @echo 'Building file: $<' @echo 'Invoking: XL UPC Compiler' /opt/ibmcmp/xlupc -c -O0 -g -o"$@" "$<" "../test.upc" "../test1.upc" @echo 'Finished building: $<' @echo ' '
|