All of lore.kernel.org
 help / color / mirror / Atom feed
* Cross-compilation of bsdapp on Ubuntu
@ 2015-01-09 17:14 Ravi Kerur
       [not found] ` <CAFb4SLAYWZU4e4ZLdqVFcTSOPozLy-DtoN-AMvbTNq__vLfNZw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Ravi Kerur @ 2015-01-09 17:14 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

Hi,

Has anyone successfully cross compiled bsdapp on Ubuntu or other linux
flavor? From the Linux documentation I see

"To compile all 64-bit targets using gcc, use:

make install T=x86_64*gcc"

which makes me believe that bsdapp can be cross-compiled.

I am trying to understand what GNU libraries and other toolchain
related installation has to be done on Linux in order to get bsd
successfully compiled.  Inputs appreciated.

Thanks,

Ravi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cross-compilation of bsdapp on Ubuntu
       [not found] ` <CAFb4SLAYWZU4e4ZLdqVFcTSOPozLy-DtoN-AMvbTNq__vLfNZw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-01-12 11:21   ` Bruce Richardson
  2015-01-12 13:51     ` Neil Horman
  0 siblings, 1 reply; 4+ messages in thread
From: Bruce Richardson @ 2015-01-12 11:21 UTC (permalink / raw)
  To: Ravi Kerur; +Cc: dev-VfR2kkLFssw

On Fri, Jan 09, 2015 at 09:14:16AM -0800, Ravi Kerur wrote:
> Hi,
> 
> Has anyone successfully cross compiled bsdapp on Ubuntu or other linux
> flavor? From the Linux documentation I see
> 
> "To compile all 64-bit targets using gcc, use:
> 
> make install T=x86_64*gcc"
> 
> which makes me believe that bsdapp can be cross-compiled.

Actually, I think it's just that that bit got missed in the documentation update
when we added bsd support. :-)
I'm not aware of anyone who has successfully built a bsdapp dpdk application on
linux or vice-version.

/Bruce

> 
> I am trying to understand what GNU libraries and other toolchain
> related installation has to be done on Linux in order to get bsd
> successfully compiled.  Inputs appreciated.
> 
> Thanks,
> 
> Ravi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cross-compilation of bsdapp on Ubuntu
  2015-01-12 11:21   ` Bruce Richardson
@ 2015-01-12 13:51     ` Neil Horman
       [not found]       ` <20150112135128.GA23467-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Neil Horman @ 2015-01-12 13:51 UTC (permalink / raw)
  To: Bruce Richardson; +Cc: dev-VfR2kkLFssw

On Mon, Jan 12, 2015 at 11:21:32AM +0000, Bruce Richardson wrote:
> On Fri, Jan 09, 2015 at 09:14:16AM -0800, Ravi Kerur wrote:
> > Hi,
> > 
> > Has anyone successfully cross compiled bsdapp on Ubuntu or other linux
> > flavor? From the Linux documentation I see
> > 
> > "To compile all 64-bit targets using gcc, use:
> > 
> > make install T=x86_64*gcc"
> > 
> > which makes me believe that bsdapp can be cross-compiled.
> 
> Actually, I think it's just that that bit got missed in the documentation update
> when we added bsd support. :-)
> I'm not aware of anyone who has successfully built a bsdapp dpdk application on
> linux or vice-version.
> 
You're not going to be able to cross compile bsd on a linux system or vice versa
unless you install system level compat libs to handle all the OS-specific
library calls.  Those exist, but its usually not worth the effort to do so.
Just as easy/easier to install a virt guest with the appropriate operating
system.

Neil

> /Bruce
> 
> > 
> > I am trying to understand what GNU libraries and other toolchain
> > related installation has to be done on Linux in order to get bsd
> > successfully compiled.  Inputs appreciated.
> > 
> > Thanks,
> > 
> > Ravi
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cross-compilation of bsdapp on Ubuntu
       [not found]       ` <20150112135128.GA23467-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
@ 2015-01-15 20:30         ` Ravi Kerur
  0 siblings, 0 replies; 4+ messages in thread
From: Ravi Kerur @ 2015-01-15 20:30 UTC (permalink / raw)
  To: Neil Horman; +Cc: dev-VfR2kkLFssw

Thanks folks for the information.

On Mon, Jan 12, 2015 at 5:51 AM, Neil Horman <nhorman-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org> wrote:

> On Mon, Jan 12, 2015 at 11:21:32AM +0000, Bruce Richardson wrote:
> > On Fri, Jan 09, 2015 at 09:14:16AM -0800, Ravi Kerur wrote:
> > > Hi,
> > >
> > > Has anyone successfully cross compiled bsdapp on Ubuntu or other linux
> > > flavor? From the Linux documentation I see
> > >
> > > "To compile all 64-bit targets using gcc, use:
> > >
> > > make install T=x86_64*gcc"
> > >
> > > which makes me believe that bsdapp can be cross-compiled.
> >
> > Actually, I think it's just that that bit got missed in the
> documentation update
> > when we added bsd support. :-)
> > I'm not aware of anyone who has successfully built a bsdapp dpdk
> application on
> > linux or vice-version.
> >
> You're not going to be able to cross compile bsd on a linux system or vice
> versa
> unless you install system level compat libs to handle all the OS-specific
> library calls.  Those exist, but its usually not worth the effort to do so.
> Just as easy/easier to install a virt guest with the appropriate operating
> system.
>
> Neil
>
> > /Bruce
> >
> > >
> > > I am trying to understand what GNU libraries and other toolchain
> > > related installation has to be done on Linux in order to get bsd
> > > successfully compiled.  Inputs appreciated.
> > >
> > > Thanks,
> > >
> > > Ravi
> >
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-15 20:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-09 17:14 Cross-compilation of bsdapp on Ubuntu Ravi Kerur
     [not found] ` <CAFb4SLAYWZU4e4ZLdqVFcTSOPozLy-DtoN-AMvbTNq__vLfNZw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-12 11:21   ` Bruce Richardson
2015-01-12 13:51     ` Neil Horman
     [not found]       ` <20150112135128.GA23467-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2015-01-15 20:30         ` Ravi Kerur

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.