Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152437 - crossdev: extra support for FreeBSD crosscompilers
Summary: crossdev: extra support for FreeBSD crosscompilers
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-22 14:25 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2008-05-31 05:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The crossdev patch (crossdev-fbsd-extra.patch,1.21 KB, patch)
2006-10-22 14:27 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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