Welcome, Guest. Please login or register.

Author Topic: We need an iBrowse replacement for 68k!!!  (Read 75373 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline danbeaver

Re: We need an iBrowse replacement for 68k!!!
« Reply #44 on: January 28, 2013, 10:29:05 PM »
Interesting thread, but to put it simply, "A 5 ounce sparrow cannot carry a 1 pound coconut."

Simpler, tighter and optimized code in the form of a quicker browser cannot handle the modern web page when the processor that runs it was designed over 20 years ago.  Heck, ever thought of what a modern X86 processor would do with code that wasn't bloated with waste?  Oops, the ghost of Linux past pops in the room.
« Last Edit: January 28, 2013, 10:30:10 PM by danbeaver »
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #45 on: January 28, 2013, 11:12:20 PM »
@danbeaver
does one need to postz it again, again, again, agai, and again to anyone to understand?

if you have a modern browser and a relatively simple css site, it will work, if you have modern browser and extremly heavy css site it will likely take time beyond patience. a simple java script will work, a heavy one will lock your system for ages. whatever worked up till now will work anyway. trust me i have tested aros-owb on my a4k a little, and come to a conclusion that it could be worth a try, but i dont see improving aros-owb as alternative to much better and up to date odyssey or simpler netsurf for that matter. please dont discuss it over and over.
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #46 on: January 28, 2013, 11:16:55 PM »
Quote from: chris;724498
Well, my 68k cross-compilation environment is pretty broken, as it's really an OS4 cross-compilation environment which is hacked to bits to force everything to cross-compile ppc-amigaos.  So actually it'll take me a while to set one up that works properly.

Here's a build log from a while back:
http://vlists.pepperfish.net/pipermail/netsurf-dev-netsurf-browser.org/2011-January/002306.html

Some of those errors won't appear now, because there's an os3support.h file which hides a load of them.


thanks, the log may be quite a hint, and also worth to look at the os3support.h. i see a lot of warnings. seems the source generally needs delinting for the gcc 4.5.x (is that the right word?;). as i said i cannot substitute lacking functions, but maybe there is someone who may make up his mind a little upon that log.
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #47 on: January 28, 2013, 11:27:41 PM »
good thing is i have 4.5.0 for m68k-amigaos and could perhaps prepare the build environment for someone who can do the actual work, perhaps but only perhaps, i could even build in the necessary casts to get rid of some warnings, but you would have to verify that, chris.
 

Offline chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #48 on: January 29, 2013, 12:21:24 AM »
There's some code that won't be touched under OS3 even though it has to be compiled.  I'll see if I can #ifdef __amigaos4__ those bits to get rid of the warnings (from memory - any section with CompositeTags() in it, and anti-aliased text printing)

Quote from: wawrzon;724506
good thing is i have 4.5.0 for m68k-amigaos and could perhaps prepare the build environment for someone who can do the actual work, perhaps but only perhaps, i could even build in the necessary casts to get rid of some warnings, but you would have to verify that, chris.


Getting a working build environment would be half the battle.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #49 on: January 29, 2013, 12:55:13 AM »
Quote from: chris;724511
There's some code that won't be touched under OS3 even though it has to be compiled.  I'll see if I can #ifdef __amigaos4__ those bits to get rid of the warnings (from memory - any section with CompositeTags() in it, and anti-aliased text printing)
there is really a lot that lloks like such a candidate. for instance everything in theme.c, download.c, contex_menu.c to be examined. there is while lot of functions but a limited number of source files that need to be modified for starters.


Quote
Getting a working build environment would be half the battle.
hmm. where did john mark bell got his m68k-amigaos gcc4.5.1 for btw? i have only 4.5.0 by bernd afair. otherwise i have whole lot of ready includes and libs, also for netsurf.
 

Offline nicholas

Re: We need an iBrowse replacement for 68k!!!
« Reply #50 on: January 29, 2013, 02:41:30 AM »
GCC/G++ v4.5.0 for cross-compiling from Cygwin can be found here:

http://amiga.sourceforge.net/phps/logger.php?download=GCC-4.5.0-m68k-amigaos-cygwin.7z

Inside the archive are patches/instructions for compiling m68k-amigaos versions of GCC/G++.
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #51 on: January 29, 2013, 10:39:07 AM »
i have this one.
 

Offline chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #52 on: January 29, 2013, 12:03:40 PM »
Quote from: wawrzon;724517
there is really a lot that lloks like such a candidate. for instance everything in theme.c, download.c, contex_menu.c to be examined. there is while lot of functions but a limited number of source files that need to be modified for starters.


I can't think of anything in download.c except the notification function.  theme.c has 32-bit mouse pointers, which you're right can be #ifdef'd and disabled.  context_menu.c uses popupmenu.class which can be disabled completely too (unless somebody fancies reworking it to use popupmenu.library on OS3).

Quote

hmm. where did john mark bell got his m68k-amigaos gcc4.5.1 for btw? i have only 4.5.0 by bernd afair. otherwise i have whole lot of ready includes and libs, also for netsurf.


It's downloaded and built from source by the toolchain.  It'll be an even newer version now!
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline danbeaver

Re: We need an iBrowse replacement for 68k!!!
« Reply #53 on: January 29, 2013, 08:35:44 PM »
Wawrzon,

You can't run a "modern browser" on vintage hardware. If you can, show me an example.
« Last Edit: January 30, 2013, 12:03:26 AM by danbeaver »
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #54 on: January 29, 2013, 08:46:08 PM »
http://postimage.org/image/rnfsdgjeb/

config: aros68k, a4k, 060/50, cv64, x-surf.
« Last Edit: January 29, 2013, 08:49:21 PM by wawrzon »
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #55 on: January 29, 2013, 09:46:57 PM »
@chris:

since i believe ill have to define new target first, im now just trying to build only netsurf without the libs. i should have the libs available for the 68k maybe not the latest version, but lets leave that for later. ive disabled all gfx formats for this now.
strangely after regular make i get:
/bin/sh: O2: command not found :
Code: [Select]

$ make TARGET=amiga
M.CONFIG: JPEG (libjpeg)        enabled       (NETSURF_USE_JPEG := YES)
M.CONFIG: JNG/MNG/PNG (libmng)  disabled      (NETSURF_USE_MNG := NO)
M.CONFIG: PDF export (haru)     disabled      (NETSURF_USE_HARU_PDF := NO)
M.CONFIG: glibc internal iconv  enabled       (NETSURF_USE_LIBICONV_PLUG := YES)

M.CONFIG: Sprite (librosprite)  disabled      (NETSURF_USE_ROSPRITE := NO)
M.CONFIG: BMP (libnsbmp)        disabled      (NETSURF_USE_BMP := NO)
M.CONFIG: GIF (libnsgif)        disabled      (NETSURF_USE_GIF := NO)
M.CONFIG: PNG (libpng)  disabled      (NETSURF_USE_PNG := NO)
M.CONFIG: NSSVG (libsvgtiny)    disabled      (NETSURF_USE_NSSVG := NO)
M.CONFIG: Amiga icon    enabled       (NETSURF_USE_AMIGA_ICON := YES)
M.CONFIG: DataTypes     enabled       (NETSURF_USE_AMIGA_DATATYPES := YES)
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml-2.0' found
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
Package libcares was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcares.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcares' found
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openssl' found
Package tre was not found in the pkg-config search path.
Perhaps you should add the directory containing `tre.pc'
to the PKG_CONFIG_PATH environment variable
No package 'tre' found
Package libhubbub was not found in the pkg-config search path.
Perhaps you should add the directory containing `libhubbub.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libhubbub' found
Package libcss was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcss.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcss' found
 COMPILE: utils/utils.c
/bin/sh: O2: command not found
Makefile:600: recipe for target `build-CYGWIN_NT_5_1-amiga/deps/utils_utils.d' f
ailed
make: [build-CYGWIN_NT_5_1-amiga/deps/utils_utils.d] Error 127 (ignored)
 COMPILE: utils/utf8.c
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #56 on: January 29, 2013, 11:22:08 PM »
Hiya,

I was getting the same kinds of issues when I was trying to build it under Cygwin, it seems that it wants the .pc files (I hate makefiles BTW).
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #57 on: January 29, 2013, 11:28:24 PM »
Quote from: wawrzon;724604
@chris:

since i believe ill have to define new target first, im now just trying to build only netsurf without the libs. i should have the libs available for the 68k maybe not the latest version, but lets leave that for later. ive disabled all gfx formats for this now.


The correct target is "amigaos3".  This already exists, there's nothing new to define.

Don't try to build without the libs, you'll just get a load of pkg-config errors as you've just seen.  You need to build, in roughly this order:

libnsbmp
libnsgif
libwapcaplet
libparserutils
libhubbub
libcss
libdom

Until you have those building it's not worth even touching the main NetSurf source code.

The instructions for building them is on the wiki page I linked to earlier (you need to check out and install buildsystem, then make the libs, using TARGET=amigaos3)
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #58 on: January 29, 2013, 11:34:09 PM »
Quote from: NovaCoder;724614
Hiya,

I was getting the same kinds of issues when I was trying to build it under Cygwin, it seems that it wants the .pc files (I hate makefiles BTW).


Yeah, it needs to pkg-config files.  I hate makefiles too.

Building the toolchains should deal with this, but I've never tried building them.  I just build NetSurf with TARGET=amiga HOST=amiga, which tricks it into thinking it is building natively - the native build section doesn't have any of the pkg-config crap because it results in cryptic errors that are virtually impossible to isolate, and I never seem to have the correct pkg-config files anyway.

The cross- compilation section is specifically set up for building using the toolchains.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline danbeaver

Re: We need an iBrowse replacement for 68k!!!
« Reply #59 from previous page: January 30, 2013, 12:03:59 AM »
Quote from: wawrzon;724601
http://postimage.org/image/rnfsdgjeb/

config: aros68k, a4k, 060/50, cv64, x-surf.

Nice monitor.