|
In lugnet.robotics.rcx.legos, John Hansen writes:
> In lugnet.robotics.rcx.legos, Stephen M. Moraco writes:
> > As this is a new mechanism, we are looking for feedback regarding your
> > successes and your failures in using this new configure tool. You can
> > post this feedback as a reply to this message. We will respond to
> > any difficulties you may have as quickly as we can.
>
> I had essentially no problems with brickos-2.6.08 - aside from noticing at
> least a couple new headers I have to port to Pascal. configure worked like
> a charm.
I spoke too soon. There is a problem with cygwin and Makefile.Common in the
new release. The host utilities are not built with -D_WIN32 which (of
course) causes them to not work at all. In Makefile.Common there is a place
where CFLAGS is set to a value regardless of its previous value. This
should probably be changed so it works with both Linux & Cygwin.
ifdef BUILDING_HOST_UTILS
# ----------------------------------------------------------------------------
# defines for build of native compiled utilities
# ----------------------------------------------------------------------------
CFLAGS=-O2 -Wall
else # ifndef BUILDING_HOST_UTILS
For Cygwin I can simply change that line to
CFLAGS+=-O2 -Wall
But for Linux that will duplicate the already existing value of CFLAGS.
John Hansen
|
|
|
After making this change everything worked perfectly, as far as I can tell.
I had a lot of trouble trying to build the gcc cross compiler. With this build
and the pre-build cross compiler from hitachi's website everything was very
easy.
Thanks!
Gary
In lugnet.robotics.rcx.legos, John Hansen writes:
> I spoke too soon. There is a problem with cygwin and Makefile.Common in the
> new release. The host utilities are not built with -D_WIN32 which (of
> course) causes them to not work at all. In Makefile.Common there is a place
> where CFLAGS is set to a value regardless of its previous value. This
> should probably be changed so it works with both Linux & Cygwin.
>
> ifdef BUILDING_HOST_UTILS
> # ----------------------------------------------------------------------------
> # defines for build of native compiled utilities
> # ----------------------------------------------------------------------------
>
> CFLAGS=-O2 -Wall
>
> else # ifndef BUILDING_HOST_UTILS
>
>
> For Cygwin I can simply change that line to
>
> CFLAGS+=-O2 -Wall
>
> But for Linux that will duplicate the already existing value of CFLAGS.
>
> John Hansen
|
|
|