Search found 96 matches

by softwarefailure
Sun Dec 08, 2019 4:30 pm
Forum: General Developer Support
Topic: Is it possible to use libpng et al. in a clib2 project?
Replies: 4
Views: 1280

Re: Is it possible to use libpng et al. in a clib2 project?

nbache wrote:Actually, z.library is part of (delivered and maintained with) the OS.
Right, but unfortunately, this is actually rather small. The lion's share is taken up by libpng and libjpeg and those don't seem to be available as shared libraries.
by softwarefailure
Sun Dec 08, 2019 2:44 pm
Forum: General Developer Support
Topic: Is it possible to use libpng et al. in a clib2 project?
Replies: 4
Views: 1280

Re: Is it possible to use libpng et al. in a clib2 project?

That's too bad. If it had been possible I would have been able to reduce executable size by 1 MB like on MorphOS where we have shared libraries like jfif.library, z.library and png.library that are part of the OS.
by softwarefailure
Fri Nov 29, 2019 5:01 pm
Forum: General Developer Support
Topic: Is it possible to use libpng et al. in a clib2 project?
Replies: 4
Views: 1280

Is it possible to use libpng et al. in a clib2 project?

I have a clib2 project. To reduce its executable size I'd like my project to dynamically use SOBJS:libpng.so instead of statically linking it against libpng. Is this possible? Or can those shared objects only be used in newlib projects? Specifically, I'm looking to use libpng.so, libjpeg.so, and lib...
by softwarefailure
Sat Jun 22, 2019 12:07 pm
Forum: General Developer Support
Topic: SystemTagList() inconsistency
Replies: 3
Views: 1005

SystemTagList() inconsistency

Consider the following code: SystemTags("echo hello", SYS_Output, 0, SYS_Input, 0, SYS_Asynch, TRUE, SYS_UserShell, TRUE, NP_StackSize, 32768, NP_Priority, 0, NP_Path, 0, TAG_DONE); On AmigaOS 3 and MorphOS this will print "hello" to the host program's stdout. On AmigaOS 4, however, nothing will be ...
by softwarefailure
Mon Dec 24, 2018 12:46 pm
Forum: General Developer Support
Topic: Serial device: set DTR and RTS status bits
Replies: 1
Views: 835

Serial device: set DTR and RTS status bits

So I can query the states of the DTR and RTS status bits using SDCMD_QUERY on serial.device but is it also possible to set/clear the states of those bits? I don't see anything in RKRM or autodocs... anyone on here who can tell more? Tks & merry Xmas!
by softwarefailure
Sat Mar 24, 2018 10:06 pm
Forum: General Developer Support
Topic: Do we have a C++11 compatible compiler for OS4?
Replies: 4
Views: 1493

Re: Do we have a C++11 compatible compiler for OS4?

No, it's a wide char issue. Seems like the OS4 gcc doesn't support wide chars at all. Let's hope they can fix it.

See here:
https://github.com/sba1/adtools/issues/46
by softwarefailure
Sat Mar 24, 2018 1:09 pm
Forum: General AmigaOS
Topic: How to disable APPDIR:?
Replies: 2
Views: 1375

How to disable APPDIR:?

I had some very strange behaviour until I noticed that this was caused by the new APPDIR: feature which I didn't know about. Is there any way to disable it? I've currently saved an empty file as ENVARC:APPDIR to make it go away but of course that is a rather brute force solution. Maybe there is a mo...
by softwarefailure
Fri Mar 23, 2018 3:32 pm
Forum: General Developer Support
Topic: Do we have a C++11 compatible compiler for OS4?
Replies: 4
Views: 1493

Re: Do we have a C++11 compatible compiler for OS4?

Thanks. I don't need threads or dynamic linking so it should be fine. Unfortunately, it doesn't work. I tried both the oldest (18/02/17) and latest (29/01/18) of the packages from your link but they both don't work. Here is what I get: In file included from /dh1/Programmieren/adtools-os4-20170218-37...
by softwarefailure
Thu Mar 22, 2018 9:42 pm
Forum: General AmigaOS
Topic: Delete all files but keep subdirectories
Replies: 12
Views: 3132

Re: Delete all files but keep subdirectories

MorphOS team says it's not allowed to use non-ixemul programs in makefiles so I'm now doing find dir1 -type f -maxdepth 1 -exec rm -f {} \; find dir2 -type f -maxdepth 1 -exec rm -f {} \; find dir3 -type f -maxdepth 1 -exec rm -f {} \; instead. On OS4 I can probably use the version suggested by broa...
by softwarefailure
Thu Mar 22, 2018 4:08 pm
Forum: General AmigaOS
Topic: Delete all files but keep subdirectories
Replies: 12
Views: 3132

Re: Delete all files but keep subdirectories

@broadblues: Thanks, this works fine from a shell on MorphOS but it doesn't work from a makefile. When doing something like this: clean: list files LFORMAT "DELETE %s%s" dir1 TO PIPE:mypipe | execute PIPE:mypipe list files LFORMAT "DELETE %s%s" dir2 TO PIPE:mypipe | execute PIPE:mypipe list files LF...