Make GhostScript Platform-independent... 
Author Message
 Make GhostScript Platform-independent...

I wonder if there is any way to compile GhostScript platform-independent

(Any OS and any CPU if that has C-compiler and enough memory)

Of course I will not use Graphical EXE..

Is there any options to make this possible by switching them ?

Or,, Must I check contents of makefile and correct them one by one???

If you know this, Please Post Here~

Thank you for your reading :-)

Good day All~



Tue, 07 Jun 2005 09:11:42 GMT  
 Make GhostScript Platform-independent...


Quote:
> I wonder if there is any way to compile GhostScript platform-independent

> (Any OS and any CPU if that has C-compiler and enough memory)

The purpose of compiling ghostscript is to produce a platform dependent
executable.  So there is no truly "platform independent" way to compile it.
There are a number of makefiles described in doc/Make.htm.
Select the most appopriate one and follow the instructions.


Tue, 07 Jun 2005 17:45:40 GMT  
 Make GhostScript Platform-independent...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1




Date: Fri, 20 Dec 2002 08:27:56 -0500 (EST)

X-Newsreader: PMINews 2.00.1205 For OS/2
Organization: Nassau Wings Motorcycle Club
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Subject: Re: Make GhostScript Platform-independent...

Java?

Quote:

>The purpose of compiling ghostscript is to produce a platform dependent
>executable.  So there is no truly "platform independent" way to compile it.
>There are a number of makefiles described in doc/Make.htm.
>Select the most appopriate one and follow the instructions.

Jaime A. Cruz, Jr.

o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o
o                                                 o
o  Visit the Nassau Wings Motorcycle Club at:     o
o  http://www.nassauwings.org/                    o
o  A Charter Member of the Motorcycle Web Ring!   o
o                                                 o
o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0 OS/2 for non-commercial use
Comment: PGP 5.0 for OS/2
Charset: cp850

wj8DBQE+AwzMgvzYfxgMc34RAsgyAKDec7iR7PevSP4nID/VASZqPiIz2gCfXJiz
7UIRvdoBPxi36jwOeoSq8fo=
=Pt54
-----END PGP SIGNATURE-----



Tue, 07 Jun 2005 21:27:56 GMT  
 Make GhostScript Platform-independent...


Quote:
> Java?

It would be a Christmas miracle if a program written in C would somehow
compile as Java...

--
Matti Vuori, <http://sivut.koti.soon.fi/mvuori/index-e.htm>



Tue, 07 Jun 2005 22:44:34 GMT  
 Make GhostScript Platform-independent...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1




Date: Fri, 20 Dec 2002 11:57:04 -0500 (EST)

X-Newsreader: PMINews 2.00.1205 For OS/2
Organization: Nassau Wings Motorcycle Club
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Subject: Re: Make GhostScript Platform-independent...

I didn't mean recompile the thing with the Java Compiler!! Sheesh, even I'm
not THAT stupid!

Quote:



>> Java?

>It would be a Christmas miracle if a program written in C would somehow
>compile as Java...

>--
>Matti Vuori, <http://sivut.koti.soon.fi/mvuori/index-e.htm>

Jaime A. Cruz, Jr.

o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o
o                                                 o
o  Visit the Nassau Wings Motorcycle Club at:     o
o  http://www.nassauwings.org/                    o
o  A Charter Member of the Motorcycle Web Ring!   o
o                                                 o
o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o_o&o

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0 OS/2 for non-commercial use
Comment: PGP 5.0 for OS/2
Charset: cp850

wj8DBQE+Az3QgvzYfxgMc34RAg5VAKCqKhWoqf+of4Q3LIO7JjsJRiCT1wCcDTJD
+zuHaXFj/6WtKnOdzk8s0QU=
=mA6F
-----END PGP SIGNATURE-----



Wed, 08 Jun 2005 00:58:46 GMT  
 Make GhostScript Platform-independent...



    >> Java?

    Matti> It would be a Christmas miracle if a program written in C
    Matti> would somehow compile as Java...

How  about "extending"  the GCC  to  support one  more platform:  Java
(byte-code)?

--


Home page: http://www.informatik.uni-freiburg.de/~danlee



Tue, 14 Jun 2005 15:55:27 GMT  
 Make GhostScript Platform-independent...

Quote:
>How  about "extending"  the GCC  to  support one  more platform:  Java
>(byte-code)?

Is it not the case that the pointer manipulation and typecasting
possible in C makes this a theoretical impossibility - unless, I
suppose a single Java object is obtained which is an array of bytes to
be suballocated as C memory space...
----------------------------------------

Please support usenet! Post replies and follow-ups, don't e-mail them.


Tue, 14 Jun 2005 19:29:06 GMT  
 Make GhostScript Platform-independent...


    >> How about "extending" the GCC to support one more platform:
    >> Java (byte-code)?

    Aandi> Is it not the case that the pointer manipulation and
    Aandi> typecasting possible in C makes this a theoretical
    Aandi> impossibility

You could similate  RAM by allocating a huge  array of bytes (char[]).
Then, pointers are similated  as integers representing indices to this
huge array.

IOW, as  long as you can emulate  a Turing machine (but  with a finite
tape), shouldn't you be able  to emulate all other things possible (up
to the limit of the tape size) on a von Neumann computer?

--


Home page: http://www.informatik.uni-freiburg.de/~danlee



Fri, 17 Jun 2005 18:02:18 GMT  
 Make GhostScript Platform-independent...

Quote:
>    Aandi> Is it not the case that the pointer manipulation and
>    Aandi> typecasting possible in C makes this a theoretical
>    Aandi> impossibility

>You could similate  RAM by allocating a huge  array of bytes (char[]).
>Then, pointers are similated  as integers representing indices to this
>huge array.

Isn't that what I said with the rest of my sentence - "unless, I
suppose a single Java object is obtained which is an array of bytes to
be suballocated as C memory space..." ?

Quote:

>IOW, as  long as you can emulate  a Turing machine (but  with a finite
>tape), shouldn't you be able  to emulate all other things possible (up
>to the limit of the tape size) on a von Neumann computer?

It does indeed sound possible.  A lot of work, since to complete this
case the C library would also have to be largely reimplemented in
Java.  Subtle differences may also exist in execution semantics, but
there is probably enough variation in C implementations to allow this.

The performance may be OK, not sure.  

Traditionally the performance of such emulators has been glacial,
especially if implemented in an interpreted language, but perhaps
today's computers are fast enough for many practical uses.
GhostScript is a poor example as it is CPU hungry and so it's hard to
imagine many users adopting 10-50 times the execution speed to avoid
the effort of getting a makefile that works.

More a question for a gcc group, I suspect, interesting as it may be.
----------------------------------------

Please support usenet! Post replies and follow-ups, don't e-mail them.



Fri, 17 Jun 2005 20:04:16 GMT  
 
 [ 9 post ] 

 Relevant Pages 

1. ANNOUNCE : Platform independent toolkit for writing excel file format files

2. platform independent?

3. Batch conversion on Win platform w/ Ghostscript?

4. Getting ghostscript to recongise Mac fonts on a Windows platform

5. Proposed drop of 16-bit platforms from future Ghostscript releases

6. Ghostscript Installation Platforms

7. Exit code 255 on Ghostscript 3.53 (MS Win platform)

8. Ghostscript's ps2pdf making HUGE files

9. Reduced image quality when making pdf with Ghostscript

10. Making dvi2psm to work with Ghostscript

11. Ghostscript makes HUGE PDF files!

12. Ghostscript BUG: making copy of systemdict

 

 
Powered by phpBB® Forum Software