Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dave Yeo

Pages: 1 ... 268 269 [270] 271 272 ... 321
4036
Programming / Re: Compiling PM app on 2016.
« on: August 14, 2016, 08:01:25 pm »
Added -Wall (turn on all warnings) to the gcc command line, gcc -I. -Wall -Zomf -o sysvals.exe sysvals.c sysvals.def 2>&1 | tee out.txt and lots of warnings, mostly about types not exactly matching.

4037
Programming / Re: Compiling PM app on 2016.
« on: August 14, 2016, 07:43:29 pm »
Good question. I'm not really sure. Might be better to just use the toolkits version of stdlib.h.
I did
Code: [Select]
set C_INCLUDE_PATH=g:/os2tk45/h/libc and tested,
Quote
In file included from sysvals.c:10:0:
g:/os2tk45/h/libc/stdlib.h:545:1: error: stray '\32' in program
In file included from sysvals.c:11:0:
g:/os2tk45/h/libc/string.h:379:1: error: stray '\32' in program
I then removed the CTRL-Z from the tail of the .h files and it compiled fine with only the protmode warning from wlink.
How did RPM/YUM install the toolkit? Mine is an old manual install. Perhaps test by setting the C_INCLUDE_PATH and seeing if the unpatched source compiles and whether the CTRL-Z EOF (end of file) error happens.

4038
Programming / Re: Compiling PM app on 2016.
« on: August 14, 2016, 02:40:51 am »
-I. Note the dot to show the current directory. Ignore the protmode error or remove the line from the DEF file. The other errors might be fixed by the -I. more likely there is a missing library or macro.
Hmm, seems that min and max macros are defined in the toolkits stdlib.h but not in the kLIBC stdlib.h. Not sure about the best way to use the toolkits stdlib.h so simplest to add the macro.
Add
Code: [Select]
#define max(a,b) (((a) > (b)) ? (a) : (b))
#define min(a,b) (((a) < (b)) ? (a) : (b))
to sysvals.c, at about line 14, so you have
Code: [Select]
#include <stdlib.h>
#include <string.h>
#include "sysvals.h"

#define max(a,b) (((a) > (b)) ? (a) : (b))
#define min(a,b) (((a) < (b)) ? (a) : (b))

MRESULT EXPENTRY ClientWndProc (HWND, ULONG, MPARAM, MPARAM) ;
LONG             RtJustCharStringAt (HPS, PPOINTL, LONG, PCHAR) ;
and test.

4039
Programming / Re: Compiling PM app on 2016.
« on: August 13, 2016, 09:17:18 pm »
Try
Code: [Select]
gcc -Ix:/path/to/includes -Zomf -o sysvals.exe sysvals.c sysvals.def 2>&1 | tee out.txt

note that the order might need changing and if the .h file is in the current directory then -I. might be good enough. -I tells gcc where to find the includes (.h files)

4040
Make a bookmark of the 3 tabs, might need to be in a folder. Then go to tools-->options-->general and under Startup-->Home Page click the bookmarks menu and add your bookmark. Or just put your bookmark on the toolbar.

4041
Applications / Re: eCS_Java Apps Pack Final
« on: August 06, 2016, 06:21:41 am »
There's been a few ports of libiconv, both for EMX and kLIBC and OS/2 support was even committed upstream in the EMX days, but generally current programs use the iconv functionality in kLIBC.

4042
Applications / Re: XWorkplace enhancements
« on: August 05, 2016, 05:44:30 pm »
There's always WPS-Wizard,  http://trac.netlabs.org/wps-wizard, open source but needs work. IIRC, based on Cairo, which has had fixes for Mozilla since WPS-Wizard was written.

4043
Setup & Installation / Re: Panorama video driver question
« on: August 04, 2016, 08:11:24 am »
DOS and Win-OS2 run fine here in windows and full screen with Panorama and Intel graphics. Did you upgrade from SNAP? If so there might still be pieces left.

4044
Applications / Re: FF and TB not running at the same time.
« on: August 02, 2016, 12:31:58 am »
Don't use any of Doodles Cairo screensavers. Really they need to be updated to use current Cairo as the early versions of Cairo were buggy.

4045
Article Discussions / Re: App Store Ranting
« on: August 01, 2016, 08:17:40 am »
Just use a script, perhaps
Code: [Select]
yum --cacheonly --quiet --assumeyes install %1
exit
and associate it with .rpm. Assuming RWS is active, it should just work. Without RWS, you should still be able to associate it in the browser.
Can also use start /f to bring the script to the foreground and not use the parameters if you'd rather interact with yum.
Either way, clicking an rpm file should install it.

4046
Programming / Re: Compiling PM app on 2016.
« on: July 30, 2016, 10:07:01 pm »
On top of what Lars posted (good advice), I'd also add this to config.sys
Code: [Select]
SET SHELL=sh.exe
SET EMXSHELL=sh.exe
SET CONFIG_SHELL=sh.exe
SET MAKESHELL=sh.exe
SET EXECSHELL=sh.exe
[code]

4047
Applications / Re: FF and TB not running at the same time.
« on: July 29, 2016, 01:26:14 am »
'tis strange. I run SM and TB and occasionally FF, all with the DLLs (not the ones marked readonly) marked high. I never get crashes when closing them but after a couple of days I'll open a page from TB and the system will reboot itself so I try to make it a habit to reboot every couple of days.
Sometimes I use LIBPATHSTRICT (RUN!L) and sometimes not. Without it calendar needs to be at the same level in SM and TB and FF has to start after, or not having calendar installed, it doesn't matter which order things are started.
Currently after a day of uptime, with both SM and TB loaded, I have 253 MBs of free low memory. I really should be marking some of the DLLs in @UNIXROOT\usr\lib to load high.

I wonder what part of clamd is loaded high and if that could be triggering a problem? Are you relying mail to Win boxes? Otherwise I can't see any point in running clamd, which probably uses resources.

4048
Applications / Re: FF and TB not running at the same time.
« on: July 28, 2016, 04:33:40 pm »
I don't really understand what you are asking me to download. Is it the RUN! exe-file? (that is not a command file) or is it copies of how it is used to start the programs?
Anyway I now have downloaded the 38.8.0 versions of both programs and will (try to) install them in the weekend.

Right click on the program object. Choose properties and copy what is in the Path and file name: field. Here for SeaMonkey,
F:\MOZILLA\SEAMONKEY\SEAMONKEY!LG.EXE

4049
Applications / Re: FF and TB not running at the same time.
« on: July 27, 2016, 04:41:07 pm »
It's the usual trp from mixing different versions of TB and FF, basically a debug breakpoint, see the INT 3 just before the failing NOP under "Failing Instruction"
I know you said it isn't a run! problem but all your errors say otherwise. Please post your run! command that you use for starting the programs.

4050
Article Discussions / Re: Writing bug reports
« on: July 26, 2016, 04:26:06 am »
About bww Bitwise article: Writing bug reports
...
Developers which use gcc/klibc use this toolkit too, since OS/2 gcc still has not a valid debugger and if you see symbol files (.sym/.xqs) or debug (.dbg) ones inside a package, be quite that this package use Exceptq!
Regards

The IBM debuggers work fine with gcc/klibc as long as the appropriate flags are used. Unluckily most of the debuggers aren't freely available. For a free one there is the old IBM Source Debugger, http://hobbes.nmsu.edu/download/pub/os2/dev/util/sd386v50.zip.

Pages: 1 ... 268 269 [270] 271 272 ... 321