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

4.5.0-beta3a build problems



Ralf Corsepius wrote:
> 
> Martti Kuparinen wrote:
> >
> > Hi!
> >
> > I'm running FreeBSD 4.1-STABLE with the following packages installed:
> >
> >     i386-rtems-binutils-2.9.5.0.24
> >     i386-rtems-gcc-2.95.2
> >     i386-rtems-gdb-4.18
> >
> > The cross-compilation tools are located in /usr/local/bin/ and they are:
> >
> >     i386-rtems-addr2line  i386-rtems-gasp       i386-rtems-objdump
> >     i386-rtems-ar         i386-rtems-gcc        i386-rtems-ranlib
> >     i386-rtems-as         i386-rtems-gdb        i386-rtems-readelf
> >     i386-rtems-c++        i386-rtems-ld         i386-rtems-size
> >     i386-rtems-c++filt    i386-rtems-nm         i386-rtems-strings
> >     i386-rtems-g++        i386-rtems-objcopy    i386-rtems-strip
> 
> Fine.
> >
> > I'm trying to compile RTEMS with the following commands but no matter
> > what I do, the compilation fails. This seems to be a search path problem
> 
> Yep, cf. below.
> 
> > as things get better by adding manually "-Ifoo" statements into Makefiles.
> > As this is an ugly hack so I'm not too happy with it :-) I get the same
> > result even if I use the bit_rtems script.
> >
> > Any ideas what's wrong with my setup and how to make things work properly?
> > Maybe I'm doing something very stupid here.
> >
> :)
> 
> > Martti
> >
> > ---
> > Martti Kuparinen <martti.kuparinen at nomadiclab.com>
> > http://www.iki.fi/~kuparine/
> >
> > ===============================================================================
> >
> > # export CC=i386-rtems-gcc
> 
> Do *not* set CC when building RTEMS.
> 
> Adding /usr/local/bin to $PATH should be sufficient. Also make sure
> that cc rsp. gcc is a native c-compiler (/usr/local/i386-rtems/bin
> must *not* be in $PATH).
> 
> > # export MAKE=gmake
> This should not be required. Invoking gmake as "gmake" should be
> sufficient in case "make" isn't "gnu-make" on your host.
> 
This is required, or was, for FreeBSD.  I believe it was fixed at a
later date.

Jim
-- 
Hi! I'm a .signature virus! Copy me in your ~/.signature
to help me spread!             <- Save this lifeform ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2034 bytes
Desc: S/MIME Cryptographic Signature
Url : http://rtems.rtems.org/pipermail/rtems-users/attachments/20000918/d1c98ca3/attachment.bin