Setting up or verifying the compiler version

The supported compiler version is gcc32. You can test it using the gcc -v command

> gcc -v
Reading specs from /usr/local/gcc-alt-3.2/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: ./configure --prefix=/usr/local/gcc-alt-3.2 --enable-shared
Thread model: posix
gcc version 3.2

If this is not the case, you can get a pacman kit containing a packed version of the gcc32 compiler as follows:

> mkdir -p /somewhere/gcc
> pushd /somewhere/gcc
> pacman -get UCHEP:gcc32
> source setup.[c]sh
> popd

More generally, if gcc32 is available on your machine but is not the default compiler you should provide some shell script to set it up on demand (note that the previous pacman-based installation automatically constructs such a setup script).

Such a setup script should contain the following statements


# Change this definition according to your local settings:
gcc_location=/usr/local/gcc-alt-3.2

PATH="${gcc_location}/bin:$PATH"
export PATH
LD_LIBRARY_PATH="${gcc_location}/lib:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH

or the equivalent for csh shell.


# Change this definition according to your local settings:
set gcc_location=/usr/local/gcc-alt-3.2

set path=(${gcc_location}/bin $path)
if ($?LD_LIBRARY_PATH) then 
        setenv LD_LIBRARY_PATH ${gcc_location}/lib:${LD_LIBRARY_PATH}
else
        setenv LD_LIBRARY_PATH ${gcc_location}/lib
endif

-- ChristianArnault - 01 Sep 2004

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2004-09-01 - ChristianArnault
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback