POV-Ray : Newsgroups : povray.unix : Linux-compile with icc? Server Time
28 Jul 2024 10:14:31 EDT (-0400)
  Linux-compile with icc? (Message 1 to 9 of 9)  
From: m
Subject: Linux-compile with icc?
Date: 11 Aug 2002 20:12:15
Message: <3d56fd5f@news.povray.org>
Hi,

i tried several times to compile pov35 on my debian with icc, but everytime
i fail! The error message i get is like if there were no main() function in
the program...

greetz,

Marcus


Post a reply to this message

From: Warp
Subject: Re: Linux-compile with icc?
Date: 11 Aug 2002 22:42:29
Message: <3d572095@news.povray.org>
Telling use the error messages issued by the compiler could help...

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: m
Subject: Re: Linux-compile with icc?
Date: 12 Aug 2002 02:03:29
Message: <3d574fb1@news.povray.org>
Hi again,

>   From: Warp <war### [at] tagpovrayorg>
>  Telling use the error messages issued by the compiler could help...
sorry, i didn't had all the info last night...

here are my icc opts:
	-tpp6 -O3 -wp_ipo
the error-message:
	/tmp/xyz.o: In function `_start`:
	/tmp/xyz.o(.text+0x18): undefined reference to main

I tried out to compile with icc without the multi-file-optimizations,
and it seemed to work, but i guess that the gcc-3.1 build will be faster
than a less optimized icc-build.

right now i use an gcc-3.1 build, but i also wanted to check it out
with icc.

greetz

Marcus


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Linux-compile with icc?
Date: 12 Aug 2002 02:13:20
Message: <3d575200$1@news.povray.org>
In article <3d574fb1@news.povray.org> , m### [at] fritschyde  wrote:

>  /tmp/xyz.o: In function `_start`:
>  /tmp/xyz.o(.text+0x18): undefined reference to main

What file is xyz.o?  It looks like a file belonging to some xyz.cpp to me,
and there is no such file in the distribution...

    Thorsten


Post a reply to this message

From: Joshua Nye
Subject: Re: Linux-compile with icc?
Date: 12 Aug 2002 09:11:27
Message: <3d57b3ff$1@news.povray.org>
POV 3.50a UNIX Benchmark Timings

Athlon XP 1800+ w/ 512MB DDR PC2100
Gentoo Linux (2.4.19-gentoo-r7)
+W160 +H100 +A0.3 -f -d +v benchmark.pov

All times probably +/- a couple seconds.

Seconds  Compiler w/flags
----------------------------------------
 1108    gcc-2.95.3
 1002    Official Binary
  865    gcc-3.1.1
  590    gcc-2.95.3 -O2 -mcpu=i686
  589    gcc-2.95.3 -O2
  489    gcc-3.1.1 -O2 -mcpu=athlon -msse
  470    gcc-3.1.1 -O3 -mcpu=athlon -fomit-frame-pointer
          -falign-functions=6 -funroll-loops -ffast-math
          -malign-double -m3dnow -mmmx
  468    icc-6.0.139
  467    gcc-3.1.1 -O2 -mcpu=athlon -m3dnow
  465    gcc-3.1.1 -O2
  465    gcc-3.1.1 -02 -mcpu=athlon -mmmx
  464    gcc-3.1.1 -O2 -mcpu=athlon
  452    icc-6.0.139 -tpp6 -xiMK
  450    icc-6.0.139 -tpp6 -xiMK -prof_use (-prof_gen @ 596)
  449    icc-6.0.139 -tpp6 -xiMK -prof_use (-prof_genx @ 599)

--josh

<m### [at] fritschyde> wrote in message news:3d574fb1@news.povray.org...
> Hi again,
>
> >   From: Warp <war### [at] tagpovrayorg>
> >  Telling use the error messages issued by the compiler could help...
> sorry, i didn't had all the info last night...
>
> here are my icc opts:
> -tpp6 -O3 -wp_ipo
> the error-message:
> /tmp/xyz.o: In function `_start`:
> /tmp/xyz.o(.text+0x18): undefined reference to main
>
> I tried out to compile with icc without the multi-file-optimizations,
> and it seemed to work, but i guess that the gcc-3.1 build will be faster
> than a less optimized icc-build.
>
> right now i use an gcc-3.1 build, but i also wanted to check it out
> with icc.
>
> greetz
>
> Marcus


Post a reply to this message

From: Fritschy
Subject: Re: Linux-compile with icc?
Date: 13 Aug 2002 17:35:24
Message: <web.3d597a8bee4dbc391b9549620@news.povray.org>
Hi,

Joshua Nye wrote:
>...
>All times probably +/- a couple seconds.
>...

hmm, if it's so, than i can live without the icc.build, i only wanted to try
it...

thx for the info!

Marcus


Post a reply to this message

From: Fritschy
Subject: Re: Linux-compile with icc?
Date: 13 Aug 2002 17:35:26
Message: <web.3d597b28ee4dbc391b9549620@news.povray.org>
Hi,

Thorsten Froehlich wrote:
>In article <3d574fb1[at]news.povray.org> , m### [at] fritschyde  wrote:
>
>>  /tmp/xyz.o: In function `_start`:
>>  /tmp/xyz.o(.text+0x18): undefined reference to main
>
>What file is xyz.o?  It looks like a file belonging to some xyz.cpp to me,
>and there is no such file in the distribution...

icc seems to make random-file-names, thats why i wrote there xyz :)

I tried to compile without the '-wp_ipo' flag, which means
multifile-optimization, and it ended with a successful compile, i don't
know why, but thx for interest!

I'll go on now with my athon-tbird optimized gcc-3.1.1 build :)

Marcus


Post a reply to this message

From: Micha Riser
Subject: Re: Linux-compile with icc?
Date: 13 Aug 2002 19:05:16
Message: <3d5990ab@news.povray.org>
Fritschy wrote:
> 
> hmm, if it's so, than i can live without the icc.build, i only wanted to
> try it...
> 
You can get a icc compiled from www.povworld.org/povray/binaries.html .

-- 
http://objects.povworld.org - the POV-Ray Objects Collection


Post a reply to this message

From: Fritschy
Subject: Re: Linux-compile with icc?
Date: 14 Aug 2002 09:50:07
Message: <web.3d5a5f28ee4dbc39922f29210@news.povray.org>
Hi Micha,

Micha Riser wrote:
>Fritschy wrote:
>>
>> hmm, if it's so, than i can live without the icc.build, i only wanted to
>> try it...
>>
>You can get a icc compiled from www.povworld.org/povray/binaries.html .
Yes, i read about it... but i always want to try things by my self :o)

nevertheless i will look at these binaries.

bye and thx @ all!!

Marcus


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.