Community
Participate
Working Groups
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.4) Gecko/20091006 Firefox/3.5.4 Build Identifier: 20090920-1017 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) with XL UPC executable project type: # 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 ' ' I don't know how xlupc behaves, but our gcc based compiler complains with multiple source files specified with "-c" switch. I this an error or I am doing something wrong. I only created a project as executable XL UPC, created two source files, and created a build configuration with Make Targets->Build. Reproducible: Always Steps to Reproduce: 1.create new C project with Exec XL UPC type 2.create a upc source file 3.try to build