Howto port autoconf based application to RTEMS.
Karel Gardas
kgardas at objectsecurity.com
Thu Jan 13 20:36:45 UTC 2005
On Thu, 13 Jan 2005, Joel Sherrill <joel at OARcorp.com> wrote:
>
> >>>Please file a PR on "rtems_bsdnet" to RTEMS GNATS.
> >>
> >>filed as: `networking/741' -- I have not been able to find rtems_bsdnet in
> >>GNATS web form...
> >
> > Sorry, a confusing typo. I meant you to file a PR on
> > "rtems_bsdnet_config".
>
> When you configure an autoconf package and it probes the installed
> RTEMS, there are two files used which should never be used in a
> "real application" -- the default crt0.o and the dummy configuration.
>
> The file cpukit/libmisc/dummy.c is where this should go. I think
> cutting and pasting the network configuration from samples/loopback
> should be WAY more than it takes.
>
> I think adding something like this will work if
> RTEMS_HAS_NETWORKING is the right constant:
Thanks for the idea, but unfortunatelly RTEMS_HAS_NETWORKING seems to not
be defined while building libdummy.a even if networking is enabled. In
addition libdummy.a is considered as a "not-install" library so it is not
installed by default.
I'm talking here about latest CVS trunk +
gcc3.4.3/binutils2.15/newlib1.13_Ralf_patch combination.
Thanks,
Karel
--
Karel Gardas kgardas at objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com
More information about the users
mailing list