FreeBSD Compilation problem
James Housley
jim at thehousleys.net
Thu Dec 27 14:16:44 UTC 2001
Kapil Arora wrote:
>
> Hi,
>
> We have donloaded the binutils, gcc and gdb tgz files to run
> Rtems cross
> compiler on freeBSD host. The rtems 'gcc', 'ld', 'ar' etc.
> are enabled and
> that of freeBSD is disabled. 'make' is from the freeBSD.
> Now we have used the following command to configure in
> build-rtems:
You need to use gmake from the ports system. By the way all of these
tools are available under /usr/ports/devel/, you probably want
/usr/ports/devel/i386-rtems-binutils.
>
> ../rtems-4.5.0/configure --target=i386-rtems
> --prefix=/usr/local
> --disable-hwapi --disable-multiprocessing --enable-cxx
> --enable-networking --enable-posix
> --includedir=/usr/local/include
> --enable-rtemsbsp=i386ex
>
> The configuration command goes fine and if we start make all
> . The
> error comes in follwing line of file tools/build/Makefile:
>
> DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
>
> -include $(DEP_FILES) [ ---------------line 370 ]
>
> The error looks as
> "Makefile", line 370: Need an operator
> make: fatal errors encountered -- cannot continue
> *** Error code 1
>
> Same Makefile runs fine for Linux environment.
That is becuase Linux uses gmake, named as make, and not the BSD make.
>
> Can any point out the problem with this..
>
If you have any problems or questions with the FreeBSD ports of these
tool, I will be glad to help.
Jim
--
/"\ ASCII Ribbon Campaign .
\ / - NO HTML/RTF in e-mail .
X - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
jeh at FreeBSD.org http://www.FreeBSD.org The Power to Serve
jim at TheHousleys.Net http://www.TheHousleys.net
jhousley at SimTel.Net http://www.SimTel.Net
---------------------------------------------------------------------
Life begins at 4.0
More information about the users
mailing list