« Return to Thread: *** ERROR: mgwport internal error: __init_relocation called too early.

Re: *** ERROR: mgwport internal error: __init_relocation called too early.

by Erwin Waterlander-2 :: Rate this Message:

| View in Thread

Charles Wilson schreef, Op 9-2-2012 0:11:

> Yes, you can't use the $(__*) commands in the .mgwport, except inside
> function() definitions. Otherwise, they get evaluated before
> relocatable.mgwport is parsed, which defines those commands.
>
> Sorry for the delay in responding, but I'm glad you found a fix.
> However, you now have to make additional changes to your .mgwport (other
> than the obvious(?) 'inherit cross') if you wanted to build in a
> cross-compiler framework.
>
> The only reason you're defining precomp_prefix is so that you can
> include it in MAKEOPTS.  However, a better approach would be to let
> mgwinstall handled that, by setting
>
> USE_DESTDIR=false
>
> outside of any function, and simply setting
>
> MAKEOPTS="-j1 -f mingw.mak docsubdir=${PN}"
>
> --
> Chuck
>

Hi Chuck,

Thanks. Do I not need to overrule the installation prefix?

--
Erwin Waterlander


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
MinGW-dvlpr mailing list
MinGW-dvlpr@...
https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr

 « Return to Thread: *** ERROR: mgwport internal error: __init_relocation called too early.