Welcome, Guest. Please login or register.

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

Description:

0 Members and 3 Guests are viewing this topic.

Offline chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #104 on: February 02, 2013, 07:39:29 PM »
Quote from: wawrzon;725041
no i use amidevcpp, there was always similar issues in the past, long ago i admit. but ive blamed it on me. sure i can just install pure cygwin. the question is, isnt it better/safer to switch to anything else anyway? jason (aros68k) has once proposed me ubuntu under virtual machine, but i dont want all that bloat that comes with it, only the neccessary dev stuff.


I cross-compile the OS4 version under Cygwin all the time, and it's fine.
"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 #105 on: February 02, 2013, 07:43:03 PM »
another step ahead.
i have installed a fresh independent cygwin on my main machine. so now i can check out binutils. but then i cant patch tem entirely:

Code: [Select]


...
A    sources/binutils-2.19.1/install-sh
A    sources/binutils-2.19.1/ylwrap
 U   sources/binutils-2.19.1
Ausgecheckt, Revision 480.
cp -r /home/wawa/toolchains/m68k-unknown-amigaos/sources/binutils-2.19.1 /home/
awa/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils
for p in `ls /home/wawa/toolchains/m68k-unknown-amigaos/recipes/patches/binutil
/*.p` ; do patch -d /home/wawa/toolchains/m68k-unknown-amigaos/builddir/srcdir/
inutils -p0 <$p ; done
patching file gas/app.c
Hunk #1 FAILED at 1279.
1 out of 1 hunk FAILED -- saving rejects to file gas/app.c.rej
Makefile:148: recipe for target `/home/wawa/toolchains/m68k-unknown-amigaos/bui
ddir/build-steps/binutils-srcdir.d' failed
make: *** [/home/wawa/toolchains/m68k-unknown-amigaos/builddir/build-steps/binu
ils-srcdir.d] Error 1
make: Leaving directory `/home/wawa/toolchains/m68k-unknown-amigaos'

perhaps something wrong with the patch util.
« Last Edit: February 02, 2013, 07:45:53 PM by wawrzon »
 

Offline apj

Re: We need an iBrowse replacement for 68k!!!
« Reply #106 on: February 02, 2013, 08:01:41 PM »
perhaps patch is for version 2.14/18

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #107 on: February 02, 2013, 09:01:01 PM »
likely. now id need to force make over the whole thing, as it exits seeing target dirs existant, and there is no clean option.
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #108 on: February 03, 2013, 10:10:10 PM »
switched to ubuntu on virtual machine for compiling odyssey, so im trying to build netsurf toolchain there too. now im getting so far that it actually starts to compile. now im stuck at:

Code: [Select]

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd -I. -I. -I/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd -I/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -m32 -c /home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c -o amigaos.o
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c: In function 'amiga_handle_cdb_hunk':
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:930:22: error: 'struct bfd_section' has no member named '_cooked_size'
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:930:54: error: 'struct bfd_section' has no member named '_raw_size'
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c: In function 'amiga_write_object_contents':
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:1298:31: error: 'struct bfd_section' has no member named '_raw_size'
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:1298:50: error: 'struct bfd_section' has no member named '_cooked_size'
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:1322:15: error: 'struct bfd_section' has no member named '_raw_size'
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:1339:11: error: 'struct bfd_section' has no member named '_raw_size'
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:1382:12: error: 'struct bfd_section' has no member named '_raw_size'
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:1382:29: error: 'struct bfd_section' has no member named '_cooked_size'
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:1383:9: error: 'struct bfd_section' has no member named '_cooked_size'
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:1391:7: error: 'struct bfd_section' has no member named '_raw_size'
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:1391:26: error: 'struct bfd_section' has no member named '_cooked_size'
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c: In function 'amiga_write_archive_contents':
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:1574:60: error: 'bfd' has no member named 'next'
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c: In function 'amiga_write_section_contents':
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:1733:52: error: 'struct bfd_section' has no member named '_raw_size'
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c: In function 'amiga_set_section_contents':
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:2707:65: error: 'struct bfd_section' has no member named '_raw_size'
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c: At top level:
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:3179:1: error: 'amiga_bfd_copy_private_header_data' undeclared here (not in a function)
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:3182:1: error: 'amiga_canonicalize_symtab' undeclared here (not in a function)
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:3182:1: error: 'amiga_bfd_is_target_special_symbol' undeclared here (not in a function)
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:3182:1: error: 'amiga_find_inliner_info' undeclared here (not in a function)
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:3183:1: error: 'amiga_bfd_reloc_name_lookup' undeclared here (not in a function)
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:3184:3: error: initialization from incompatible pointer type [-Werror]
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:3184:3: error: (near initialization for 'amiga_vec._bfd_set_section_contents') [-Werror]
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:3185:3: error: initialization from incompatible pointer type [-Werror]
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:3185:3: error: (near initialization for 'amiga_vec._bfd_sizeof_headers') [-Werror]
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:3185:1: error: 'amiga_bfd_is_group_section' undeclared here (not in a function)
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:3185:1: error: 'amiga_section_already_linked' undeclared here (not in a function)
/home/huhu/toolchains/m68k-unknown-amigaos/builddir/srcdir/binutils/bfd/amigaos.c:2400:1: error: 'amiga_get_symtab' defined but not used [-Werror=unused-function]
cc1: all warnings being treated as errors
make[5]: *** [amigaos.lo] Error 1
make[5]: Leaving directory `/home/huhu/toolchains/m68k-unknown-amigaos/builddir/binutils/bfd'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/huhu/toolchains/m68k-unknown-amigaos/builddir/binutils/bfd'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/huhu/toolchains/m68k-unknown-amigaos/builddir/binutils/bfd'
make[2]: *** [all-bfd] Error 2
make[2]: Leaving directory `/home/huhu/toolchains/m68k-unknown-amigaos/builddir/binutils'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/huhu/toolchains/m68k-unknown-amigaos/builddir/binutils'
make: *** [/home/huhu/toolchains/m68k-unknown-amigaos/builddir/build-steps/binutils.d] Error 2
make: Leaving directory `/home/huhu/toolchains/m68k-unknown-amigaos'
huhu@huhu:~/toolchains$
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #109 on: February 03, 2013, 11:10:32 PM »
You've got a lot further than I ever managed to, well done :)

Maybe I should have tried it on UBUNTU instead of Cygwin under Windows 7.

Anyway, I still think makefiles suck.
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline EvilGuy

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 186
    • Show only replies by EvilGuy
Re: We need an iBrowse replacement for 68k!!!
« Reply #110 on: February 04, 2013, 01:00:27 AM »
Quote from: wawrzon;725228
switched to ubuntu on virtual machine for compiling odyssey, so im trying to build netsurf toolchain there too. now im getting so far that it actually starts to compile. now im stuck at


Try and get it to building without the -Werror. Then if it builds see how many pieces it breaks into when you run it.

Then go back and see what each of those warnings really means :-)

Quote from: NovaCoder;725242

Anyway, I still think makefiles suck.


Gimme a Makefile over the awful mess that is ant/maven xml files anyday /rant
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #111 on: February 04, 2013, 09:34:28 AM »
these are actual errors, not warnings, so far i see from their content, so it will not builld anyway.
 

Offline chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #112 on: February 04, 2013, 02:57:54 PM »
Quote from: wawrzon;725285
these are actual errors, not warnings, so far i see from their content, so it will not builld anyway.


You probably need to figure out what the bfd_section structure actually has in it.  It might be a simple case of tweaking the variable names.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline a-pexTopic starter

  • Full Member
  • ***
  • Join Date: Aug 2006
  • Posts: 172
    • Show only replies by a-pex
Re: We need an iBrowse replacement for 68k!!!
« Reply #113 on: February 04, 2013, 04:00:25 PM »
I am still believing, but now I also start understanding...
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: We need an iBrowse replacement for 68k!!!
« Reply #114 on: February 04, 2013, 04:20:15 PM »
Quote from: NovaCoder;725242

Anyway, I still think makefiles suck.


I agree makefiles suck.  I hate them.  I would much rather use a normal AmigaDOS script to handle all the compiling.

I use makefiles because I "inherited" them from the C compiler industry.

I am not sure why you hate makefiles.  You might only hate them because you were given sucky makefiles with no CLEAN option?

Or maybe you are like me and hate them because they are all different from one compiler to another?
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline LoadWB

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
    • Show only replies by LoadWB
Re: We need an iBrowse replacement for 68k!!!
« Reply #115 on: February 04, 2013, 04:36:57 PM »
Quote from: a-pex;725312
I am still believing, but now I also start understanding...


Agreed.  This should be a reference thread for anyone who thinks porting to Amiga can happen over night with the help of unicorn fart powered gnomes.
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #116 on: February 04, 2013, 05:07:40 PM »
Quote from: ChaosLord;725314
sucky makefiles with no CLEAN option


exactly what the make for netsurf toolchain happens to be.

@thread:
can we quit this derivel and stay on topic, please?
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #117 on: February 04, 2013, 05:14:18 PM »
Quote from: chris;725307
You probably need to figure out what the bfd_section structure actually has in it.  It might be a simple case of tweaking the variable names.


you want me to mess with the toolchain build? hell, yeah, let the thing explode in my face. perhaps the make should just be modified to include the last version of everything..

i must say building aros seems much more dependable at the moment, only broken because hidds are being messed with. but the 68k toolchain built all alone as it seems. now awaiting instructions from deadwood to attempt to build odyssey..
 

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 #118 on: February 04, 2013, 06:28:25 PM »
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.

Thanks in advance.
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 chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #119 from previous page: 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