Opened 15 years ago

Closed 14 years ago

#20070 closed defect (fixed)

atlas uses "gcc"

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jameskyle@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: atlas

Description

atlas 3.8.3 uses "gcc" in some places.

gcc -fPIC -x assembler-with-cpp -DL2SIZE=4194304 -I/mp/var/macports/build/_Users_rschmidt_macports_dports_math_atlas/work/atlas-3.8.3/build/include -I/mp/var/macports/build/_Users_rschmidt_macports_dports_math_atlas/work/atlas-3.8.3/build/..//include -I/mp/var/macports/build/_Users_rschmidt_macports_dports_math_atlas/work/atlas-3.8.3/build/..//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_OSX -DATL_ARCH_Core2 -DATL_CPUMHZ=2200 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -DPentiumCPS=2200 -DATL_NCPU=2 -DDREAL -o ATL_dset_xp1yp0aXbX.o -c ATL_dset_xp1yp0aXbX.c
gcc: Error: You should be using ${configure.cc}
See http://trac.macports.org/wiki/UsingTheRightCompiler

Now, atlas is set up to use MacPorts gcc43 instead of the default gcc 4.0.1 included with Xcode. So I'm not sure whether this bare "gcc" is supposed to be using ${prefix}/bin/gcc-mp-4.3 like the rest, or whether this particular thing must be compiled with /usr/bin/gcc-4.0. But one way or another, it should not be using just "gcc" for the reasons explained in UsingTheRightCompiler.

Attachments (2)

patch-SpewMakeInc.c.diff (421 bytes) - added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) 14 years ago.
Portfile.diff (768 bytes) - added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) 14 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 15 years ago by tobypeterson

Owner: changed from ajb78@… to macports-tickets@…

comment:2 Changed 15 years ago by jameskyle@…

Owner: changed from macports-tickets@… to jameskyle@…

comment:3 Changed 14 years ago by jameskyle@…

Version: 1.7.11.8.1

I'm working on this. It doesn't seem to be a straight forward solution.

comment:4 Changed 14 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

Changed 14 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Attachment: patch-SpewMakeInc.c.diff added

Changed 14 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Attachment: Portfile.diff added

comment:5 Changed 14 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Attached is a proposed solution.

comment:6 Changed 14 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: newclosed

Fixed in r67706. Maintainer timeout.

Note: See TracTickets for help on using tickets.