Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-02

DJGPP

15 messages · 7 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Chris Moody

Hi all,

I was curious the .o files that FPC produce on the DOS/Win32 platforms are they compatible with what DJGPP produces?

Thanks,

Chris

Florian Klaempfl
to Chris Moody
you wrote
Hi all, I was curious the .o files that FPC produce on the DOS/Win32 platforms are they compatible with what DJGPP produces?

Yes, they are.

Aitor Santamaria Merino
to Florian Klaempfl
Show quoted text 8 lines
> Hi all, > > I was curious the .o files that FPC produce on the DOS/Win32 platforms > are they compatible with what DJGPP produces? Yes, they are.

hmmm... one more.

Does DJGPP produce Win32 executables (I didn't know about this, I thought only DPMI), or do you mean that the .O produced by FPC/Win32 are linkable to DJGPP/DPMI executables (and therefore, to FPC/GO32 too)?

Aitor

Marco van de Voort
to Aitor Santamaria Merino
Show quoted text 10 lines
>> I was curious the .o files that FPC produce on the DOS/Win32 platforms >> are they compatible with what DJGPP produces? > > Yes, they are. > hmmm... one more. Does DJGPP produce Win32 executables (I didn't know about this, I thought only DPMI), or do you mean that the .O produced by FPC/Win32 are linkable to DJGPP/DPMI executables (and therefore, to FPC/GO32 too)?

FPC is more or less kept compatible with the GCC clone on the platofrm.

So for Go32v2 that is DJGPP, for Win32 that is cygwin or mingw, Linux and FreeBSD :gcc, etc.

Chris Moody
to Marco van de Voort

I was mainly interested in this to see if I could write a program in FP that would work with the Seal GUI (which works through DOS)

Chris

Earlier message 28 lines
----- Original Message ----- From: "Marco van de Voort" To: Sent: Tuesday, February 19, 2002 9:41 PM Subject: Re: [fpc-pascal]DJGPP > > >> I was curious the .o files that FPC produce on the DOS/Win32 platforms > > >> are they compatible with what DJGPP produces? > > > > > > Yes, they are. > > > > > hmmm... one more. > > > > Does DJGPP produce Win32 executables (I didn't know about this, I > > thought only DPMI), or do you mean that the .O produced by FPC/Win32 are > > linkable to DJGPP/DPMI executables (and therefore, to FPC/GO32 too)? > > FPC is more or less kept compatible with the GCC clone on the platofrm. > > So for Go32v2 that is DJGPP, for Win32 that is cygwin or mingw, Linux and > FreeBSD :gcc, etc. > > > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Marco van de Voort
to Chris Moody
I was mainly interested in this to see if I could write a program in FP that would work with the Seal GUI (which works through DOS)

That's the one packaged with FreeDos IIRC? If it is an ordinary DJGPP program it should work.

Chris Moody
to Aitor Santamar�a: In my opinion (if I recall correctly Seal is C, no C++) I would use Seal's API and then…

Hi Aitor,

Do you know if there is a dos or windows based version of this htopas?

Chris

Earlier message 65 lines
----- Original Message ----- From: "Aitor Santamaría" To: Sent: Wednesday, February 20, 2002 9:57 AM Subject: Re: [fpc-pascal]DJGPP In my opinion (if I recall correctly Seal is C, no C++) I would use Seal's API and then use htopas. It should work, but as a Seal application seems to be a DXE, you never know. Good luck! Aitor > I was mainly interested in this to see if I could write a program in FP that > would work with the Seal GUI (which works through DOS) > > Chris > ----- Original Message ----- > From: "Marco van de Voort" > To: > Sent: Tuesday, February 19, 2002 9:41 PM > Subject: Re: [fpc-pascal]DJGPP > > > > > >> I was curious the .o files that FPC produce on the DOS/Win32 > platforms > > > >> are they compatible with what DJGPP produces? > > > > > > > > Yes, they are. > > > > > > > hmmm... one more. > > > > > > Does DJGPP produce Win32 executables (I didn't know about this, I > > > thought only DPMI), or do you mean that the .O produced by FPC/Win32 are > > > linkable to DJGPP/DPMI executables (and therefore, to FPC/GO32 too)? > > > > FPC is more or less kept compatible with the GCC clone on the platofrm. > > > > So for Go32v2 that is DJGPP, for Win32 that is cygwin or mingw, Linux and > > FreeBSD :gcc, etc. > > > > > > _______________________________________________ > > fpc-pascal maillist - > > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > > > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > > _____________________________________________________________________ !REGALO GRATIS sólo por participar¡ Gana un premio seguro y exóticos viajes participando en el Rallye Wanadoo en http://www.wanadoo.es/animacion/rallye
Aitor Santamar�a

In my opinion (if I recall correctly Seal is C, no C++) I would use Seal's API and then use htopas.

It should work, but as a Seal application seems to be a DXE, you never know.

Good luck!

Aitor

Show quoted text 39 lines
I was mainly interested in this to see if I could write a program in FP that would work with the Seal GUI (which works through DOS) Chris ----- Original Message ----- From: "Marco van de Voort" To: Sent: Tuesday, February 19, 2002 9:41 PM Subject: Re: [fpc-pascal]DJGPP > > >> I was curious the .o files that FPC produce on the DOS/Win32 platforms > > >> are they compatible with what DJGPP produces? > > > > > > Yes, they are. > > > > > hmmm... one more. > > > > Does DJGPP produce Win32 executables (I didn't know about this, I > > thought only DPMI), or do you mean that the .O produced by FPC/Win32 are > > linkable to DJGPP/DPMI executables (and therefore, to FPC/GO32 too)? > > FPC is more or less kept compatible with the GCC clone on the platofrm. > > So for Go32v2 that is DJGPP, for Win32 that is cygwin or mingw, Linux and > FreeBSD :gcc, etc. > > > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

_____________________________________________________________________ !REGALO GRATIS s�lo por participar� Gana un premio seguro y ex�ticos viajes participando en el Rallye Wanadoo en http://www.wanadoo.es/animacion/rallye

Marco van de Voort
to Aitor Santamar�a
In my opinion (if I recall correctly Seal is C, no C++) I would use Seal's API and then use htopas. It should work, but as a Seal application seems to be a DXE, you never know.

DXE is also supported, but not very userfriendly.

Aitor Santamar�a
Show quoted text 6 lines
> In my opinion (if I recall correctly Seal is C, no C++) I would use Seal's API and then use htopas. > > It should work, but as a Seal application seems to be a DXE, you never know. DXE is also supported, but not very userfriendly.

Sorry, I think I mixed things up. I think it's not DXE but DLX. But anyway, what I meant is that you may have to use DJGPP DLX's to create a DLX, I don't know if this would ever work (hopefully it will).

By the way (to the original poster), do let us know if it is possible to develop under Seal with FreePascal.

Aitor
_____________________________________________________________________ !REGALO GRATIS s�lo por participar� Gana un premio seguro y ex�ticos viajes participando en el Rallye Wanadoo en http://www.wanadoo.es/animacion/rallye

Marco van de Voort
to Aitor Santamar�a
Show quoted text 10 lines
> > In my opinion (if I recall correctly Seal is C, no C++) I would use Seal's API and then use htopas. > > > > It should work, but as a Seal application seems to be a DXE, you never know. > > DXE is also supported, but not very userfriendly. > Sorry, I think I mixed things up. I think it's not DXE but DLX. But anyway, what I meant is that you may have to use DJGPP DLX's to create a DLX, I don't know if this would ever work (hopefully it will).

I quick checked DLX, and though it heavily borrows from DXE, it isn't pure C, but C++, and (worse) depends heavily on preprocessor functionality, to flag exports etc.

Aitor Santamaria Merino
to Chris Moody: Do you know if there is a dos or windows based version of this htopas? Chris -----…

Sorry, I meant "h2pas", and this comes out with every FPC/GO32 distribution (possibly others).

But as Marco checked out, even if you h2pas the Seal API, you may not get successful, due to the fact that Seal uses DLX...

Aitor

Chris Moody wrote 93 lines
Hi Aitor, Do you know if there is a dos or windows based version of this htopas? Chris ----- Original Message ----- From: "Aitor Santamaría" To: Sent: Wednesday, February 20, 2002 9:57 AM Subject: Re: [fpc-pascal]DJGPP In my opinion (if I recall correctly Seal is C, no C++) I would use Seal's API and then use htopas. It should work, but as a Seal application seems to be a DXE, you never know. Good luck! Aitor >I was mainly interested in this to see if I could write a program in FP > that >would work with the Seal GUI (which works through DOS) > >Chris >----- Original Message ----- >From: "Marco van de Voort" >To: >Sent: Tuesday, February 19, 2002 9:41 PM >Subject: Re: [fpc-pascal]DJGPP > > > >>>>>I was curious the .o files that FPC produce on the DOS/Win32 >>>>> >platforms > >>>>>are they compatible with what DJGPP produces? >>>>> >>>>Yes, they are. >>>> >>>> >>>hmmm... one more. >>> >>>Does DJGPP produce Win32 executables (I didn't know about this, I >>>thought only DPMI), or do you mean that the .O produced by FPC/Win32 >>> are >>>linkable to DJGPP/DPMI executables (and therefore, to FPC/GO32 too)? >>> >>FPC is more or less kept compatible with the GCC clone on the platofrm. >> >>So for Go32v2 that is DJGPP, for Win32 that is cygwin or mingw, Linux >> and >>FreeBSD :gcc, etc. >> >> >>_______________________________________________ >>fpc-pascal maillist - >>http://lists.freepascal.org/mailman/listinfo/fpc-pascal >> > >_______________________________________________ >fpc-pascal maillist - >http://lists.freepascal.org/mailman/listinfo/fpc-pascal > > > _____________________________________________________________________ !REGALO GRATIS sólo por participar¡ Gana un premio seguro y exóticos viajes participando en el Rallye Wanadoo en http://www.wanadoo.es/animacion/rallye _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Alan Grimes
to Aitor Santamaria Merino

The Free Pascal team has produced one of the most user-friendly compiler systems in the known universe...

I was wondering wheather there were any plans/interest in creating a modula 3 system?

thx!

People who think that destructive brain uploading is an acceptable and positive choice should be committed to the mental hospital for suicidal tendancies. http://users.rcn.com/alangrimes/ <my website.
Florian Klaempfl
to Alan Grimes
you wrote
The Free Pascal team has produced one of the most user-friendly compiler systems in the known universe...

Hmmmm .... though I'am very proud about this statement, I can't agree ;)

I was wondering wheather there were any plans/interest in creating a modula 3 system?

Hmmm, if we've days with 48 hours :) ?

Jakub Macek
to Aitor Santamaria Merino: Sorry, I meant "h2pas", and this comes out with every FPC/GO32 distribution (possibly…

Hello everybody,

I've noticed that compatibility of output of DJGPP and Free Pascal was discussed. I have recently created some sources (fully oop, I like classes) that allow execution of these (COFF) objects, but creation still depends on manual assebling and linking. I am finding somebody, who can test it and eventually make some "user-friendly" program for creating these modules. You can visit my pages on http://jamesm.hyperlinkx.cz , where are some of my previous tries. (Ass you can see, I am Czech student, so excuse my English, please.)
If anybody can help me or test the code, I will be glad.