Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #119 on: February 04, 2013, 06:41:06 PM »
Quote from: wawrzon;725323
you want me to mess with the toolchain build?


No; it's binutils which appears to be failing to build.  It's that you need to look at.
"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 #120 on: February 04, 2013, 06:52:02 PM »
Quote from: fishy_fiz;725330
Can someone please point me to sources? I prefer to build offline. Also is there anything netsurf specific within the toolchain I'll need to build? (I build on 68k/os3.x itself rather than cross compiling).

Anything else that people can tell me that might save me some time would be appreciated as well.


Which sources?  NetSurf?  They are all at http://git.netsurf-browser.org
You'll need most of the libraries (libnsgif, libnsbmp, libwapcaplet, libhubbub, libdom, libcss, libparserutils.. think that's all of them)
You need to grab everything using Git unfortunately, as there's no other way to download it.  Don't bother with v2.9, there have been so many changes since then you'd be wasting your time.

You also need to download "buildsystem", which needs to go into a directory called "share" (or you can try "make install" but it could end up anywhere, or nowhere)

Start with libnsgif or libnsbmp, they are single-file libraries which will test if your build environment is working as expected.

You should be able to build them with "make TARGET=amigaos3 BUILD=release PREFIX=/path/to/buildsystem", you might not need the target bit but the makefiles expect AmigaOS to be AmigaOS 4, so it could potentially cause problems without it.

Please read the "getting started coding" page on the wiki http://wiki.netsurf-browser.org
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline fishy_fiz

  • Hero Member
  • *****
  • Join Date: Jan 2005
  • Posts: 1813
    • Show only replies by fishy_fiz
Re: We need an iBrowse replacement for 68k!!!
« Reply #121 on: February 04, 2013, 07:02:11 PM »
Bummer, I was hoping to be able to download a source archive. I wont use git, so I guess I'll have to let someone else build it. Thanks anyway.
Near as I can tell this is where I write something under the guise of being innocuous, but really its a pot shot at another persons/peoples choice of Amiga based systems. Unfortunately only I cant see how transparent and petty it makes me look.
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #122 on: February 04, 2013, 07:35:16 PM »
Quote from: fishy_fiz;725337
Bummer, I was hoping to be able to download a source archive. I wont use git, so I guess I'll have to let someone else build it. Thanks anyway.

i dont understand whats wrong with git. if i was able to check out the sources in an instant both under cygwin, but also under ubuntu, then everybody is. one needs a linux derivate compiling environment anyway.
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #123 on: February 04, 2013, 07:57:23 PM »
Quote from: chris;725332
No; it's binutils which appears to be failing to build.  It's that you need to look at.

maybe it was something the patch was correcting, some diff between 2.14 and 2.19.1..

could someone indeed add a "clean" option to the makefile? when i restart make at this point i constantly get:
mv: cannot move `gcc-4.5.1' to `/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/gcc/gcc-4.5.1': Directory not empty

and i have to mess with dirs by hand..
 

Offline wodan

  • Newbie
  • *
  • Join Date: Sep 2011
  • Posts: 8
    • Show only replies by wodan
Re: We need an iBrowse replacement for 68k!!!
« Reply #124 on: February 04, 2013, 08:46:07 PM »
just delete the entire builddir directory, and it will unpack and patch all over again.
However as all amiga compilers i have downloaded in the last 10 years used really old binutils, I guess you really need 2.14, no idea how to get that from svn though.
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #125 on: February 04, 2013, 08:59:25 PM »
Quote

just delete the entire builddir directory, and it will unpack and patch all over again.

yeah, figured that out, but im completely inexperienced with linux, and fear to mess something really hard. i ive done just a second ago. grrr.
Quote

However as all amiga compilers i have downloaded in the last 10 years used really old binutils, I guess you really need 2.14, no idea how to get that from svn though.

im trying to use 2.19.1 one originally mentioned here. its all patched to amiga, likely nothing else will work. and the amiga exclusive files even in os4 tree seem even to origiate from 68k. 1998 or so...
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #126 on: February 04, 2013, 09:39:43 PM »
most annoying is finding out the correct syntax for all that makefile comandes like svn and stuff.
if i had it all locally and had not to connect to repos all would go faster of course.
 

Offline apj

Re: We need an iBrowse replacement for 68k!!!
« Reply #127 on: February 05, 2013, 12:21:37 AM »
compiling this was pain in the ass,
when something went wrong it started from the begining.
you can use make -i to ignore errors and see how far you will go

mine "before-merge-with-binutils-2.18" :
https://www.dropbox.com/s/drxurxl43n774ge/binutils.7z

whole build:
https://www.dropbox.com/s/65y3n9gxlzn207i/cross.7z

Offline chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #128 on: February 05, 2013, 12:34:19 AM »
Quote from: fishy_fiz;725337
Bummer, I was hoping to be able to download a source archive. I wont use git, so I guess I'll have to let someone else build it. Thanks anyway.


When v3.0 is released source archives will be available for download.  The 2.9 ones are available now, but as I say it's not worthwhile working with those as 3.0 will be released in the next 2-3 months.
"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 #129 on: February 05, 2013, 02:43:51 PM »
Quote from: apj;725376
compiling this was pain in the ass,
when something went wrong it started from the begining.
you can use make -i to ignore errors and see how far you will go

mine "before-merge-with-binutils-2.18" :
https://www.dropbox.com/s/drxurxl43n774ge/binutils.7z

whole build:
https://www.dropbox.com/s/65y3n9gxlzn207i/cross.7z


thanks will have another stab at it today. will see your makefile for comparison.
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #130 on: February 06, 2013, 06:35:11 PM »
artur, can you send me the makefile for comparison?
 

Offline apj

Re: We need an iBrowse replacement for 68k!!!
« Reply #131 on: February 07, 2013, 09:36:34 AM »
sent

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #132 on: February 07, 2013, 11:57:39 AM »
thanks. looks like you ve left all untouched. okay so just copied binutils to sources dir as binutils-2.14
still after the makefile copied it to /builddir/srcdir/binutils/ complains about denied permission.


Code: [Select]

cp -r /home/huhu/toolchains/m68k-unknown-amigaos/sources/binutils-2.14 /home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils
for p in `ls /home/huhu/toolchains/m68k-unknown-amigaos/recipes/patches/binutils/*.p` ; do patch -d /home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils -p0 <$p ; done
patching file gas/app.c
touch /home/huhu/toolchains/m68k-unknown-amigaos/builddir/build-steps/binutils-srcdir.d
mkdir -p /home/huhu/toolchains/m68k-unknown-amigaos/builddir/binutils
cd /home/huhu/toolchains/m68k-unknown-amigaos/builddir/binutils && CFLAGS=&quot;-m32&quot; LDFLAGS=&quot;-m32&quot; /home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/configure --prefix=/opt/netsurf/m68k-unknown-amigaos/cross --target=m68k-unknown-amigaos --disable-nls
/bin/sh: 1: /home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/configure: Permission denied
make: *** [/home/huhu/toolchains/m68k-unknown-amigaos/builddir/build-steps/binutils.d] Error 126
make: Leaving directory `/home/huhu/toolchains/m68k-unknown-amigaos'
huhu@huhu:~/toolchains$
 

Offline chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #133 on: February 07, 2013, 01:47:11 PM »
Quote from: wawrzon;725655
thanks. looks like you ve left all untouched. okay so just copied binutils to sources dir as binutils-2.14
still after the makefile copied it to /builddir/srcdir/binutils/ complains about denied permission.


chmod 755 /home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/configure
"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 #134 from previous page: February 07, 2013, 03:11:24 PM »
thanks, suspected something like that. coming a little further now.