Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-user] PTP wizard entanglement

Hi,

 

I got a single source file t.c and decided to use the following wizards in this order.

 

Import -> Projects from GIT -> Import as general Project

New -> Convert to a C/C++ Project -> C Project -> Executable

New -> Other -> Remote -> Convert C/C++ Project into a synchronized project

 

I can nicely compile the "Debug" build configuration (which is a local project). But trying to compile remotely fails.

* Properties -> C/C++ Build -> Synchronize shows the correct remote directory.

* Properties -> C/C++ Build show the wrong build directory

and it is grayed out - so I can't change it.

* Properties -> C/C++ Build -> Environment -> PWD shows a local directory

for the remote project - which is wrong.

* Synchronization appears to work correctly

* I can change the remote toolchain to xlc

* Environment management also works correctly (except for those issues

recently discussed here).

* Compilation produces the following strange error message.

 

16:29:17 **** Incremental Build of configuration Debug_remote for project printfBug ****

make all

Building file: ../t.c

/bin/sh: 1: /xlc: not found

Invoking: Local XL C Compiler

/xlc -c -O0 -g -o "t.o" "../t.c"

make: *** [t.o] Error 127

 

16:29:17 Build Finished (took 61ms)

 

The leading slash before xlc causes the problem. This slash is taken from the compile stanza in the automatically generated makefile. There seems to be an error with the automatic makefile generation.

 

I am confused about the message "Invoking: Local XL C Compiler". I would have expected to call the remote xlc compiler. Or do I actually call the xlc compiler on the remote host and only the message is utterly misleading ?

 

Anyone any comments ? Is this a known effect ? I saw it with PTP 6.0.3 that was released quite recently.

--

 

Mit freundlichen Grüßen / Kind regards

 

Dr. Christoph Pospiech

High Performance & Parallel Computing

Phone: +49-351 86269826

Mobile: +49-171-765 5871

E-Mail: christoph.pospiech@xxxxxxxxxx

-------------------------------------------------------------------------------------------------------------------------------------------

IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter

Geschäftsführung: Martina Koederitz (Vorsitzende), Reinhard Reschke, Dieter Scholz, Gregor Pillen, Joachim Heel, Christian Noll

Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 14562 / WEEE-Reg.-Nr. DE 99369940

 


Back to the top