Hello,
Thank you for this advice.

fab@debian:~/Software$ cd sage-5.0.1/
fab@debian:~/Software/sage-5.0.1$ ./sage --sh

Starting subshell with Sage environment variables set.  Don't forget
to exit when you are done.  Beware:
 * Do not do anything with other copies of Sage on your system.
 * Do not use this for installing Sage packages using "sage -i" or for
   running "make" at Sage's root directory.  These should be done
   outside the Sage shell.

Bypassing shell configuration files...

Note: SAGE_ROOT=/home/fab/Software/sage-5.0.1
(sage-sh) fab@debian:sage-5.0.1$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.0-13' 
--with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs 
--enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.7 --enable-shared --enable-linker-build-id 
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-libstdcxx-time=yes 
--enable-gnu-unique-object --enable-plugin --enable-objc-gc 
--with-arch-32=i586 --with-tune=generic --enable-checking=release 
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.0 (Debian 4.7.0-13) 
(sage-sh) fab@debian:sage-5.0.1$ g++ -dumpversion
4.7
(sage-sh) fab@debian:sage-5.0.1$

Le jeudi 14 juin 2012 17:19:57 UTC+2, P Purkayastha a écrit :
>
>
>
> On Thursday, June 14, 2012 4:23:42 PM UTC+8, Fab wrote:
>>
>> Hello,
>> Sorry if my English is pretty poor because I am French. Thank you for 
>> your help.
>>
>> fab@debian:~$ cd /home/fab/Software/sage-5.0.1/
>> fab@debian:~/Software/sage-5.0.1$ ./sage --sh
>>
>> Starting subshell with Sage environment variables set.  Don't forget
>> to exit when you are done.  Beware:
>>  * Do not do anything with other copies of Sage on your system.
>>  * Do not use this for installing Sage packages using "sage -i" or for
>>    running "make" at Sage's root directory.  These should be done
>>    outside the Sage shell.
>>
>> Bypassing shell configuration files...
>>
>> Note: SAGE_ROOT=/home/fab/Software/sage-5.0.1
>> (sage-sh) fab@debian:sage-5.0.1$ g++-v
>> bash: g++-v : commande introuvable
>> (sage-sh) fab@debian:sage-5.0.1$ g++-dumpversion
>> bash: g++-dumpversion : commande introuvable
>>
>
> You need to give a space between the command and its argument:
>
> g++ -v  # like this
> g++-v   # not like this
>  
>
> (sage-sh) fab@debian:sage-5.0.1$ testcxx.sh g++
>> GCC
>> (sage-sh) fab@debian:sage-5.0.1$ 
>>
>>

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to