[PPL-devel] Compiling ppl-0.10.2 on Solaris Express
Roberto Bagnara
bagnara at cs.unipr.it
Thu Jun 25 06:14:41 CEST 2009
alanpae at ilkda.com wrote:
>> Here is what I would do in your shoes. I would take the failing compilation
>> command, i.e.,
>
> Ok, If I was you I would:
>
>> g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -D_SYS_REG_H -I/opt/local/include \
>> -g -O2 -frounding-math -W -Wall -MT C_Polyhedron.lo -MD -MP \
>> -MF .deps/C_Polyhedron.Tpo -c C_Polyhedron.cc -fPIC -DPIC -o .libs/C_Polyhedron.o
>>
>> I would replace -c with -E and erase -g, -O2, ... and anything after
>> C_Polyhedron.cc, redirecting the output to a file.
>
> Then I get:
>
> g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -D_SYS_REG_H
> -I/opt/local/include -frounding-math -W -Wall -MT C_Polyhedron.lo -MD
> -MP -MF .deps/C_Polyhedron.Tpo -E C_Polyhedron.cc | grep CS
Hem, no. Grepping for CS is not going to help. What we need is
to identify the header file that is defining CS. Please do that:
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -D_SYS_REG_H
-I/opt/local/include -frounding-math -W -Wall -MT C_Polyhedron.lo -MD
-MP -MF .deps/C_Polyhedron.Tpo -C -E C_Polyhedron.cc | C_Polyhedron.ii
bzip2 C_Polyhedron.ii
And then mail me (personally, not the mailing list) C_Polyhedron.ii.bz2.
Cheers,
Roberto
--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara at cs.unipr.it
More information about the PPL-devel
mailing list