Opened 12 years ago

Last modified 9 years ago

#7038 closed defect

ratpoints 2.1.2.p2 ignores CC and uses gcc whatever — at Initial Version

Reported by: drkirkby Owned by: tbd
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: packages: standard Keywords:
Cc: Merged in:
Authors: Reviewers: GNUism
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


I gather ratpoints is causing problems with it wanting a very recent version of gcc, where here is another issue. Even if the variable CC is set to the Sun compiler, ratpoints ignores that and simply uses gcc anyway.

The build of ratpoints was attempted using

So it seems there are two at least two issues to resolve in ratpoints.

Finished extraction
Host system
uname -a:
SunOS swan 5.10 Generic_139555-08 sun4u sparc SUNW,Sun-Blade-1000
CC Version
/opt/xxxsunstudio12.1/bin/cc -v
usage: cc [ options] files.  Use 'cc -flags' for details
make[2]: Entering directory `/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/spkg/build/ratpoints-2.1.2.p2/src'
gcc sift.c -c -o sift.o -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include -Wall -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -funroll-loops
gcc gen_init_sieve_h.c -o gen_init_sieve_h  -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include -Wall -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -L/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/lib -lgmp -lm
./gen_init_sieve_h > init_sieve.h
gcc init.c -c -o init.o -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include -Wall -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -funroll-loops -O3

Change History (0)

Note: See TracTickets for help on using tickets.