sm-grimoire AT lists.ibiblio.org
Subject: Discussion of Spells and Grimoire items
List archive
- From: Eric Sandall <eric AT sandall.us>
- To: sm-grimoire AT lists.ibiblio.org
- Subject: Re: [SM-Grimoire] gcc and languages
- Date: Thu, 11 Mar 2004 09:57:44 -0800
Quoting Robin Cook <rcook AT wyrms.net>:
> On Wed, 2004-03-10 at 17:52, Andrew wrote:
> > perhaps instead we could have sorcery understand whether or not a spell
> > was cast with a specific option. So a spell could depend on gcc with
> > objC support rather than just gcc (and hoping that it has objC).
> >
> > If a spell happens to not be installed with a given optional_depends (or
> > configure setting) then the spell should be recast with that setting on.
>
> Would be nice right now this is what I had to do in the PREPARE of
> gnome-objc and libglade2 to detect if they had the proper dependencies.
>
> ===gnome-objc PREPARE==========================
> if ! grep -q "objc" "$DEPENDS_CONFIG/gcc"
> then
> message ${PROBLEM_COLOR} GCC is not cast with objc enabled. Please
> recast GCC and enable the objc configure option. ${DEFAULT_COLOR}
> exit
> fi
> ===============================================
> ===libglade2 PREPARE===========================
> if spell_installed Python
> then
> if ! search_depends_status_exact "Python" "expat" "on" "optional"
> then
> message ${PROBLEM_COLOR} Python is not cast with expat enabled.
> Please recast Python and enable the expat optional depends.
> ${DEFAULT_COLOR}
> exit
> fi
> else
> message ${QUERY_COLOR} Please enable expat during the Python
> configure or casting will hang. ${DEFAULT_COLOR} &&
> sleep 5
> fi
So it sounds like we're /for/ the separation of gcc into it's separate parts?
We
can just copy the current gcc and replace $LANG with the language we want it
to
compile for. Anyone see any problems with this approach?
-sandalle
--
PGP Key Fingerprint: FCFF 26A1 BE21 08F4 BB91 FAED 1D7B 7D74 A8EF DD61
http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA8EFDD61
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/IT$ d-- s++:+>: a-- C++(+++) BL++++VIS>$ P+(++) L+++ E-(---) W++ N+@ o?
K? w++++>-- O M-@ V-- PS+(+++) PE(-) Y++(+) PGP++(+) t+() 5++ X(+) R+(++)
tv(--)b++(+++) DI+@ D++(+++) G>+++ e>+++ h---(++) r++ y+
------END GEEK CODE BLOCK------
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-
[SM-Grimoire] gcc and languages,
Eric Sandall, 03/10/2004
-
Re: [SM-Grimoire] gcc and languages,
Arwed von Merkatz, 03/10/2004
-
Re: [SM-Grimoire] gcc and languages,
Andrew, 03/10/2004
- Re: [SM-Grimoire] gcc and languages, Chris Dennis, 03/10/2004
-
Re: [SM-Grimoire] gcc and languages,
Robin Cook, 03/11/2004
-
Re: [SM-Grimoire] gcc and languages,
Eric Sandall, 03/11/2004
-
Re: [SM-Grimoire] gcc and languages,
Ladislav Hagara, 03/11/2004
- Re: [SM-Grimoire] gcc and languages, Eric Sandall, 03/11/2004
-
Re: [SM-Grimoire] gcc and languages,
Ladislav Hagara, 03/11/2004
-
Re: [SM-Grimoire] gcc and languages,
Eric Sandall, 03/11/2004
-
Re: [SM-Grimoire] gcc and languages,
Andrew, 03/10/2004
- Re: [SM-Grimoire] gcc and languages, Terry Ross, 03/10/2004
-
Re: [SM-Grimoire] gcc and languages,
Arwed von Merkatz, 03/10/2004
Archive powered by MHonArc 2.6.24.