All of lore.kernel.org
 help / color / mirror / Atom feed
* Building a MinGW SDK
@ 2013-08-06 19:52 Francois Retief
  2013-08-07 20:46 ` Otavio Salvador
  0 siblings, 1 reply; 2+ messages in thread
From: Francois Retief @ 2013-08-06 19:52 UTC (permalink / raw)
  To: openembedded-devel

Hi,

I have been struggling for the last week trying to get a MinGW based SDK
going.

After a long struggle I found that the PREFERRED_PROVIDER for libc-for-gcc
had to change:

PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-for-gcc ?=
"nativesdk-mingw-w64-runtime"

I am now at a point where the libc-for-gcc is compiled using the
mingw-w32-crt files, but I am don't know the exact path were OpenEmbedded
want's the libc-for-gcc libraries to go.

Using the i586-linux SDK as reference, it looks like it should be in

${TMPDIR}/sysroots/x86_64-nativesdk-oesdk-mingw32/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-mingw32

But the gcc does not pick up the crtbegin.o/crtend.o files from there when
building the libgcc library.

Has anyone experience setting up GCC for a SDK under OpenEmbedded?

I really need some advice.

Cheers
  Francois


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

* Re: Building a MinGW SDK
  2013-08-06 19:52 Building a MinGW SDK Francois Retief
@ 2013-08-07 20:46 ` Otavio Salvador
  0 siblings, 0 replies; 2+ messages in thread
From: Otavio Salvador @ 2013-08-07 20:46 UTC (permalink / raw)
  To: OpenEmbedded Devel List

On Tue, Aug 6, 2013 at 4:52 PM, Francois Retief <fgretief@gmail.com> wrote:
> Hi,
>
> I have been struggling for the last week trying to get a MinGW based SDK
> going.
>
> After a long struggle I found that the PREFERRED_PROVIDER for libc-for-gcc
> had to change:
>
> PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-for-gcc ?=
> "nativesdk-mingw-w64-runtime"
>
> I am now at a point where the libc-for-gcc is compiled using the
> mingw-w32-crt files, but I am don't know the exact path were OpenEmbedded
> want's the libc-for-gcc libraries to go.
>
> Using the i586-linux SDK as reference, it looks like it should be in
>
> ${TMPDIR}/sysroots/x86_64-nativesdk-oesdk-mingw32/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-mingw32
>
> But the gcc does not pick up the crtbegin.o/crtend.o files from there when
> building the libgcc library.
>
> Has anyone experience setting up GCC for a SDK under OpenEmbedded?
>
> I really need some advice.

I think the better list for this would be OE-Core. By the way, I also
have interest on it :-)

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

end of thread, other threads:[~2013-08-07 20:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-06 19:52 Building a MinGW SDK Francois Retief
2013-08-07 20:46 ` Otavio Salvador

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.