I seem unable to get this to work: I managed to build and install trunk using the trunk-offload-big scripts by Thomas Schwinge, and have been trying the test program at http://scelementary.com/2015/04/25/openacc-in-gcc.html, with the following result: e802756@sow768056c-li [128] 09:21 AM [OPENACC] gcc pi.c -fopenacc -foffload=nvptx-none -foffload="-O3" -O3 -o gpu.x gcc: warning: '-x lto' after last input file has no effect gcc: fatal error: no input files compilation terminated. lto-wrapper: fatal error: gcc returned 1 exit status compilation terminated. collect2: fatal error: lto-wrapper returned 1 exit status compilation terminated. e802756@sow768056c-li [129] 09:21 AM [OPENACC] module li Currently Loaded Modulefiles: 1) gnu/7.0.0-acc e802756@sow768056c-li [130] 09:21 AM [OPENACC] gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/opt/gnu/7.0.0-acc/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.0.0/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none Target: x86_64-pc-linux-gnu Configured with: /home/travel/GCC/BUILDS/TRY-offload/source/gcc/configure --prefix= --disable-bootstrap --enable-languages=c,c++,fortran,lto --disable-multilib --enable-offload-targets=nvptx-none=/opt/gnu/7.0.0-acc --with-cuda-driver-include=/opt/cuda/7.5/include --with-cuda-driver-lib=/usr/lib64/nvidia CC='gcc -m64' CXX='g++ -m64' --with-sysroot= Thread model: posix gcc version 7.0.0 20160425 (experimental) (GCC) Any ideas what am I doing wrong? Thanks Salvatore