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

Problem with making RTEMS



Stephan,

You have a LIB environment variable set (probably got some MS compiler
installed). In you cygwin.bat, put a line "set LIB=" in it and all should be
fine.

Regards

Peter Shoebridge

----- Original Message -----
From: Stephan Wilms <Stephan.Wilms at CWA.de>
To: <rtems-list at oarcorp.com>
Sent: Monday, October 04, 1999 8:35 AM
Subject: Problem with making RTEMS


> Hi,
>
> After finally managing to build EGCS 1.1b with CygWin 20.1 on Win-NT 4, I
> set about building RTEMS itself. Without success. So here we go again :-)
>
> Chapter 7 about using Windows in the "Getting Started" guide ends with
> the point where you (hopefully) have a working cross compiler. Therefore
> I choose to continue with chapter 4 and executed the steps:
>    - 4.1 unpacking
>    - 4.2 setting the path
>    - 4.3 veryfying the cross toolset
> successfully. After that was done I decided to try using the configure
> script directly (chapter 4.4.2), simply because all the other tools were
> build that way with CygWin. After some reading (and thinking) I decided
> to use the following command:
>
>    /source/rtems-4.0.0/configure --verbose \
>                                  --target=i386-rtems \
>                                  --prefix=/gcc-i386-rtems \
>                                  --enable-gcc28
>
> That result apeared to be successsful. There were no error messages and
> the script finally displayed:
>
>    target architecture: i386.
>    available BSPs: force386 i386ex pc386.
>    'make all' will build the following BSPs: force386 i386ex pc386.
>    other BSPs can be built with 'make RTEMS_BSP="bsp1 bsp2 ..."'
>
> So I entered "make all" ... and ended up with an error message. After
> lots of output the following was displayed:
>
>    ***  /build/rtems/c/src/exec/score/inline (all)
>    cd inline; make all
>    /source/rtems-4.0.0/make/lib.cfg:20: *** target pattern contains no
> `%'.  Stop.
>    make[4]: *** [all] Error 1
>    make[3]: *** [all] Error 1
>    make[2]: *** [all] Error 1
>    make[1]: *** [all] Error 1
>    make[1]: Leaving directory `/build/rtems/c'
>    make: *** [all] Error 1
>
> What's happening ? Did I use the wrong "configure" options ? What is the
> recommended way for building RTEMS with CygWin ?
>
> Stephan
>
>
>
>
> --
> Stephan Wilms (stephan.wilms at cwa.de)
> CWA-GmbH, Aachen, Germany