Re: [Freedos-user] Desmet C 3 archived and put on Github

2017-11-14 Thread Rugxulo
Hi again,

On Thu, Nov 9, 2017 at 9:34 PM, Random Liegh via Freedos-user
 wrote:
>
> I think I have figured out what goes where, though I'm not sure.

I've only scratched the surface of reading the manual (which is 400+ pages).

> I've only done a quick "hello world" test, but it looks like it works **if
> you stay in the same directory.**

The manual implies that it can also find auxiliary binaries (ASM88,
GEN) in your %PATH%.

> Doing "c88 -I " didn't seem to work.

You can set %DSINC% or %INCLUDE% as well. BTW, it seems options come
after the filename, e.g. "C88 myfile.c -Ic:\whatever\" (with mandatory
backslash).

So you have to use "-b" (and BBIND) for Large model.

(Not to mention a bunch of other utils and separate libs [*.S] for
software and hardware floating point.)

> Anyway, here's desmet c with a tiny install (just the programs), a complete
> install (with sources etc) and the 10 meg pdf manual:
>
> May work, may not ...but at least it should be easier to test!

The main question is how much is bootstrappable. Do we also need MASM
for anything? Can the libs and utils be reliably rebuilt, byte-exact,
to their existing versions? And we should probably focus on "latest"
3.1N with as many ANSI headers as are available (11?).

So, for the main binaries: C88, ASM88, GEN, BIND and BBIND, LIB88 (but
ignore D88, SEE, TOOBJ, PCMAKE, LATER, MERGE, etc. for now).

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Desmet C 3 archived and put on Github

2017-11-13 Thread Rugxulo
Hi,

Thanks for the help. Anything with lots of files needs special
attention (esp. due to licensing).

On Thu, Nov 9, 2017 at 9:34 PM, Random Liegh via Freedos-user
 wrote:
>
> I think I have figured out what goes where, though I'm not sure.
>
> I've only done a quick "hello world" test, but it looks like it works **if
> you stay in the same directory.**
>
> Doing "c88 -I " didn't seem to work.

IIRC, BUGS!.EXE is just a sample old game (that runs too fast to be
playable) but without sources.

Similarly, while RAM.COM has source, it doesn't run under FreeDOS
(AFAIK), probably relying on old, hardcoded MS-DOS guts.

The timestamps have all been touched. In a perfect world, especially
since this is GPL, we'd rebuild it ourselves to verify that source
matches binaries. Someone might incorrectly assume that's already been
done if all files are recently dated.

> Anyway, here's desmet c with a tiny install (just the programs), a complete
> install (with sources etc) and the 10 meg pdf manual:

BTW, obviously PDF is not well-supported in DOS, but there are a few
workable tools. If this manual has been OCR'd, maybe it won't
auto-translate, but otherwise we should run XPDF's PDFTOTEXT.EXE on
it. (Or at least have a simple tutorial written in plain text. It
shouldn't be hard, considering how simplistic this toolset is ...
famous last words!)

> https://github.com/randomliegh/desmetFD
>
> May work, may not ...but at least it should be easier to test!

I did some minimal testing (again) a few days ago with what .ZIPs I
already had. It does work in the simplest cases, but I didn't try all
the various add-ons and tools (O88, LIB88). IIRC, I only used C88 and
NEWBIND plus a few headers. I'm not sure about some of the other
auxiliary tools.

The nightmare is when tools require several third-party versions to
build, so you end up with redundant dependencies. Ideally, you only
want one specific compiler version (plus one assembler, one linker,
etc.) for any single project. This problem is unfortunately more
common than you'd think.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Desmet C 3 archived and put on Github

2017-11-10 Thread Random Liegh via Freedos-user

On 11/10/2017 10:32 AM, Ralf Quint wrote:

On 11/9/2017 7:34 PM, Random Liegh via Freedos-user wrote:

Hi

I think I have figured out what goes where, though I'm not sure.

I've only done a quick "hello world" test, but it looks like it works
**if you stay in the same directory.**

Doing "c88 -I " didn't seem to work.

Anyway, here's desmet c with a tiny install (just the programs), a
complete install (with sources etc) and the 10 meg pdf manual:

https://github.com/randomliegh/desmetFD

May work, may not ...but at least it should be easier to test!

Just to be clear, when I mentioned that I would like to put the compiler
up on GitHub, I meant to do this properly checked in, source file by
source file, not just dumping some ZIP file

Ralf


You still can, if you like.

My main reason for putting that up was to respond to the critique that 
Desmet-C was split into a million zipfiles and too hard to figure out 
what to use and how to get a usable installation set up.


I was originally going to use google drive, but chose to open a github 
instead because it seemed like it would be easier/more direct for 
people, and would also give me room to upload a separate source tree 
later if I decided that was I was going to hack on the source myself.


-Random

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Desmet C 3 archived and put on Github

2017-11-10 Thread Ralf Quint
On 11/9/2017 7:34 PM, Random Liegh via Freedos-user wrote:
> Hi
>
> I think I have figured out what goes where, though I'm not sure.
>
> I've only done a quick "hello world" test, but it looks like it works
> **if you stay in the same directory.**
>
> Doing "c88 -I " didn't seem to work.
>
> Anyway, here's desmet c with a tiny install (just the programs), a
> complete install (with sources etc) and the 10 meg pdf manual:
>
> https://github.com/randomliegh/desmetFD
>
> May work, may not ...but at least it should be easier to test! 
Just to be clear, when I mentioned that I would like to put the compiler
up on GitHub, I meant to do this properly checked in, source file by
source file, not just dumping some ZIP file

Ralf

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user