Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #1075 > unrolled thread

Libraries for RISC OS

Started byRobert Heaton <rob@robheaton.co.uk>
First post2011-11-27 15:48 +0000
Last post2011-11-30 09:59 +0000
Articles 12 — 6 participants

Back to article view | Back to comp.sys.acorn.programmer


Contents

  Libraries for RISC OS Robert Heaton <rob@robheaton.co.uk> - 2011-11-27 15:48 +0000
    Re: Libraries for RISC OS Alex Macfarlane Smith <nospam@archifishal.co.uk> - 2011-11-27 17:18 +0000
      Re: Libraries for RISC OS Robert Heaton <rob@robheaton.co.uk> - 2011-11-28 07:37 +0000
    Re: Libraries for RISC OS Ron <beeb@woosh.co.nz> - 2011-11-28 11:04 +1300
      Re: Libraries for RISC OS Robert Heaton <rob@robheaton.co.uk> - 2011-11-28 07:35 +0000
        Re: Libraries for RISC OS Chris Johnson <chrisjohnson+news@spamcop.net> - 2011-11-28 09:23 +0000
          Re: Libraries for RISC OS Robert Heaton <rob@robheaton.co.uk> - 2011-11-28 17:05 +0100
            Re: Libraries for RISC OS Chris Johnson <chrisjohnson+news@spamcop.net> - 2011-11-29 11:49 +0000
    Re: Libraries for RISC OS druck <news@druck.org.uk> - 2011-11-27 22:51 +0000
    Re: Libraries for RISC OS Rik Griffin <nospam@denbridgemarine.com> - 2011-11-28 09:42 +0000
      Re: Libraries for RISC OS Robert Heaton <rob@robheaton.co.uk> - 2011-11-28 17:12 +0100
        Re: Libraries for RISC OS Robert Heaton <rob@robheaton.co.uk> - 2011-11-30 09:59 +0000

#1075 — Libraries for RISC OS

FromRobert Heaton <rob@robheaton.co.uk>
Date2011-11-27 15:48 +0000
SubjectLibraries for RISC OS
Message-ID<d54dc53852.rob@rob.robheaton.co.uk>
Hello,
I am attempting to learn C on RISC OS. (I have the latest C/C++ tools 
from RISC OS Open)

I've started off with recompiling some existing software, basically to 
learn about how the various tools work.

Currently I'm attempting to recompile Zip 2000 to work on the 
BeagleBoard with allignment exceptions turned on.
I've read the notes in the source code archive for Zip 2000, and it 
requires OSLib 6.21, libpng 1.2.0 & zlib 1.1.3.

I've downloaded the latest OSLib, but I can't find a RISC OS port of 
libpng nor zlib. I've checked the websites for each, but can't find 
anything.

Can someone please point me in the right direction?

Many Thanks,
Rob.

[toc] | [next] | [standalone]


#1076

FromAlex Macfarlane Smith <nospam@archifishal.co.uk>
Date2011-11-27 17:18 +0000
Message-ID<4ed270cc$0$294$14726298@news.sunsite.dk>
In reply to#1075
On 27/11/2011 15:48, Robert Heaton wrote:
> Hello,
> I am attempting to learn C on RISC OS. (I have the latest C/C++ tools
> from RISC OS Open)
>
> I've started off with recompiling some existing software, basically to
> learn about how the various tools work.
>
> Currently I'm attempting to recompile Zip 2000 to work on the
> BeagleBoard with allignment exceptions turned on.
> I've read the notes in the source code archive for Zip 2000, and it
> requires OSLib 6.21, libpng 1.2.0&  zlib 1.1.3.
>
> I've downloaded the latest OSLib, but I can't find a RISC OS port of
> libpng nor zlib. I've checked the websites for each, but can't find
> anything.
>
> Can someone please point me in the right direction?
>
> Many Thanks,
> Rob.

I suspect you might have to download the original sources and then 
fiddle with configure scripts etc. which isn't really much about 
learning C :)

Or check out:

http://www.riscos.info/packages/LibraryDetails.html#ZLib1g-Dev
http://www.riscos.info/packages/LibraryDetails.html#libpng12-dev

which you might have some luck with, but those are GCC-built rather than 
AcornC/C++.

Lib/zlib is mentioned here though - 
http://www.riscosopen.org/content/downloads/risc-os-tarballs/component-list 
, so downloading the relevant source archive may be of help in that respect.

Alex.

[toc] | [prev] | [next] | [standalone]


#1082

FromRobert Heaton <rob@robheaton.co.uk>
Date2011-11-28 07:37 +0000
Message-ID<09301c3952.rob@rob.robheaton.co.uk>
In reply to#1076
In message <4ed270cc$0$294$14726298@news.sunsite.dk>
          Alex Macfarlane Smith <nospam@archifishal.co.uk> wrote:



> I suspect you might have to download the original sources and then
> fiddle with configure scripts etc. which isn't really much about
> learning C :)

> Or check out:

> http://www.riscos.info/packages/LibraryDetails.html#ZLib1g-Dev
> http://www.riscos.info/packages/LibraryDetails.html#libpng12-dev

> which you might have some luck with, but those are GCC-built rather than
> AcornC/C++.

> Lib/zlib is mentioned here though -
> http://www.riscosopen.org/content/downloads/risc-os-tarballs/component-list
> , so downloading the relevant source archive may be of help in that respect.

Thanks for the links Alex,
I did have a look on www.riscos.info however when I searched for zlib, 
I only got 1 result for 'Using GCCSDK'

I'll have a look at them!

Cheers,
Rob.


[toc] | [prev] | [next] | [standalone]


#1078

FromRon <beeb@woosh.co.nz>
Date2011-11-28 11:04 +1300
Message-ID<6ab0e73852.beeb@ron1954.woosh.co.nz>
In reply to#1075
In message <d54dc53852.rob@rob.robheaton.co.uk>
          Robert Heaton <rob@robheaton.co.uk> wrote:

> Hello,
> I am attempting to learn C on RISC OS. (I have the latest C/C++ tools 
> from RISC OS Open)
> 
> I've started off with recompiling some existing software, basically to 
> learn about how the various tools work.
> 
> Currently I'm attempting to recompile Zip 2000 to work on the 
> BeagleBoard with allignment exceptions turned on.
> I've read the notes in the source code archive for Zip 2000, and it 
> requires OSLib 6.21, libpng 1.2.0 & zlib 1.1.3.
> 
> I've downloaded the latest OSLib, but I can't find a RISC OS port of 
> libpng nor zlib. I've checked the websites for each, but can't find 
> anything.
> 
> Can someone please point me in the right direction?
> 
> Many Thanks,
> Rob.

Hi Rob, I have been learning with GCC, and it is very common for
libraries to be needed. It is ideal if you can make the libraries
from their sources, though the ones you need are common and may
be available. Have you tried building them?

Ron M. 


 
 

[toc] | [prev] | [next] | [standalone]


#1083

FromRobert Heaton <rob@robheaton.co.uk>
Date2011-11-28 07:35 +0000
Message-ID<b3f21b3952.rob@rob.robheaton.co.uk>
In reply to#1078
In message <6ab0e73852.beeb@ron1954.woosh.co.nz>
          Ron <beeb@woosh.co.nz> wrote:


> Hi Rob, I have been learning with GCC, and it is very common for
> libraries to be needed. It is ideal if you can make the libraries
> from their sources, though the ones you need are common and may
> be available. Have you tried building them?

Hi Ron,
I haven't tried building them, to be honest I didn't think they would 
build! For some reason I was looking for a specific RISC OS version! 
(Not sure why now!)


I'll try building them and post my results back here!

Cheers,
Rob.

[toc] | [prev] | [next] | [standalone]


#1085

FromChris Johnson <chrisjohnson+news@spamcop.net>
Date2011-11-28 09:23 +0000
Message-ID<523925e307chrisjohnson+news@spamcop.net>
In reply to#1083
In article <b3f21b3952.rob@rob.robheaton.co.uk>,
   Robert Heaton <rob@robheaton.co.uk> wrote:
> I'll try building them and post my results back here!

Hi Rob

I managed to build both zlib (1.2.5) and png (1.5.1) a couple of
years back using the Castle/Norcroft compiler. It seemed ok, but I
have never used them in anger, so don't know if there are any issues.

If you want copies to have a play with, let me know. Not sure if it
was compiled BB friendly though.

-- 
Chris Johnson

[toc] | [prev] | [next] | [standalone]


#1086

FromRobert Heaton <rob@robheaton.co.uk>
Date2011-11-28 17:05 +0100
Message-ID<9caf4a3952.rob@rob.robheaton.co.uk>
In reply to#1085
In message <523925e307chrisjohnson+news@spamcop.net>
          Chris Johnson <chrisjohnson+news@spamcop.net> wrote:

> In article <b3f21b3952.rob@rob.robheaton.co.uk>,
>    Robert Heaton <rob@robheaton.co.uk> wrote:
>> I'll try building them and post my results back here!

> Hi Rob

> I managed to build both zlib (1.2.5) and png (1.5.1) a couple of
> years back using the Castle/Norcroft compiler. It seemed ok, but I
> have never used them in anger, so don't know if there are any issues.

> If you want copies to have a play with, let me know. Not sure if it
> was compiled BB friendly though.

Hi Chris,
That would be great if you could send them over!
I'll try them on the BeagleBoard.

Many Thanks!
Rob.

[toc] | [prev] | [next] | [standalone]


#1090

FromChris Johnson <chrisjohnson+news@spamcop.net>
Date2011-11-29 11:49 +0000
Message-ID<5239b71083chrisjohnson+news@spamcop.net>
In reply to#1086
In article <9caf4a3952.rob@rob.robheaton.co.uk>,
   Robert Heaton <rob@robheaton.co.uk> wrote:
> That would be great if you could send them over!
> I'll try them on the BeagleBoard.

Have sent off the two libs (png and zlib) direct. If you have
problems with recompiling (if you need to) I could always recompile
with BB friendly settings.

-- 
Chris Johnson

[toc] | [prev] | [next] | [standalone]


#1080

Fromdruck <news@druck.org.uk>
Date2011-11-27 22:51 +0000
Message-ID<jauesv$ig6$1@dont-email.me>
In reply to#1075
On 27/11/2011 15:48, Robert Heaton wrote:
> I've downloaded the latest OSLib, but I can't find a RISC OS port of
> libpng nor zlib. I've checked the websites for each, but can't find
> anything.
>
> Can someone please point me in the right direction?

http://lmgtfy.com/?q=RISC+OS+libpng
http://lmgtfy.com/?q=RISC+OS+zlib

[toc] | [prev] | [next] | [standalone]


#1084

FromRik Griffin <nospam@denbridgemarine.com>
Date2011-11-28 09:42 +0000
Message-ID<1f9e273952.rik-news@iyonix.elements>
In reply to#1075
In message <d54dc53852.rob@rob.robheaton.co.uk>
          Robert Heaton <rob@robheaton.co.uk> wrote:

> I've downloaded the latest OSLib, but I can't find a RISC OS port of 
> libpng nor zlib. I've checked the websites for each, but can't find 
> anything.

I've got both of these that'll compile with Acorn C, drop me an email if
you want a copy.

-- 
Rik Griffin
Standard disclaimer, not speaking for anyone but myself, blah blah
(Reply-To may be broken: use rik dot griffin at denbridge marine dot com)

[toc] | [prev] | [next] | [standalone]


#1087

FromRobert Heaton <rob@robheaton.co.uk>
Date2011-11-28 17:12 +0100
Message-ID<97444b3952.rob@rob.robheaton.co.uk>
In reply to#1084
In message <1f9e273952.rik-news@iyonix.elements>
          Rik Griffin <nospam@denbridgemarine.com> wrote:

> In message <d54dc53852.rob@rob.robheaton.co.uk>
>           Robert Heaton <rob@robheaton.co.uk> wrote:

>> I've downloaded the latest OSLib, but I can't find a RISC OS port of
>> libpng nor zlib. I've checked the websites for each, but can't find
>> anything.

> I've got both of these that'll compile with Acorn C, drop me an email if
> you want a copy.

Hi Rik,
If you could send them over, that would be great!

Thanks,
Rob.

[toc] | [prev] | [next] | [standalone]


#1105

FromRobert Heaton <rob@robheaton.co.uk>
Date2011-11-30 09:59 +0000
Message-ID<29d4303a52.rob@rob.robheaton.co.uk>
In reply to#1087
Thanks to Rik Griffin & Chris Johnson, I have sucessfully compiled 
zlib and libpng on the BeagleBoard.

Cheers Guys!
Rob.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.acorn.programmer


csiph-web