Welcome, Guest. Please login or register.

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

Description:

0 Members and 3 Guests are viewing this topic.

Offline trip6

  • Sr. Member
  • ****
  • Join Date: Jun 2007
  • Posts: 348
    • Show only replies by trip6
Re: We need an iBrowse replacement for 68k!!!
« Reply #74 on: January 31, 2013, 12:11:49 AM »
Wasn't someone working on a Mozilla\Firefox port for classic amiga or is that dead now?
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #75 on: January 31, 2013, 12:28:58 AM »
Quote from: trip6;724735
Wasn't someone working on a Mozilla\Firefox port for classic amiga or is that dead now?

who cares? if anything is too heavy for amiga then firefox. you might check that os4 hardware has problems to run it.
« Last Edit: January 31, 2013, 12:32:49 AM by wawrzon »
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #76 on: January 31, 2013, 06:37:15 PM »
Quote from: wawrzon;724734
no my win account isnt called netsurf. in fact i must look first what its called. never cared about accounts, neither under cygwin/devccp. as you see its located in home/netsurf, account directory is missing. this is likely the problem. will have to see how to create account under cygwin and adjust the dir tree. i understand i have to create dir/account matching the win login.

okay, this assmption seems to be right. making some progress on building toolchain process. fingers crossed.
 

Offline utri007

Re: We need an iBrowse replacement for 68k!!!
« Reply #77 on: January 31, 2013, 06:42:52 PM »
Good luck. :) and thanks for a patience.
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #78 on: January 31, 2013, 07:11:35 PM »
@chris & whoever can help:

now i hsitate how to react to that:

Code: [Select]
(Stripping trailing CRs from patch.)
patching file gcc/config.gcc
Reversed (or previously applied) patch detected!  Assume -R? [n]
any suggestions? shall i go with defaults?

p.s. perhaps i have i have to move the whole thing to my main i7 machine. this p4 notebook is so slow.. still i can take it out and see some people while working on it. i sit in my studio the whole day otherwise.
« Last Edit: January 31, 2013, 07:14:35 PM by wawrzon »
 

Offline apj

Re: We need an iBrowse replacement for 68k!!!
« Reply #79 on: January 31, 2013, 09:03:12 PM »
you are probably compilling the sources another time so a patch has been already applied.
if you press 'y' or 'n'  there won't be diffrence.(i think) i had this message too.

Note that this toolchaing uses clib.
Using libs build with ixemul gives many undefined references to _ctype and _sF.

I have asked Bernd Roesh for help and this is his answer:

" clib is very buggy and slow,

you need ixemul because it have a faster mem allocator as the default amiga
firstfit mem allocator system.
you can see how slow other libs get, when you test ixemul poolmem.library . this use not the own cache buddy allocator memallocator in ixemul and use amiga mem alloc as clib2 or libnix do.

netsurf begin then to crawl and get slower and slower due to mem fragmentation

all programs that use very often mem allocation, do work bad with amiga default mem allocator. so ixemul is need."

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #80 on: February 01, 2013, 01:24:28 AM »
Ok, started again, now using Arti's SDL workspace with AmiDevCpp IDE, so far so good.  The Cygwin install that comes with AmiDevCpp is completely broken BTW (works fine when using the AmiDevCpp IDE of course).

Manage to start compiling the files under the 'amigaos3' folder.

One problem I had was with the CURL includes.

This wasn't working:

/* Data type definition of curl_socklen_t. */
typedef CURL_TYPEOF_CURL_SOCKLEN_T curl_socklen_t;

Because socklen_t was not defined in (seems to be defined in AROS and OS4).

To fix it I had to do this:

Code: [Select]

// NOVA_CODER - not in <sys/socket.h>
typedef int socklen_t;

Is that correct or should it be an unsigned long?

Or have I just completely stuffed it up :)
« Last Edit: February 01, 2013, 03:27:00 AM by NovaCoder »
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #81 on: February 01, 2013, 02:32:07 AM »
Quote from: apj;724848
clib is very buggy and slow,

this is bernds mantra, but he may have some point. i have suspicion that amiga mem alloc is really not that great. i think it might be at least one of factors that make compiling or on 68k so slow (i hope aros will improve on this). but many sdl apps linked with ixemul are slow too in comparison. i would try both, especially that if is only two functions that are immediately missing. i suspect there will be more of that though.
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #82 on: February 01, 2013, 02:36:16 AM »
Quote from: NovaCoder;724870
Ok, started again, now using Arti's SDL workspace with AmiDevCpp IDE, so far so good.  The Cygwin install that comes with AmiDevCpp is completely broken BTW (works fine when using the AmiDevCpp IDE of course).

Manage to compile all of the files under the 'amigaos3' folder.

One problem I had was with the CURL includes.

This wasn't working:

/* Data type definition of curl_socklen_t. */
typedef CURL_TYPEOF_CURL_SOCKLEN_T curl_socklen_t;

Because socklen_t was not defined in (seems to be defined in AROS and OS4).

To fix it I had to do this:

Code: [Select]

// NOVA_CODER - not in <sys/socket.h>
typedef int socklen_t;

Is that correct or should it be an unsigned long?

Or have I just completely stuffed it up :)

if its included with aros, then try too look up afa includes for starters, perhaps its available there. i mean we can try to build against aros68k, but we will likely need some assistance from aros team in this case, and it may not give us perfectly working aga at this time anyway.

edit: ah, what header is it in? im not that far to bother with that myself, y know.
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #83 on: February 01, 2013, 02:56:10 AM »
This one ->

AROS declares it as '__uint32_t'
« Last Edit: February 01, 2013, 03:09:33 AM by NovaCoder »
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #84 on: February 01, 2013, 03:26:16 AM »
Now the problem is with building 'font_freetype.c', it needs a system include called 'ft2build.h' but I don't have it?

Looks like I need to have a build of FreeType installed.
« Last Edit: February 01, 2013, 03:33:37 AM by NovaCoder »
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline yakumo9275

  • Sr. Member
  • ****
  • Join Date: Jun 2008
  • Posts: 301
    • Show only replies by yakumo9275
    • http://mega-tokyo.com/blog
Re: We need an iBrowse replacement for 68k!!!
« Reply #85 on: February 01, 2013, 03:34:29 AM »
thats from the freetype2 library. do you have the freetype2 libs/headers installed?
--/\\-[ Stu ]-/\\--
Commodore 128DCR, JiffyDOS, Ultimate 1541 II, uIEC/SD, CBM 1902A  Monitor
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #86 on: February 01, 2013, 03:47:56 AM »
Installed 68k freetype from AmiNet (v2.3.8), that fixed the missing include problem.

New problem with 'font_freetype.c'

Code: [Select]
/* initialise font handling */
bool fb_font_init(void)
{
        FT_Error error;
        FT_ULong max_cache_size;
        FT_UInt max_faces = 6;
fb_faceid_t *fb_face;

        /* freetype library initialise */
        error = FT_Init_FreeType( &library );
        if (error) {
                LOG((&quot;Freetype could not initialised (code %d)\n&quot;, error));
                return false;
        }

        /* set the Glyph cache size up */
        max_cache_size = nsoption_charp(fb_font_cachesize) * 1024;


Compiler: m68k-Amiga-OS3
Building Makefile: "C:\CrossCompiler\AmiDevCpp\workspaces\netsurf\netsurf\Makefile.win"
Executing  make...
mingw32-make.exe -f "C:\CrossCompiler\AmiDevCpp\workspaces\netsurf\netsurf\Makefile.win" amigaos3/font_freetype.o
m68k-amigaos-gcc.exe -c amigaos3/font_freetype.c -o amigaos3/font_freetype.o -I"C:/CrossCompiler/AmiDevCpp/usr/local/amiga/m68k-amigaos/sys-include" -I"C:/CrossCompiler/AmiDevCpp/workspaces/netsurf/netsurf" -I"C:/CrossCompiler/AmiDevCpp/workspaces/netsurf/include" -I"C:/CrossCompiler/AmiDevCpp/workspaces/netsurf/share/include"    -noixemul

amigaos3/font_freetype.c: In function `fb_font_init':
amigaos3/font_freetype.c:177: error: structure has no member named `fb_font_cachesize'
amigaos3/font_freetype.c:204: error: structure has no member named `fb_face_sans_serif'

 
In other words this line:

Code: [Select]
       max_cache_size = nsoption_charp(fb_font_cachesize) * 1024;
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #87 on: February 01, 2013, 03:50:54 PM »
@novacoder
i think its wrong or obsolete version of the header in question.
 

Offline chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #88 on: February 01, 2013, 04:24:08 PM »
Quote from: NovaCoder;724880
Code: [Select]
       max_cache_size = nsoption_charp(fb_font_cachesize) * 1024;

fb_font_cachesize must be missing from options.h, or not being included, or something.  The platform's options.h is usually included by desktop/options.h (it's the only place where core headers need to be modified to add a new platform)
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline apj

Re: We need an iBrowse replacement for 68k!!!
« Reply #89 from previous page: February 01, 2013, 05:01:07 PM »
add

#elif defined(nsamigaos3)
#include "amigaos3/options.h"

to desktop/options.h