Sorry, I meant for thai to go to the list

---------- Forwarded message ---------
From: Michael Westfall <[email protected]>
Date: Sat, Apr 4, 2020 at 3:39 PM
Subject: Re: libreadline-6.2 from rtems-addon-packages problem
To: Gedare Bloom <[email protected]>


Ah yes, I should have thought to look at the config.log

Here's something interesting from the
log:

gcc version 7.5.0 20191114 (RTEMS 5, RSB 5.0.0-m2004, Newlib 7947581) (GCC)
configure:2420: $? = 0
configure:2427: powerpc-rtems5-gcc --pipe
-B/gem_sw/targetOS/RTEMS/rtems-5.0.0/powerpc-rtems5/beatnik/lib/ -specs
bsp_specs -qrtems   -mcpu=7400 -V >&5
powerpc-rtems5-gcc: error: unrecognized command line option '-V'
powerpc-rtems5-gcc: fatal error: no input files
compilation terminated.

So, the compiler doesn't take the -V flag. This is what needs to be fixed I
guess.

On Sat, Apr 4, 2020 at 2:18 PM Gedare Bloom <[email protected]> wrote:

> Hi Mike,
>
> On Sat, Apr 4, 2020 at 10:08 AM Michael Westfall <[email protected]>
> wrote:
> >
> > Hi, this is maybe not an RTEMS problem specifically, but I wonder if
> someone can give me a pointer as to what's going on.
> >
> > I want to build libreadline-6.2 from rtems-addon-packages under RTEMS
> 5.0.0, but it fails during the ./configure stage with a message that the C
> compiler can't create executables.
> >
> > mikew@pollux:/gem_sw/targetOS/RTEMS/source/rtems-addon-packages/readline-6.2$
> make -f ../RTEMS_Makefiles/Makefile.readline-6.2
> > bash_cv_have_mbstate_t=yes ./configure \
> > --host=powerpc-rtems \
> > --prefix=/gem_sw/targetOS/RTEMS/rtems-5.0.0/powerpc-rtems5 \
> > --libdir=/gem_sw/targetOS/RTEMS/rtems-5.0.0/powerpc-rtems5/beatnik/lib \
> >
> --includedir=/gem_sw/targetOS/RTEMS/rtems-5.0.0/powerpc-rtems5/beatnik/lib/include
> \
> > --disable-shared --enable-static
> > configure: WARNING: If you wanted to set the --build type, don't use
> --host.
> >     If a cross compiler is detected then cross compile mode will be used.
> > checking build system type... x86_64-unknown-linux-gnu
> > checking host system type... powerpc-unknown-rtems
> >
> > Beginning configuration for readline-6.2 for powerpc-unknown-rtems
> >
> > checking whether make sets $(MAKE)... yes
> > checking for powerpc-rtems-gcc... powerpc-rtems5-gcc --pipe
> -B/gem_sw/targetOS/RTEMS/rtems-5.0.0/powerpc-rtems5/beatnik/lib/ -specs
> bsp_specs -qrtems   -mcpu=7400
> > checking for C compiler default output file name...
> > configure: error: in
> `/gem_sw/targetOS/RTEMS/source/rtems-addon-packages/readline-6.2':
> > configure: error: C compiler cannot create executables
> > See `config.log' for more details.
>
> Can you find the line in config.log that shows which compilation
> failed and what was the output of the compiler?
>
> > ../RTEMS_Makefiles/Makefile.readline-6.2:9: recipe for target 'all'
> failed
> > make: *** [all] Error 77
> > mikew@pollux
> :/gem_sw/targetOS/RTEMS/source/rtems-addon-packages/readline-6.2$
> >
> > Thanks for any help,
> > --
> > Mike Westfall
> > Control Systems Software Engineer
> > _______________________________________________
> > users mailing list
> > [email protected]
> > http://lists.rtems.org/mailman/listinfo/users
>


-- 
Mike Westfall
Control Systems Software Engineer
_______________________________________________
users mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/users

Reply via email to