On December 21, 2004 09:50 am, Tom Lane wrote:
> Darcy Buskermolen <darcy@wavefire.com> writes:
> > On December 16, 2004 04:29 pm, Tom Lane wrote:
> >> Hmm. I see in Makefile.freebsd:
> >>
> >> ifdef ELF_SYSTEM
> >> export_dynamic = -export-dynamic
> >> rpath = -R$(rpathdir)
> >> shlib_symbolic = -Wl,-Bsymbolic -lc
> >> endif
> >
> > Ok we are making further headway:
> >
> > icc -O -L../../src/port -R/usr/local/pgsql/lib -export-dynamic
> > access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o
> > commands/SUBSYS.o executor
> > /SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o
> > optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o
> > rewrite/SUBSYS.o storag
> > e/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o ../../src/timezone/SUBSYS.o
> > -lpgport_srv -lz -lreadline -lcrypt -lcompat -lm -lutil -o postgres
> >
> > iccbin: Command line warning: ignoring unknown option
> > '-R/usr/local/pgsql/lib'
> > /usr/local/intel/compiler70/ia32/bin/ldwrapper/ld: warning: cannot find
> > entry symbol xport-dynamic; defaulting to 000000000804acc0
> >
> > So it looks like icc dosn't like -export-dynamic
>
> Looks like it doesn't like -R either. You need to determine the correct
> alternative spelling of those switches for us, and then we can put a
> conditional into Makefile.freebsd for icc.
-Wl,-export-dynamic looks to do the job
>
> Is icc available on any other platforms besides FreeBSD?
Yes icc is available for other platforms, most notably linux and MS windows.
>
> regards, tom lane
--
Darcy Buskermolen
Wavefire Technologies Corp.
ph: 250.717.0200
fx: 250.763.1759
http://www.wavefire.com