Hi Mike, On Sat, Apr 4, 2020 at 10:08 AM Michael Westfall <mwest...@gemini.edu> 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 > users@rtems.org > http://lists.rtems.org/mailman/listinfo/users _______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users