* Web browser for AlphaLinux?
@ 1998-06-22 18:32 William Bradford
1998-06-22 20:23 ` jasonph
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: William Bradford @ 1998-06-22 18:32 UTC (permalink / raw)
To: axp-list
(I know this has probably been asked before, sorry for the repitition)
Finally got a decent alpha (AS 200 4/166, 70mb RAM) and RH5.0 installed, its
MUCH nicer than my attempt a year ago (Multia 166 and RH4.1) - however, all I
need to make a "complete" system is a decent web browser (Netscape
preferrably) - has anybody managed to get Mozilla compiled? I tried both
it and amaya over the weekend, and couldnt get either to compile properly.
Otherwise, I love the system! It runs great. Going to replace the S3
card with my Matrox Millenium 4mb soon as well.
Bill
--
Bill Bradford * mrbill@frenzy.com
-------------------------------------------
"One World, One Web, One Program" - Microsoft Promotional Ad
"Ein Volk, Ein Reich, Ein Fuhrer" - Adolf Hitler
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Web browser for AlphaLinux? 1998-06-22 18:32 Web browser for AlphaLinux? William Bradford @ 1998-06-22 20:23 ` jasonph 1998-06-29 4:36 ` jrp 1998-07-02 15:15 ` Kazushige Goto 2 siblings, 0 replies; 8+ messages in thread From: jasonph @ 1998-06-22 20:23 UTC (permalink / raw) To: axp-list > (I know this has probably been asked before, sorry for the repitition) > > Finally got a decent alpha (AS 200 4/166, 70mb RAM) and RH5.0 installed, its > MUCH nicer than my attempt a year ago (Multia 166 and RH4.1) - however, all I > need to make a "complete" system is a decent web browser (Netscape > preferrably) - has anybody managed to get Mozilla compiled? I tried both > it and amaya over the weekend, and couldnt get either to compile properly. I've got a similar system, and it is very nice compared to the UDB, which is still functional and fun. I think the video card in the UDB does the computer a dis-service. I use netscape every day. I start it up from an intel computer, displaying in on the alpha :-) -Jason ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Web browser for AlphaLinux? 1998-06-22 18:32 Web browser for AlphaLinux? William Bradford 1998-06-22 20:23 ` jasonph @ 1998-06-29 4:36 ` jrp 1998-07-02 15:15 ` Kazushige Goto 2 siblings, 0 replies; 8+ messages in thread From: jrp @ 1998-06-29 4:36 UTC (permalink / raw) To: axp-list On 22 Jun, William Bradford wrote: > Finally got a decent alpha (AS 200 4/166, 70mb RAM) and RH5.0 installed, its > MUCH nicer than my attempt a year ago (Multia 166 and RH4.1) - however, all I > need to make a "complete" system is a decent web browser (Netscape > preferrably) - has anybody managed to get Mozilla compiled? I tried both > it and amaya over the weekend, and couldnt get either to compile properly. I got mozilla up-and-creaking (with lesstif, no less!) just prior to Linux Expo. Maybe I'll put it up on gatekeeper for folks to bang on. It's got display bugs and it's easy to crash, but maybe that'll be an incentive for folks to hack on it 8-) -- Jim Paradis jrp@jrp.tiac.net "The early bird gets the worm. http://www.tiac.net/users/jrp/index.html If you want something else for breakfast, get up later." ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Web browser for AlphaLinux? 1998-06-22 18:32 Web browser for AlphaLinux? William Bradford 1998-06-22 20:23 ` jasonph 1998-06-29 4:36 ` jrp @ 1998-07-02 15:15 ` Kazushige Goto 1998-07-03 3:22 ` Alvaro Saurin 2 siblings, 1 reply; 8+ messages in thread From: Kazushige Goto @ 1998-07-02 15:15 UTC (permalink / raw) To: axp-list Hi, From: William Bradford <mrbill@frenzy.com> Subject: Web browser for AlphaLinux? mrbill> preferrably) - has anybody managed to get Mozilla compiled? I tried both mrbill> it and amaya over the weekend, and couldnt get either to compile properly. I compiled mozilla with LSL Motif and it works pretty fine. Please see ftp://ftp.eni.co.jp/.2/Linux-Alpha-JP/ftp.statabo.rim.or.jp/Motif/Mozilla This mozilla is statically linked with LSL Motif and works on glibc-2.0.x(it may work on Redhat 5.x). The named "x_locale" mozilla requires libX11 compiled with X_LOCALE option, but it can display wide characters. I think it's enouth to use non-X_LOCALE version on the normal usage. I also made Mosaic-2.6 with Motif and works fine. Thanks, goto@statabo.rim.or.jp ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Web browser for AlphaLinux? 1998-07-02 15:15 ` Kazushige Goto @ 1998-07-03 3:22 ` Alvaro Saurin 1998-07-03 14:58 ` Kazushige Goto 0 siblings, 1 reply; 8+ messages in thread From: Alvaro Saurin @ 1998-07-03 3:22 UTC (permalink / raw) To: axp-list On Fri, 3 Jul 1998, Kazushige Goto wrote: > > I compiled mozilla with LSL Motif and it works pretty fine. Please see > > ftp://ftp.eni.co.jp/.2/Linux-Alpha-JP/ftp.statabo.rim.or.jp/Motif/Mozilla > > This mozilla is statically linked with LSL Motif and works on > glibc-2.0.x(it may work on Redhat 5.x). The named "x_locale" mozilla > requires libX11 compiled with X_LOCALE option, but it can display wide > characters. I think it's enouth to use non-X_LOCALE version on the > normal usage. > > I also made Mosaic-2.6 with Motif and works fine. > I've got the two versions and both require _Xsetlocale. mozilla: error in loading shared libraries : undefined symbol: _Xsetlocale Mosaic: error in loading shared libraries : undefined symbol: _Xsetlocale Could you put a non-X_LOCALE version or a libX11 version compiled with X_LOCALE (it would be a interesting extra in my libs) ? Regards _______________________________________________________________________ Alvaro Saurin <saurin@udc.es> from Zoe (Linux on Alpha Multia 266Mhz) PGP PubKey: mailto:saurin@udc.es (Subject: PGPKey) PGP FingerPrint: 0A1E6024A75B294552E22A6A837C91B7 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Web browser for AlphaLinux? 1998-07-03 3:22 ` Alvaro Saurin @ 1998-07-03 14:58 ` Kazushige Goto 1998-07-04 15:04 ` Kazushige Goto 0 siblings, 1 reply; 8+ messages in thread From: Kazushige Goto @ 1998-07-03 14:58 UTC (permalink / raw) To: axp-list Hi, From: Alvaro Saurin <saurin@udc.es> Subject: Re: Web browser for AlphaLinux? saurin> I've got the two versions and both require _Xsetlocale. saurin> Could you put a non-X_LOCALE version or a libX11 version compiled saurin> with X_LOCALE (it would be a interesting extra in my libs) ? I'm sorry, it's my mistake. I re-linked statically except for libc, libm and libdl. Because the combination of LSL Motif and Mozilla is very sensitive for library's version. I put my binary on the ftp site. I'll make non-X_LOCALE version as soon as possible. Thanks, goto@statabo.rim.or.jp ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Web browser for AlphaLinux? 1998-07-03 14:58 ` Kazushige Goto @ 1998-07-04 15:04 ` Kazushige Goto 1998-07-05 2:10 ` Alvaro Saurin 0 siblings, 1 reply; 8+ messages in thread From: Kazushige Goto @ 1998-07-04 15:04 UTC (permalink / raw) To: axp-list Hi, From: Kazushige Goto <goto@statabo.rim.or.jp> Subject: Re: Web browser for AlphaLinux? goto> I'll make non-X_LOCALE version as soon as possible. I've just put mozilla binaries on my ftp site. ftp.eni.co.jp/.2/Linux-Alpha-JP/ftp.statabo.rim.or.jp/Motif/Mozilla/RedHat This directory contains patch and some binaries. mozilla-SWiM-static.tar.gz : Using with SWiM Motif and statically linked with X11 libs and Motif libs. mozilla-SWiM.tar.gz : Using with SWiM Motif mozilla-lesstif.tar.gz : Using with Lesstif current mozilla-axp.diff : patch for Linux/Alpha X11libs.tar.gz : X11R6.3 shared libraries The lesstif-current version also works fine(a little bit wrong, though). You can build mozilla binary by yourself. If you want to build mozilla, you must set environment as follows, setenv NO_SECURITY 1 setenv MOZ_MEDIUM 1 setenv MOZILLA_CLIENT 1 setenv NO_MDUPDATE 1 If you want optimized version, please set this. setenv BUILD_OPT 1 p.s. Please make directory /usr/X11R6/lib/X11/mozilla before building. I attend the patch, this patch is based on Uncle George's patch. Thanks, goto@statabo.rim.or.jp diff -ru mozilla.old/cmd/xfe/Makefile mozilla/cmd/xfe/Makefile --- mozilla.old/cmd/xfe/Makefile Thu Jun 4 02:03:22 1998 +++ mozilla/cmd/xfe/Makefile Sat Jul 4 15:52:49 1998 @@ -637,11 +637,13 @@ # -include $(DEPTH)/config/motif.mk +CCLD = $(CC) XTOOLLIB = -L/usr/X11R6/lib -lXt -lSM -lICE XLIB = -lXext -lX11 XMULIB = -lXmu -lXpm +LDFLAGS += -Wl,-rpath /usr/X11R6/lib/X11/mozilla -ifeq ($(OS_RELEASE),2.0) +ifneq (,$(filter 2.0 2.1,$(OS_RELEASE))) ifeq ($(CPU_ARCH),ppc) MOTIFLIB = /usr/local/lib/libXm.a else diff -ru mozilla.old/config/Linux.mk mozilla/config/Linux.mk --- mozilla.old/config/Linux.mk Thu Jun 4 01:57:39 1998 +++ mozilla/config/Linux.mk Sat Jul 4 16:04:09 1998 @@ -95,7 +95,7 @@ PORT_FLAGS += -DNO_INT64_T PLATFORM_FLAGS += -DLINUX2_0 BUILD_UNIX_PLUGINS = 1 -MKSHLIB = $(CC) -shared -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so) +MKSHLIB = $(CC) -shared -Wl,-soname=$(@:$(OBJDIR)/%.so=%.so) ifdef BUILD_OPT OPTIMIZER = -O2 endif diff -ru mozilla.old/config/xmversion.sh mozilla/config/xmversion.sh --- mozilla.old/config/xmversion.sh Thu Jun 4 01:57:41 1998 +++ mozilla/config/xmversion.sh Sat Jul 4 15:08:45 1998 @@ -57,6 +57,11 @@ i386|i486|i586|i686) MOTIF_LIB_DIR=/usr/X11R6/lib ;; + + alpha) + MOTIF_LIB_DIR=/usr/X11R6/lib + ;; + esac ;; diff -ru mozilla.old/include/garray.h mozilla/include/garray.h --- mozilla.old/include/garray.h Thu Jun 4 01:48:07 1998 +++ mozilla/include/garray.h Sat Jul 4 15:08:45 1998 @@ -188,7 +188,7 @@ template<class PTRTYPE> class TXP_GrowableArray: public CXP_GrowableArray { public: - PTRTYPE operator[](int nIndex) const { return (PTRTYPE)(int32)m_pData[nIndex]; } + PTRTYPE operator[](int nIndex) const { return (PTRTYPE)(int64)m_pData[nIndex]; } PTRTYPE& operator[](int nIndex){ return *(PTRTYPE*)&m_pData[nIndex]; } int Add(PTRTYPE newElement){ return CXP_GrowableArray::Add( (void*) newElement ); } }; @@ -201,7 +201,7 @@ #define Declare_GrowableArray(NAME,PTRTYPE) \ class TXP_GrowableArray_##NAME: public CXP_GrowableArray { \ public: \ - PTRTYPE operator[](int nIndex) const { return (PTRTYPE)(int32)m_pData[nIndex]; }\ + PTRTYPE operator[](int nIndex) const { return (PTRTYPE)(int64)m_pData[nIndex]; }\ PTRTYPE& operator[](int nIndex){ return *(PTRTYPE*)&m_pData[nIndex]; } \ int Add(PTRTYPE newElement){ return CXP_GrowableArray::Add( (void*) newElement ); } \ }; \ @@ -241,12 +241,12 @@ #define Declare_PtrStack(NAME, PTRTYPE) \ class TXP_PtrStack_##NAME : public CXP_PtrStack { \ public: \ - void Push( PTRTYPE t ){ CXP_PtrStack::Push((void*)(int32)t); } \ - PTRTYPE Top(){ return (PTRTYPE)(int32)CXP_PtrStack::Top(); } \ - PTRTYPE Pop(){ return (PTRTYPE)(int32)CXP_PtrStack::Pop(); } \ - PTRTYPE operator[](int nIndex) const { return (PTRTYPE)(int32)m_pData[nIndex]; }\ + void Push( PTRTYPE t ){ CXP_PtrStack::Push((void*)(int64)t); } \ + PTRTYPE Top(){ return (PTRTYPE)(int64)CXP_PtrStack::Top(); } \ + PTRTYPE Pop(){ return (PTRTYPE)(int64)CXP_PtrStack::Pop(); } \ + PTRTYPE operator[](int nIndex) const { return (PTRTYPE)(int64)m_pData[nIndex]; }\ PTRTYPE& operator[](int nIndex){ return *(PTRTYPE*)&m_pData[nIndex]; } \ - int Add(PTRTYPE newElement){ return CXP_GrowableArray::Add( (void*)(int32)newElement ); } \ + int Add(PTRTYPE newElement){ return CXP_GrowableArray::Add( (void*)(int64)newElement ); } \ }; \ diff -ru mozilla.old/js/src/jsapi.c mozilla/js/src/jsapi.c --- mozilla.old/js/src/jsapi.c Thu Jun 4 01:49:26 1998 +++ mozilla/js/src/jsapi.c Sat Jul 4 15:08:45 1998 @@ -1178,18 +1178,39 @@ */ jsdouble d = cds->dval; - /* We can't do a (jsint) cast to check against JSDOUBLE_IS_INT until we - * know that d is not NaN, or we risk a FPE on some platforms. - */ - if (JSDOUBLE_IS_NaN(d)) { +#if defined(linux) && defined (__alpha__) + { + jsint i; + if (isnan(d)) i = 0; + else if (i=isinf(d)) { + if ( i < 0 ) + i = 0x80000000; + else + i = 0x07ffffff; + } + else + { + union feeb { + double d; + long l; + } feeb; + long l; + feeb.d = d; + l = d; + i = (jsint) l; + } + if (JSDOUBLE_IS_INT(d, i) && INT_FITS_IN_JSVAL(i)) + value = INT_TO_JSVAL(i); + else value = DOUBLE_TO_JSVAL(&cds->dval); - } else { + } +#else jsint i = (jsint)d; value = (JSDOUBLE_IS_INT(d, i) && INT_FITS_IN_JSVAL(i)) ? INT_TO_JSVAL(i) : DOUBLE_TO_JSVAL(&cds->dval); - } +#endif #else ok = js_NewNumberValue(cx, cds->dval, &value); if (!ok) diff -ru mozilla.old/js/src/jsnum.c mozilla/js/src/jsnum.c --- mozilla.old/js/src/jsnum.c Thu Jun 4 01:49:28 1998 +++ mozilla/js/src/jsnum.c Sat Jul 4 15:08:45 1998 @@ -358,7 +358,11 @@ {0, "POSITIVE_INFINITY"}, {0, "NEGATIVE_INFINITY"}, {1.7976931348623157E+308, "MAX_VALUE"}, +#if !( defined(linux) && defined(__alpha__)) {0, "MIN_VALUE"}, +#else + {2.2250738585072013E-308, "MIN_VALUE"}, +#endif {0} }; @@ -410,9 +414,11 @@ return NULL; } +#if !( defined(linux) && defined(__alpha__)) u.s.hi = 0; u.s.lo = 1; number_constants[NC_MIN_VALUE].dval = u.d; +#endif } if (!JS_DefineFunctions(cx, obj, number_functions)) diff -ru mozilla.old/js/src/jsnum.h mozilla/js/src/jsnum.h --- mozilla.old/js/src/jsnum.h Thu Jun 4 01:49:28 1998 +++ mozilla/js/src/jsnum.h Sat Jul 4 15:08:45 1998 @@ -59,7 +59,7 @@ #define JSDOUBLE_IS_INT_2(d, i) (!JSDOUBLE_IS_NEGZERO(d) && (jsdouble)i == d) -#ifdef XP_PC +#if defined(XP_PC) || (defined(linux) && defined (__alpha)) /* XXX MSVC miscompiles NaN floating point comparisons for ==, !=, <, and <= */ #define JSDOUBLE_IS_INT(d, i) (!JSDOUBLE_IS_NaN(d) && JSDOUBLE_IS_INT_2(d, i)) #else diff -ru mozilla.old/nsprpub/pr/include/md/_linux.h mozilla/nsprpub/pr/include/md/_linux.h --- mozilla.old/nsprpub/pr/include/md/_linux.h Thu Jun 4 01:53:59 1998 +++ mozilla/nsprpub/pr/include/md/_linux.h Sat Jul 4 15:08:45 1998 @@ -31,6 +31,8 @@ #define _PR_SI_ARCHITECTURE "ppc" #elif defined(__alpha) #define _PR_SI_ARCHITECTURE "alpha" +/* Move VMBASE to beyond 32 bits so we can readily observe ptr truncation */ +#define _PR_STACK_VMBASE 0x15450000000L #elif defined(__mc68000__) #define _PR_SI_ARCHITECTURE "m68k" #else @@ -39,7 +41,9 @@ #define PR_DLL_SUFFIX ".so" #define _PR_VMBASE 0x30000000 -#define _PR_STACK_VMBASE 0x50000000 +#if !defined _PR_STACK_VMBASE +#define _PR_STACK_VMBASE 0x50000000 +#endif #define _MD_DEFAULT_STACK_SIZE 65536L #define _MD_MMAP_FLAGS MAP_PRIVATE diff -ru mozilla.old/nsprpub/pr/src/md/unix/unix.c mozilla/nsprpub/pr/src/md/unix/unix.c --- mozilla.old/nsprpub/pr/src/md/unix/unix.c Thu Jun 4 01:54:11 1998 +++ mozilla/nsprpub/pr/src/md/unix/unix.c Sat Jul 4 15:08:45 1998 @@ -38,6 +38,10 @@ #include <sys/filio.h> #endif +#if defined (linux) +#include <sys/uio.h> /* Get readv/writev */ +#endif + /* * Make sure _PRSockLen_t is 32-bit, because we will cast a PRUint32* or * PRInt32* pointer to a _PRSockLen_t* pointer. @@ -2809,7 +2813,7 @@ * to be made executable because longjmp/signal seem * to put machine instructions on the stack. */ -#if defined(LINUX) && defined(__alpha) +#if defined(linux) && defined(__alpha__) prot |= PROT_EXEC; #endif rv = mmap((vaddr != 0) ? vaddr : lastaddr, size, prot, ^ permalink raw reply [flat|nested] 8+ messages in thread
* Web browser for AlphaLinux? 1998-07-04 15:04 ` Kazushige Goto @ 1998-07-05 2:10 ` Alvaro Saurin 0 siblings, 0 replies; 8+ messages in thread From: Alvaro Saurin @ 1998-07-05 2:10 UTC (permalink / raw) To: axp-list > If you want to build mozilla, you must set environment as follows, > > setenv NO_SECURITY 1 > setenv MOZ_MEDIUM 1 > setenv MOZILLA_CLIENT 1 > setenv NO_MDUPDATE 1 > > If you want optimized version, please set this. > > setenv BUILD_OPT 1 > I have seen something curious in Netscape and Mozilla: every page with animated GIFs consume 80 (+/-) of CPU. I supose it's only in Multias due to the direct memory access of the TGA driver (very CPU intensive), and with the Mozilla version it's worse because the animation is playing every time a page is loaded. Could anybody make a Mozilla version with this animation disabled ?. Thanks in advance. _______________________________________________________________________ Alvaro Saurin <saurin@udc.es> from Zoe (Linux on Alpha Multia 266Mhz) PGP PubKey: mailto:saurin@udc.es (Subject: PGPKey) PGP FingerPrint: 0A1E6024A75B294552E22A6A837C91B7 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1998-07-05 2:10 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1998-06-22 18:32 Web browser for AlphaLinux? William Bradford 1998-06-22 20:23 ` jasonph 1998-06-29 4:36 ` jrp 1998-07-02 15:15 ` Kazushige Goto 1998-07-03 3:22 ` Alvaro Saurin 1998-07-03 14:58 ` Kazushige Goto 1998-07-04 15:04 ` Kazushige Goto 1998-07-05 2:10 ` Alvaro Saurin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox