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

Re: Issues with mingw32 (Linux to Windows cross-compiler)



On Thu, 2008-04-17 at 13:56 -0700, Roland McGrath wrote:
> AFAIK we don't have any magic to solve circular dependencies in any
> wondrous way (i.e. that's magically delicious for total rebuilds and all).
> I think we've just done kludges to bootstrap the first time.
> 
> e.g., you can do an initial koji build of a hack version of the package
> that includes some binaries for bootstrapping.  Packaging existing binaries
> is verboten in general, but you can do it just for the one build that gets
> you the prerequisites into koji to do the proper build with a normal spec.
> After the first normal build works and replaces the bootstrap hack build,
> you're just in the usual circular position that we're in with gcc, glibc,
> et al, that all need the others already installed to build the fresh ones.

Done that with EPEL java recently, if you want an example:
http://cvs.fedoraproject.org/viewcvs/rpms/java-1.6.0-openjdk/EL-5/bootstrap-java-1.6.0-openjdk.spec?rev=1.1.2.1&only_with_tag=java-1_6_0-openjdk-1_6_0_0-0_5_b06_el5_bootstrap&view=markup

-- 
Lubomir Kundrak (Red Hat Security Response Team)


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