Re: Compiling gprolog with gcc >= 3.3.3

Hugo Costelha <[email protected]>
Newsgroups gmane.comp.gnu.prolog.bugs
Organization ISR-IST
Message-ID <[email protected]>
Hi,

I'm sorry to say this, but I still can't get it to compile.
After I run
	/configure --with-c-flags=-O
I type make and I get the following (just showing the last part):

gplc -c syn_sugar.wam
gplc -c internal.wam
gplc -c code_gen.wam
gplc -c reg_alloc.wam
gplc -c inst_codif.wam
gplc -c first_arg.wam
gplc -c indexing.wam
gplc -c wam_emit.wam
[ ! -f  pl2wam ] || cp pl2wam pl2wam0
gplc -o pl2wam --no-fd-lib --min-bips pl2wam.o read_file.o bip_list.o 
syn_sugar.o internal.o code_gen.o reg_alloc.o inst_codif.o first_arg.o 
indexing.o wam_emit.o
make[1]: Leaving directory `/home/hcostelha/temp/gprolog-1.2.18/src/Pl2Wam'
make[1]: Entering directory `/home/hcostelha/temp/gprolog-1.2.18/src/Fd2C'
gplc -c --fast-math fd2c.pl

Fatal Error: Segmentation Violation
compilation failed
make[1]: *** [fd2c.o] Error 1
make[1]: Leaving directory `/home/hcostelha/temp/gprolog-1.2.18/src/Fd2C'
make: *** [all] Error 1

If I can help with more details, please feel free to ask.

As I said previously, I use gcc 3.3.3 under SuSE 9.1 Pro.

Hugo Costelha

On Monday 07 June 2004 15:23, Daniel Diaz wrote:
> I have released a rpm compiled with gcc 3.4.0 and a source distribution:
>
> ftp://ftp.inria.fr/INRIA/Projects/contraintes/gprolog/unstable/gprolog-2004
>0607.i386.rpm
> ftp://ftp.inria.fr/INRIA/Projects/contraintes/gprolog/unstable/gprolog-2004
>0607.tgz
>
> To compile the source distribution you need to configure it as follows:
>
> ./configure --with-c-flags=-O
>     (There is problem when compiling with -O2 or -O3. I'll check this
>     asap)
>
> make
>     (there are a lot of warnings, don't worry)
>
> make install
>
>
> Good luck
> ===============================================
>                   Daniel Diaz
> University of Paris 1      INRIA Rocquencourt
> 75013 Paris FRANCE      78153 Le Chesnay FRANCE
>          web: http://pauillac.inria.fr/~diaz
>          email: [email protected]
>
> --
> Ce message a subi une analyse antivirus
> par MailScanner ; il est vraisemblablement
> sans danger.

-- 
-------------------------------------
Não perca o RoboCup2004 em Portugal.
Don't miss the RoboCup2004 in Portugal.
http://www.robocup2004.pt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.