+2009-09-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Initial support for the Cuda Compiler Driver on Linux.
+ * libltdl/config/ltmain.m4sh (func_mode_compile): Accept source
+ file extensions `.cu' and `.cup'.
+ * libltdl/m4/libtool.m4 (_LT_COMPILER_NO_RTTI, _LT_COMPILER_PIC)
+ (_LT_LINKER_SHLIBS): Support for `nvcc' compiler driver.
+ * NEWS, THANKS: Update.
+ Report by Mahesh Narayanamurthi.
+
2009-09-12 Dave Korn <dave.korn.cygwin@googlemail.com>
Control where win32 DLLs get installed.
- Initial support for compilers on BlueGene BG/L.
- Improved support for Atari FreeMiNT.
- With binutils 2.19.50+, shared libraries can be built on AIX.
+ - Initial support for the Cuda Compiler Driver on GNU/Linux.
* Bug fixes:
Kurt D. Zeilenga Kurt@OpenLDAP.Org
Maciej Helminiak dion2@wp.pl
Maciej W. Rozycki macro@linux-mips.org
+ Mahesh Narayanamurthi mahesh.mach@gmail.com
Manfred Weichel Manfred.Weichel@pdb.siemens.de
Marc Espie espie@nerim.net
Marc J. Fraioli fraioli@dg-rtp.dg.com
*.[cCFSifmso] | \
*.ada | *.adb | *.ads | *.asm | \
*.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
- *.[fF][09]? | *.for | *.java | *.obj | *.sx)
+ *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup)
func_xform "$libobj"
libobj=$func_xform_result
;;
_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
if test "$GCC" = yes; then
- _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
+ case $cc_basename in
+ nvcc*)
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
+ esac
_LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
lt_cv_prog_compiler_rtti_exceptions,
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
;;
esac
+
+ case $cc_basename in
+ nvcc*) # Cuda Compiler Driver 2.2
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
+ ;;
+ esac
else
# PORTME Check for flag to pass linker flags through the system compiler.
case $host_os in
xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
tmp_sharedflag='-qmkshrobj'
tmp_addflag= ;;
+ nvcc*) # Cuda Compiler Driver 2.2
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+ _LT_TAGVAR(compiler_needs_object, $1)=yes
+ ;;
esac
case `$CC -V 2>&1 | sed 5q` in
*Sun\ C*) # Sun C 5.9