Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 152437

Summary: crossdev: extra support for FreeBSD crosscompilers
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The crossdev patch

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-22 14:25:07 UTC
The attached patch (a bit rough, I admit) improves support for FreeBSD (but the same will apply to Open, Net and DragonFly when we'll have them) so that the libc version is automatically selected depending on the version in the target string.

Also, it supports "extradepends" that are installed to allow building the crosscompiler.. in fbsd case, you need pmake and freebsd-mk-defs.
This is the rough part, as I didn't code a function to get the logs and I simply output on stdout/stderr right now.

Tell me what you think about this so I can see to refine it if you're willing to accept it :P
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-22 14:27:18 UTC
Created attachment 100239 [details, diff]
The crossdev patch
Comment 2 SpanKY gentoo-dev 2006-10-22 17:12:35 UTC
the 2nd hunk you obviously didnt mean to post ...

initialize EXTRADEPS properly and such and patch should be fine