porting Mozilla

Hi everyone… has anyone successfully ported mozilla
(http://www.mozilla.org) over to neutrino/photon environment?

I’m getting this error when trying to build it:
"
$make
make[1]: Entering directory ‘/home/…/mozilla/config’
gcc -o nsinstall.p -c DOSTYPE=“QNX6.00” -DOJI -I…/dist/include -I
usr/X11R6/include --shared -Wc,
fPIC, -DPIC -w -DNTO -D_QNX_SOURCE -D_POSIX_C_SOURCE=199506 -D_i386 --DEBUG
–DEBUG_
_DTRACING -gstabs -Wp,-include,…/config-defs.h -DMOZILLA -Wp,-MD,.deps/nsin
stall.pp nsinstall.c
cc1: Invalid option -Wc,fPIC’
make[1]: *** [nsinstall.o] Error 1
make[1] Leaving directory ‘/home/…/mozilla/config’
make: *** [export] Error 2
"

any ideas or suggestions on how to get mozilla to compile/work?

Paul

QSSL has already ported it. For some reason they
took it out of the pre-release I beleive.

“Paul Doutre” <pdoutre@ati.stlawrencec.on.ca> wrote in message
news:8vua8q$fb4$1@inn.qnx.com

Hi everyone… has anyone successfully ported mozilla
(> http://www.mozilla.org> ) over to neutrino/photon environment?

I’m getting this error when trying to build it:
"
$make
make[1]: Entering directory ‘/home/…/mozilla/config’
gcc -o nsinstall.p -c DOSTYPE=“QNX6.00” -DOJI -I…/dist/include -I
usr/X11R6/include --shared -Wc,

fPIC, -DPIC -w -DNTO -D_QNX_SOURCE -D_POSIX_C_SOURCE=199506 -D_i386 --DEBUG
–DEBUG_

_DTRACING -gstabs -Wp,-include,…/config-defs.h -DMOZILLA -Wp,-MD,.deps/nsin
stall.pp nsinstall.c
cc1: Invalid option -Wc,fPIC’
make[1]: *** [nsinstall.o] Error 1
make[1] Leaving directory ‘/home/…/mozilla/config’
make: *** [export] Error 2
"

any ideas or suggestions on how to get mozilla to compile/work?

Paul

Paul Doutre <pdoutre@ati.stlawrencec.on.ca> wrote:

Hi everyone… has anyone successfully ported mozilla
(> http://www.mozilla.org> ) over to neutrino/photon environment?

I’m getting this error when trying to build it:
"
$make
make[1]: Entering directory ‘/home/…/mozilla/config’
gcc -o nsinstall.p -c DOSTYPE=“QNX6.00” -DOJI -I…/dist/include -I
usr/X11R6/include --shared -Wc,
fPIC, -DPIC -w -DNTO -D_QNX_SOURCE -D_POSIX_C_SOURCE=199506 -D_i386 --DEBUG
–DEBUG_
_DTRACING -gstabs -Wp,-include,…/config-defs.h -DMOZILLA -Wp,-MD,.deps/nsin
stall.pp nsinstall.c
cc1: Invalid option -Wc,fPIC’
make[1]: *** [nsinstall.o] Error 1
make[1] Leaving directory ‘/home/…/mozilla/config’
make: *** [export] Error 2
"

any ideas or suggestions on how to get mozilla to compile/work?

Paul

the current configure script requires the following to configure properly for RTP

export CC="qcc -Vgcc_ntox86 "
export CXX="QCC -Vgcc_ntox86 "
export CPP=“qcc -Vgcc_ntox86 -E”
export LD=“qcc -Vgcc_ntox86 -nostdlib”
export AR=“qcc -Vgcc_ntox86 -M -a $@”

…/configure --with-zlib=no --disable-pedantic --disable-tests --without-x --enable-toolkit=photon