This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Help with newlib on cygwin


Hello everybody,

I am having problems building gcc-3.3.1 on cygwin for Hitachi CPU

sh series.

binutils-2.13.1
gcc-3.2.1
newlib-1.10.0

they are extracted into
/usr/local/src/binutils-2.13.1
/usr/local/src/gcc-3.2.1
/usr/local/src/newlib-1.10.0

and the build directories are
/usr/local/build/binutils/
/usr/local/build/gcc/
/usr/local/build/newlib/

$cd /usr/local/build/binutils/

$/usr/local/src/binutils-2.13.1/configure --target=sh-elf
--prefix=/usr/local/sh2

$make

$make install

$export PATH=$PATH:/usr/local/sh2/bin

$cd /usr/local/build/gcc/

$/usr/local/src/gcc-3.2.1/configure --target=sh-elf
--prefix=/usr/local/sh2
--with-newlib  --with-gnu-as --with-gnu-ld
--without-headers --enable-languages=c

$make
$make install

Now above are all right.

I went on building newlib as following:

$cd /usr/local/build/newlib/
$/usr/local/src/newlib-1.10.0/configure --target=sh-elf

--prefix=/usr/local/sh2

The bash showes such message:
*** This configuration is not supported in the following

subdirectories:
     target-libgloss
    (Any other directories should still work fine.)
Created "Makefile" in /usr/local/build/newlib using "mh-frag"
Configuring texinfo...
No configuration information in texinfo
Configuring etc...
creating cache ../config.cache
checking for a BSD compatible install... /usr/bin/install -c
updating cache ../config.cache
creating ./config.status
creating Makefile


$make

the errors as following:

/usr/local/src/newlib-1.10.0/newlib/libm/math/er_lgamma.c: In

function `__ieee75
4_lgamma_r':
/usr/local/src/newlib-1.10.0/newlib/libm/math/er_lgamma.c:309:

internal error: S
egmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for

instructions.
make[5]: *** [er_lgamma.o] Error 1
make[5]: Leaving directory

`/usr/local/build/newlib/sh-elf/ml/newlib/libm/math'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory

`/usr/local/build/newlib/sh-elf/ml/newlib/libm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory

`/usr/local/build/newlib/sh-elf/ml/newlib'
make[2]: *** [multi-do] Error 1
make[2]: Leaving directory `/usr/local/build/newlib/sh-elf/newlib'
make[1]: *** [all-multi] Error 2
make[1]: Leaving directory `/usr/local/build/newlib/sh-elf/newlib'
make: *** [all-target-newlib] Error 2

Can somebody help me? Thanks a lot!

Best wishes,

        Liuzhao
        liuzhao99@mails.tsinghua.edu.cn
          2003-12-02




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]