gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Portability Considerations


From: Alice Osako
Subject: Re: Portability Considerations
Date: Wed, 20 Mar 2024 18:45:41 -0400
User-agent: Mozilla Thunderbird

Gaius Mulley:
Greetings, Alice.

On 2024-03-20 18:17, Alice Osako wrote (in part):
[...]

Worse, when I try to build GM2 for 14.x rather than 13.x, it also gets an ICE when building the ISO libraries.

What is your configuration script for 14.2?  (I have compiled GM2-14.2 on Solaris 11.3/sparc without problems.)

Sincerely,
john

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#!/bin/bash -e

GM2_DIR="$HOME/Deployments/gm2"
GCC_SRC="$GM2_DIR/gcc"
GCC_BUILD="$GCC_SRC/build"
DEST="$HOME/opt"
LIBDIR="$DEST/lib"

TARGET="x86_64-pc-linux-gnu"

cd $GCC_SRC

git pull origin

cd $GCC_BUILD

TARGET_DIR="$GCC_BUILD/$TARGET"
if [ ! -d $TARGET_DIR ]; then
   mkdir -p $TARGET_DIR
fi

cd $TARGET_DIR

$GCC_SRC/configure --host=$TARGET \
                   --target=$TARGET \
                   --prefix=$DEST     \
                   --bindir=$DEST/bin \
                   --libdir=$LIBDIR \
                   --libexecdir=$LIBDIR \
                   --enable-threads=posix \
                   --enable-clocale=gnu \
                   --disable-multilib \
                   --disable-bootstrap \
                   --enable-checking \
                   --enable-languages="m2"

make all-gcc
make all-target-libgcc
make all-target-libgm2
make install-strip-gcc install-target-libgcc install-target-libgm2
make check-m2 -j 4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]