Re: [Freedos-user] GNU Cobol on the FreeDOS ....

2024-02-25 Thread Everaldo Bernardo Cunha via Freedos-user

I forgot to send the link to the discuss:

https://sourceforge.net/p/gnucobol/discussion/cobol/thread/bf585faa58/?limit=50=1=IwAR16V8x43tgU4OSfEs7gsaFtxP3xD7VsTT94PQtjgq2NctVXKQnBbXPGWgM

If you can help me, I would appreciate it.


Everaldo



Em 24/02/2024 14:12, Louis Santillan via Freedos-user escreveu:
If you’re ok with a Linux cross compiler, you can add “cobol” here 
(https://github.com/andrewwutw/build-djgpp/blob/master/script/common-settings#L6) 
and then build on a Linux box.  Have you tried that?


In Fedora I did,
# sudo dnf install g++ gcc unzip bison flex make texinfo patch 
zlib-devel curl wget perl-File-Compare automake

# DJGPP_PREFIX=`pwd` time -p bash build-djgpp.sh 12.1.0



___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol on the FreeDOS ....

2024-02-24 Thread Everaldo Bernardo Cunha via Freedos-user
It's good to know that someone managed to get gnu cobol working on 
FreeDOS... I figured I was the only one trying this project! I used 
Debian 12 LXqt, DJGPP and ran it within FreeDOS installed on DOSBOX, but 
errors are occurring when running the tool... can you help me?



Everaldo



Em 24/02/2024 14:12, Louis Santillan via Freedos-user escreveu:
If you’re ok with a Linux cross compiler, you can add “cobol” here 
(https://github.com/andrewwutw/build-djgpp/blob/master/script/common-settings#L6) 
and then build on a Linux box.  Have you tried that?


In Fedora I did,Invoking:  cobc -gxj --conf=thecopy.con hello.cob
In file included from c:/devel3/include/libcob.h:29,
 from hello.c:10:
c:/devel3/include/libcob/common.h:779:10: fatal error: exception.def: No such file or directory (ENOENT)
  779 | #include "exception.def"/* located and installed next to common.h */
  |  ^~~
compilation terminated.
Returning: 1
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol on the FreeDOS ....

2024-02-24 Thread Louis Santillan via Freedos-user
If you’re ok with a Linux cross compiler, you can add “cobol” here (
https://github.com/andrewwutw/build-djgpp/blob/master/script/common-settings#L6)
and then build on a Linux box.  Have you tried that?

In Fedora I did,
# sudo dnf install g++ gcc unzip bison flex make texinfo patch zlib-devel
curl wget perl-File-Compare automake
# DJGPP_PREFIX=`pwd` time -p bash build-djgpp.sh 12.1.0
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol on the FreeDOS ....

2024-02-24 Thread tsiegel--- via Freedos-user
It would help if you could point to the compiler in question, and give 
some background on what has been done, and what doesn't work.  Don't 
know if you'll get any help even then, but the chance is much better.



On 2/24/2024 3:03 AM, Everaldo Bernardo Cunha via Freedos-user wrote:


Hello! I've been trying to create a GNU Cobol compiler for FreeDOS for 
two years. So far, I have not been successful, Now, I'm trying 
directly from FreeDOS in a virtual machine, DOSBOX Staging... I need 
help from more people to be able to test what I'm doing... can you 
help me? I'll await contact from you ,,,


Everaldo


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] GNU Cobol on the FreeDOS ....

2024-02-23 Thread Everaldo Bernardo Cunha via Freedos-user
Hello! I've been trying to create a GNU Cobol compiler for FreeDOS for two
years. So far, I have not been successful, Now, I'm trying directly from
FreeDOS in a virtual machine, DOSBOX Staging... I need help from more
people to be able to test what I'm doing... can you help me? I'll await
contact from you ,,,

Everaldo
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol in the FreeDOS ...

2022-03-18 Thread Ralf Quint

On 3/18/2022 4:09 AM, Liam Proven wrote:

On Mon, 14 Mar 2022 at 01:10, Everaldo Bernardo Cunha
 wrote:

I would of to install GNU Cobol in the FreeDOS 1.3. Someone here can help me 
that work??? I'm using the FreeDOS in a virtual machine DOSBOX-X, in the Debian 
11.2 LXDE 64 bits ... I'll await future contact.

By the way, in the course of research for an article on free COBOL
compilers, I have found some for DOS. I thought they may be of
interest to you.

3 of them are here:
http://www.manmrk.net/tutorials/cobol/index.htm

More info here:
https://www.thefreecountry.com/compilers/cobol.shtml

COBOL650 as described above can be found here:
http://www-ftp.lip6.fr/pub/pc/garbo/pc/programming/

I hope this helps.

All of those compilers are very limited in their capabilities and are 
pretty much dead. Beside that the manmrk.net site links the mcobol and 
ucobol downloads to the same file (MCOBOL.RAR).


COBOL650 at some point had the greatest potential to be remotely useful, 
but that package is now 32 years old (1990) and the author was 
supposedly dying of aids at the time of release. The source code was 
supposed to be available on an Atlanta BBS of a friend of his, but that 
never saw the light of day and has to be assumed lost...


Ralf



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



___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol in the FreeDOS ...

2022-03-18 Thread Liam Proven
On Mon, 14 Mar 2022 at 01:10, Everaldo Bernardo Cunha
 wrote:
>
> I would of to install GNU Cobol in the FreeDOS 1.3. Someone here can help me 
> that work??? I'm using the FreeDOS in a virtual machine DOSBOX-X, in the 
> Debian 11.2 LXDE 64 bits ... I'll await future contact.

By the way, in the course of research for an article on free COBOL
compilers, I have found some for DOS. I thought they may be of
interest to you.

3 of them are here:
http://www.manmrk.net/tutorials/cobol/index.htm

More info here:
https://www.thefreecountry.com/compilers/cobol.shtml

COBOL650 as described above can be found here:
http://www-ftp.lip6.fr/pub/pc/garbo/pc/programming/

I hope this helps.

-- 
Liam Proven ~ Profile: https://about.me/liamproven
Email: lpro...@cix.co.uk ~ gMail/gTalk/FB: lpro...@gmail.com
Twitter/LinkedIn: lproven ~ Skype: liamproven
UK: (+44) 7939-087884 ~ Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol in the FreeDOS ...

2022-03-15 Thread Travis Siegel


On 3/15/2022 2:58 PM, Robert Riebisch wrote:

Hi Travis,


Is there no longer a gcc toolchain that runs under dos?

There still is.


I know there used to be a version of gcc and it's collective utilities
that ran on dos, because I used to have it installed, many many years
ago, but still.

That's probably DJGPP: http://delorie.com/djgpp/


With that said, it may be possible (certainly not a project for a
beginner) to make the gnu cobol work under dos.

Assuming one can find the said version of the gcc collection, and make
said source work with such an old version of gcc.

Such an old version? GCC 10.x is just one major version off:
https://gcc.gnu.org/

Good to know DJGPP is still holding the line for dos versions of 
development tools from the GNU.  I'd honestly not them since something 
like gcc version 2.73 or something similar, so didn't know version 10.x 
was available.  Now I seriously need to get me a dos machine running again.


Had one, but it got left behind in our most recent move.  Lots of good 
development on that machine too. 



Thanks for the pointers.




___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol in the FreeDOS ...

2022-03-15 Thread dmccunney
On Tue, Mar 15, 2022 at 1:27 PM Liam Proven  wrote:
> On Tue, 15 Mar 2022 at 05:54, dmccunney  wrote:
> >
> > (Just for the record, I don't think it's *possible* to implement .NET
> > under DOS. It assumes a multitasking OS with 32 bit or better
> > architecture.)
>
> You might be surprised. :-)
>
> https://www.hanselman.com/blog/net-everywhere-apparently-also-means-windows-311-and-dos
> https://github.com/MichalStrehovsky/SeeSharpSnake
>
> A Snake game in _8 kB_ of .NET code. But using custom libraries and
 disabling a lot of functionality.

Uh huh.  And what was it *built* on?  Cross-compiling for other
targets is common, Like writing and compiling C code to be run on an
ARM target.

This chap was able to build an 8K C# game that runs in MSDOS.  Neat,
but he didn't *build* it on MSDOS, and I doubt he could.  (And unless
I miss my guess, he's doing static linking and compiling C# to x86
machine code.)

DJ Delorie maintains DJGPP, which ports a GCC toolchain to DOS.  But
it requires at least a 386 processor and various DOS extensions to
work at all.  I suspect DJ might be able to build the Mono code
implementing .NET in  similar fashion, so I partially retract what I
said about the possibility.,

Edvardo wants to implement Gnu COBOL under FreeDOS 1.3.  The bit he
hasn't started is what he will do with it once he has. My assumption
is that he wants to write and compile COBOL code under FreeDOS.

There *were* DOS versions of COBOL back in the day.  If memory serves,
Microsoft had one.  Such things still exist.  About 30 seconds of
Google search yielded two archives containing binaries for what were
claimed to be COBOL implementations/  (One had a README file warning
that it dod not implement ANSI COBOL, and some features from ANSI
COBOL were missing.)  I have not tried to test either, but they
existed. Personally, I'd look for and install an existing DOS COBOL
version that worked back when, rather than trying to reinvent the
wheel and get Gnu COBOL working, unless I wanted to write code that
only Gnu COBOL could successfully build.

Unless otherwise specified, I assume people talking about stuff like
this want the language to be self hosted, and allow them to write and
compile DOS code in whatever language on the DOS machine that is the
target.  An environment that can build DOS code on another machine
that can then be transferred to the target system will be very much a
second choice.
 --
> Liam Proven ~ Profile: https://about.me/liamproven
__
Dennis


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol in the FreeDOS ...

2022-03-15 Thread Aitor Santamaría
Wow.
Impressive, years after.

On Tue, 15 Mar 2022 at 18:27, Liam Proven  wrote:

> On Tue, 15 Mar 2022 at 05:54, dmccunney  wrote:
> >
> > (Just for the record, I don't think it's *possible* to implement .NET
> > under DOS. It assumes a multitasking OS with 32 bit or better
> > architecture.)
>
> You might be surprised. :-)
>
>
> https://www.hanselman.com/blog/net-everywhere-apparently-also-means-windows-311-and-dos
>
> https://github.com/MichalStrehovsky/SeeSharpSnake
>
> A Snake game in _8 kB_ of .NET code. But using custom libraries and
> disabling a lot of functionality.
>
> --
> Liam Proven ~ Profile: https://about.me/liamproven
> Email: lpro...@cix.co.uk ~ gMail/gTalk/FB: lpro...@gmail.com
> Twitter/LinkedIn: lproven ~ Skype: liamproven
> UK: (+44) 7939-087884 ~ Czech [+ WhatsApp/Telegram/Signal]: (+420)
> 702-829-053
>
>
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol in the FreeDOS ...

2022-03-15 Thread Robert Riebisch
Hi Travis,

> Is there no longer a gcc toolchain that runs under dos?

There still is.

> I know there used to be a version of gcc and it's collective utilities 
> that ran on dos, because I used to have it installed, many many years 
> ago, but still.

That's probably DJGPP: http://delorie.com/djgpp/

> With that said, it may be possible (certainly not a project for a 
> beginner) to make the gnu cobol work under dos.
> 
> Assuming one can find the said version of the gcc collection, and make 
> said source work with such an old version of gcc.

Such an old version? GCC 10.x is just one major version off:
https://gcc.gnu.org/

Cheers,
Robert
-- 
  +++ BTTR Software +++
 Home page: https://www.bttr-software.de/
DOS ain't dead: https://www.bttr-software.de/forum/


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol in the FreeDOS ...

2022-03-15 Thread Liam Proven
On Tue, 15 Mar 2022 at 16:02, Everaldo Bernardo Cunha
 wrote:
>
> 01. The version GNU Cobol I use is more recent,ok! And o real FreeDOS
> 1.3 is more recent too.
>
> 02. Doesn't there is version for DOS of GNU Cobol, I'll have to build it
> thru of the sources ...

I guess you did not intend that to go off-list?

Please try to bottom-quote if you can. It makes catching up and
reading whole threads much easier. I already described how to do it on
Gmail in this thread, in a reply to Ralf.

You have not addressed the key question:

Do you want to _develop in GNU Cobol on DOS_ (which will be hard, and
a lot of work)...

Or do you want to develop in GNU Cobol and _run the program that comes
out on DOS_? That will be easier to do.

These are *very* different goals!


--
Liam Proven ~ Profile: https://about.me/liamproven
Email: lpro...@cix.co.uk ~ gMail/gTalk/FB: lpro...@gmail.com
Twitter/LinkedIn: lproven ~ Skype: liamproven
UK: (+44) 7939-087884 ~ Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol in the FreeDOS ...

2022-03-15 Thread Liam Proven
On Tue, 15 Mar 2022 at 05:54, dmccunney  wrote:
>
> (Just for the record, I don't think it's *possible* to implement .NET
> under DOS. It assumes a multitasking OS with 32 bit or better
> architecture.)

You might be surprised. :-)

https://www.hanselman.com/blog/net-everywhere-apparently-also-means-windows-311-and-dos

https://github.com/MichalStrehovsky/SeeSharpSnake

A Snake game in _8 kB_ of .NET code. But using custom libraries and
disabling a lot of functionality.

-- 
Liam Proven ~ Profile: https://about.me/liamproven
Email: lpro...@cix.co.uk ~ gMail/gTalk/FB: lpro...@gmail.com
Twitter/LinkedIn: lproven ~ Skype: liamproven
UK: (+44) 7939-087884 ~ Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol in the FreeDOS ...

2022-03-14 Thread dmccunney
On Mon, Mar 14, 2022 at 1:24 PM Liam Proven  wrote:
> > The main problem is that you will need the whole GCC tool chain for this to 
> > work...
>
> I did not know that GNU COBOL compiled to C when I answered, but yes,
> I agree, ultimately this is the problem.

An approach like this is increasingly common. Micro Focus currently
offers a cross-platform version of Open COBOL.  It works by
transpiling COBOL code to Java. Java is "write once, run anywhere",
and compiles to a tokenized binary actually executed by the Java
runtime on the target system.  The tokenized binary is the same
regardless of the system it was written and compiled on, and can be
run on any system with a current JVM.

Micro Focus also offers a version that transpiles to .NET.  Same
difference - the compiled code is executed by the .NET runtime.  MS
has made .NET open source.  I ran into a chap at a party developing on
a Raspberry PI using C# as the language.  A version of the .NET
runtime is available for the ARM processor used by the Pi., and C#
(and the functional language F#) are built into .NET.  If you have
.NET you can code in them.

(Just for the record, I don't think it's *possible* to implement .NET
under DOS. It assumes a multitasking OS with 32 bit or better
architecture.)
__
Dennis


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol in the FreeDOS ...

2022-03-14 Thread Travis Siegel



On 3/14/2022 1:30 PM, Ralf Quint wrote:

On 3/14/2022 10:22 AM, Liam Proven wrote:

On Mon, 14 Mar 2022 at 18:12, Ralf Quint
The main problem is that you will need the whole GCC tool chain for 
this to work...

I did not know that GNU COBOL compiled to C when I answered, but yes,
I agree, ultimately this is the
problem.



Is there no longer a gcc toolchain that runs under dos?

I know there used to be a version of gcc and it's collective utilities 
that ran on dos, because I used to have it installed, many many years 
ago, but still.


With that said, it may be possible (certainly not a project for a 
beginner) to make the gnu cobol work under dos.


Assuming one can find the said version of the gcc collection, and make 
said source work with such an old version of gcc.






___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol in the FreeDOS ...

2022-03-14 Thread Ralf Quint

On 3/14/2022 10:22 AM, Liam Proven wrote:

On Mon, 14 Mar 2022 at 18:12, Ralf Quint  wrote:


[2] Is there a version of GNU COBOL for DOS? I can't find any mention
of this on Google.

This is the real issue at hand here, and the reason why the OP should
rather contact the GNU COBOL
folks about installing this on DOS (any DOS).

Yes, I agree.


The main problem is that you will need the whole GCC tool chain for this to 
work...

I did not know that GNU COBOL compiled to C when I answered, but yes,
I agree, ultimately this is the
problem.

But a shorter answer, missing the core problem but still answering the
question, is:

No, GNU COBOL does not run on DOS.

The compiler does not run on DOS, the tools the compiler needs don't
run on DOS, and they don't target
DOS either.

What this means is:
Well, there used to be a couple of open source/free COBOL projects that 
kind of got merged into GNU COBOL years ago, when the original authors 
abandoned it. Open COBOL is one of them, there was at least one more, 
though the name back then escapes me right now. And at least one of 
those projects, working the same way, by using a C compiler as a 
backend, was able to use DOS based compilers ((Open)Watcom was one of 
them IIRC), before they all went "the way of the devil".


Thus it would simply an issue that should be taken up with those GNU 
COBOL maintainers, and not a FreeDOS specific one...



Ralf



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



___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol in the FreeDOS ...

2022-03-14 Thread Jim Hall
> On Sun, Mar 13, 2022, 7:10 PM Everaldo Bernardo Cunha  
> wrote:
>>
>>
>> Hello,
>> I would of to install GNU Cobol in the FreeDOS 1.3. Someone here
>> can help me that work??? I'm using the FreeDOS in a virtual machine
>> DOSBOX-X, in the Debian 11.2 LXDE 64 bits ... I'll await future
>> contact.

On Sun, Mar 13, 2022 at 7:45 PM Jim Hall  wrote:
> Do you mean this source code version of GNU COBOL?
> https://savannah.gnu.org/projects/gnucobol
>
> Looks like it's also available at https://sourceforge.net/projects/gnucobol/
>
> There isn't a DOS executable version of this, so this is something you'd need 
> to compile for DOS.
>
> Unless you know of a version that's already been compiled?
>

Evaraldo replied to me off-list, but I think meant to reply to the
conversation. I am re-inserting it here:

> No, I don't know if there is a compiled version... at least, I've
> looked, but I haven't found it! That's why I asked the question; and
> you are right, i want to compile gnucobol sources on freedos, but i
> don't know how to do it...


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol in the FreeDOS ...

2022-03-14 Thread Liam Proven
On Mon, 14 Mar 2022 at 18:12, Ralf Quint  wrote:

> > [2] Is there a version of GNU COBOL for DOS? I can't find any mention
> > of this on Google.

This is the real issue at hand here, and the reason why the OP should
rather contact the GNU COBOL
folks about installing this on DOS (any DOS).

Yes, I agree.

> The main problem is that you will need the whole GCC tool chain for this to 
> work...

I did not know that GNU COBOL compiled to C when I answered, but yes,
I agree, ultimately this is the
problem.

But a shorter answer, missing the core problem but still answering the
question, is:

No, GNU COBOL does not run on DOS.

The compiler does not run on DOS, the tools the compiler needs don't
run on DOS, and they don't target
DOS either.

What this means is:

While it might be possible to use GNU COBOL to produce DOS binaries,
it is probably
easier to do that on Linux and cross-compile to DOS than to try to get
the whole thing working on DOS.

BTW, your quoting seems very broken. From your email address, you're
using Gmail. Is this on a phone
or on a computer? If a computer and the webmail version, it's easy to
quote properly.

Click the 3 vertical dots by the trashcan. Pick "plain text". Then
just press Ctrl-A (or Cmd-A) to select all,
and the quoted email appears  and you can trim and reply underneath.

If you use emails a lot, as I do, I recommend just setting Gmail to
send in plain-text only. This is good
manners:
https://useplaintext.email/

It's also better for people using accessibility tools, smaller
devices, takes less space, helps prevent
email-borne viruses, and aids quoting and conversations. I *highly*
recommend it.

-- 
Liam Proven ~ Profile: https://about.me/liamproven
Email: lpro...@cix.co.uk ~ gMail/gTalk/FB: lpro...@gmail.com
Twitter/LinkedIn: lproven ~ Skype: liamproven
UK: (+44) 7939-087884 ~ Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol in the FreeDOS ...

2022-03-14 Thread Ralf Quint

On 3/14/2022 6:10 AM, Liam Proven wrote:
On Mon, 14 Mar 2022 at 01:10, Everaldo Bernardo Cunha  >  wrote: >> >> I would of to install GNU Cobol 
in the FreeDOS 1.3. Someone here >> can help me that work??? I'm using 
the FreeDOS in a virtual >> machine DOSBOX-X, in the Debian 11.2 LXDE 64 
bits ... I'll await >> future contact. > > 2 questions. ...
[2] Is there a version of GNU COBOL for DOS? I can't find any mention  > of this on Google. This is the real issue at hand here, and the 
reason why the OP should rather contact the GNU COBOL folks about 
installing this on DOS (any DOS).


The main problem is that you will need the whole GCC tool chain for this 
to work...




Ralf

--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol in the FreeDOS ...

2022-03-14 Thread dmccunney
On Sun, Mar 13, 2022 at 8:10 PM Everaldo Bernardo Cunha
 wrote:
>
> I would of to install GNU Cobol in the FreeDOS 1.3. Someone here can help me 
> that work??? I'm using the FreeDOS in a virtual machine DOSBOX-X, in the 
> Debian 11.2 LXDE 64 bits ... I'll await future contact.

This sounds like a significant challenge.

Problem 1: GNU COBOL is known to work on various flavors of *nix,
Windows, and MacOS.  DOS is not a supported target.

Problem 2: GNU COBOL works by translating COBOL code to C, which is
then compiled by the native C compiler on the host OS.  That opens the
question of what C compiler you will use under DOS and whether GNU
COBOL will work with it if you *can* successfully install it under
FreeDOS.

I won't say it's impossible, but I would call being *able* to do this unlikely.

> Everaldo
__
Dennis


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol in the FreeDOS ...

2022-03-14 Thread Liam Proven
On Mon, 14 Mar 2022 at 01:10, Everaldo Bernardo Cunha
 wrote:
>
> I would of to install GNU Cobol in the FreeDOS 1.3. Someone here can help me 
> that work??? I'm using the FreeDOS in a virtual machine DOSBOX-X, in the 
> Debian 11.2 LXDE 64 bits ... I'll await future contact.

2 questions.

[1] You are running a real separate DOS inside DOSBOX (or DOSBOX-X).
These products come with their own built-in DOS. Why use your own? I
am just curious.

[2] Is there a version of GNU COBOL for DOS? I can't find any mention
of this on Google.


-- 
Liam Proven ~ Profile: https://about.me/liamproven
Email: lpro...@cix.co.uk ~ gMail/gTalk/FB: lpro...@gmail.com
Twitter/LinkedIn: lproven ~ Skype: liamproven
UK: (+44) 7939-087884 ~ Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] GNU Cobol in the FreeDOS ...

2022-03-13 Thread Jim Hall
On Sun, Mar 13, 2022, 7:10 PM Everaldo Bernardo Cunha 
wrote:

>
> Hello,
>
> I would of to install GNU Cobol in the FreeDOS 1.3. Someone here can help
> me that work??? I'm using the FreeDOS in a virtual machine DOSBOX-X, in the
> Debian 11.2 LXDE 64 bits ... I'll await future contact.
>


Do you mean this source code version of GNU COBOL?
https://savannah.gnu.org/projects/gnucobol

Looks like it's also available at https://sourceforge.net/projects/gnucobol/

There isn't a DOS executable version of this, so this is something you'd
need to compile for DOS.

Unless you know of a version that's already been compiled?
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] GNU Cobol in the FreeDOS ...

2022-03-13 Thread Everaldo Bernardo Cunha
Hello,

I would of to install GNU Cobol in the FreeDOS 1.3. Someone here can help
me that work??? I'm using the FreeDOS in a virtual machine DOSBOX-X, in the
Debian 11.2 LXDE 64 bits ... I'll await future contact.

Everaldo
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user