#12821: testcc.sh: allow $CC to contain multiple words
----------------------------------+-----------------------------------------
Reporter: jdemeyer | Owner: GeorgSWeber
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: build | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Jeroen Demeyer | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Description changed by jdemeyer:
Old description:
> If CC="gcc -m32" (for example), then the following will fail:
> {{{
> $ testcc.sh $CC
> Usage: spkg/bin/testcc.sh name_or_path_to_the_C_compiler
> [...]
> }}}
>
> We should allow `testcc.sh` to accept multiple arguments and use all of
> them to run the C compiler.
>
> We also need to fix libm4rie, which does `testcc.sh "$CC"`:
>
> '''spkg''':
> [http://boxen.math.washington.edu/home/jdemeyer/spkg/libm4rie-20111004.p3.spkg]
> (diff: [attachment:libm4rie-20111004.p3.diff])
New description:
If CC="gcc -m32" (for example), then the following will fail:
{{{
$ testcc.sh $CC
Usage: spkg/bin/testcc.sh name_or_path_to_the_C_compiler
[...]
}}}
We should allow `testcc.sh` to accept multiple arguments and use all of
them to run the C compiler (similarly for `testcxx.sh`): [[BR]]
'''Apply''' [attachment:12821_testcc.patch] to the SAGE_ROOT repository.
We also need to fix libm4rie, which does `testcc.sh "$CC"`: [[BR]]
'''spkg''':
[http://boxen.math.washington.edu/home/jdemeyer/spkg/libm4rie-20111004.p3.spkg]
(diff: [attachment:libm4rie-20111004.p3.diff])
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12821#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.