LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Closed Thread
  Search this Thread
Old 04-30-2019, 06:57 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,046

Rep: Reputation: 59
Getting access to the Pacific C compiler.


Get into Google and type PACIFIC C COMPILER. You'll find lots of references but the links seem all outdated. The Pacific compiler is a product of High Tech Software. It is/was a C compiler and linker for MS-DOS. Everything comes in a single file, pacific.exe.

It happens that that file contains some 20 example programs which are highly instructive for the beginner (it is an executable program which contain all files zipped. The executable just unzips the files), which is my case. I'm trying to get the file pacific.exe since a long time but my efforts have been vain. Perhaps some of you is luckier than me, I mean whatI ask is a way to access the Pacific C compiler or, what amounts to the same thing, the pacific.exe file.
 
Old 04-30-2019, 07:31 PM   #2
individual
Member
 
Registered: Jul 2018
Posts: 153

Rep: Reputation: 117Reputation: 117
Are you sure you checked hard enough?
Here is the file listing after extraction.
Code:
.:
BIN
EXAMPLES
HELP
INCLUDE
LIB
pacific.exe
READ.ME

./BIN:
ALIGN86.EXE
AS86.EXE
CG86.EXE
CPP.EXE
CREF.EXE
DUMP.EXE
HLINK.EXE
LIBR.EXE
LUCIFER.EXE
OBJTOEXE.EXE
OPT86.EXE
P1.EXE
PPD.EXE
PPD.INI
README.TXT

./EXAMPLES:
ARGS.C
CHK.C
EXAMPLES.TBL
EXITFUNC.C
FCALC.C
FULLPATH.C
HELLO.C
HELLO.PRJ
HEXD.C
KEYRATE.C
MOUSE.C
MOUSE.H
MOUSEX.C
MOUSEX.PRJ
PRINTENV.C
QSORTEX.C
READDIR2.C
READDIR.C
README
SIEVE.C
TALK.C
U2D.C
USAGE.C

./HELP:
00-EDKEY.TBL
DOS-0PAC.TBL
ERR.REF
LIBRARY.HLP
PPD.HLP
REGISTER.HLP

./INCLUDE:
ASSERT.H
CONIO.H
CTYPE.H
DOS.H
FLOAT.H
HEADERS.TAG
HITECH.H
INTRPT.H
IOCTL.H
LIMITS.H
MATH.H
PROF.H
SETJMP.H
SIGNAL.H
STAT.H
STDARG.H
STDDEF.H
STDIO.H
STDLIB.H
STRING.H
SYS.H
TIME.H
UNIXIO.H
XMS.H

./LIB:
86--DLC.LIB
86--DLF.LIB
86--DSC.LIB
86--DSF.LIB
RT86--DL.OBJ
RT86--DS.OBJ

Last edited by individual; 04-30-2019 at 07:31 PM. Reason: Fixed url text.
 
Old 04-30-2019, 07:36 PM   #3
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: CentOS at the time of this writing, but some others over the years too...
Posts: 2,682

Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
Quote:
Originally Posted by stf92 View Post
Get into Google and type PACIFIC C COMPILER. You'll find lots of references but the links seem all outdated. The Pacific compiler is a product of High Tech Software. It is/was a C compiler and linker for MS-DOS. Everything comes in a single file, pacific.exe.

It happens that that file contains some 20 example programs which are highly instructive for the beginner (it is an executable program which contain all files zipped. The executable just unzips the files), which is my case. I'm trying to get the file pacific.exe since a long time but my efforts have been vain. Perhaps some of you is luckier than me, I mean whatI ask is a way to access the Pacific C compiler or, what amounts to the same thing, the pacific.exe file.
Why do you keep starting dupe threads?

Why on earth do you want a C compiler for MS-DOS ?

In any case I've reported this thread as a dupe.
 
Old 04-30-2019, 07:39 PM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,046

Original Poster
Rep: Reputation: 59
Unbelievable! I lack a DOS/Windows installation. Would you be so kind as to zip the EXAMPLES dir and attach it, so I in this end of the line can download it? By the way, a thousand thanks.
 
Old 04-30-2019, 07:41 PM   #5
individual
Member
 
Registered: Jul 2018
Posts: 153

Rep: Reputation: 117Reputation: 117
Quote:
Originally Posted by stf92 View Post
Unbelievable! I lack a DOS/Windows installation. Would you be so kind as to zip the EXAMPLES dir and attach it, so I in this end of the line can download it? By the way, a thousand thanks.
I don't have a Windows installation either. You can use 7zip (or p7zip on *NIX) to extract.
Code:
7z x pacific.exe
 
Old 04-30-2019, 07:44 PM   #6
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: CentOS at the time of this writing, but some others over the years too...
Posts: 2,682

Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
Quote:
Originally Posted by stf92 View Post
Unbelievable! I lack a DOS/Windows installation. Would you be so kind as to zip the EXAMPLES dir and attach it, so I in this end of the line can download it? By the way, a thousand thanks.
Now that someone else has found what you couldn't, you want them to attach it??

Why should they??

Would you like them to fly to your place and run it for you too???
 
Old 04-30-2019, 09:24 PM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,046

Original Poster
Rep: Reputation: 59
Quote:
Originally Posted by individual View Post
I don't have a Windows installation either. You can use 7zip (or p7zip on *NIX) to extract.
Code:
7z x pacific.exe
I got this:
Code:
bill@darkstar~/work2$ 7z x pacific.exe 

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Celeron(R) CPU  N3050  @ 1.60GHz (406C3),ASM,AES-NI)

Scanning the drive for archives:
1 file, 713288 bytes (697 KiB)

Extracting archive: pacific.exe
WARNING:
pacific.exe
Can not open the file as [PE] archive
The file is open as [Lzh] archive

--
Path = pacific.exe
Open WARNING: Can not open the file as [PE] archive
Type = Lzh
Offset = 1945
Physical Size = 711343

Everything is Ok

Archives with Warnings: 1
Files: 75
Size:       1578358
Compressed: 713288
bill@darkstar~/work2$
 
Old 04-30-2019, 09:29 PM   #8
individual
Member
 
Registered: Jul 2018
Posts: 153

Rep: Reputation: 117Reputation: 117
Quote:
Originally Posted by stf92 View Post
I got this:
Code:
bill@darkstar~/work2$ 7z x pacific.exe 

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Celeron(R) CPU  N3050  @ 1.60GHz (406C3),ASM,AES-NI)

Scanning the drive for archives:
1 file, 713288 bytes (697 KiB)

Extracting archive: pacific.exe
WARNING:
pacific.exe
Can not open the file as [PE] archive
The file is open as [Lzh] archive

--
Path = pacific.exe
Open WARNING: Can not open the file as [PE] archive
Type = Lzh
Offset = 1945
Physical Size = 711343

Everything is Ok

Archives with Warnings: 1
Files: 75
Size:       1578358
Compressed: 713288
bill@darkstar~/work2$
EDIT: Nevermind, it executed correctly. It was just warning you that it couldn't open it as a PE (portable executable, i.e. Window's binary format).

Last edited by individual; 04-30-2019 at 09:31 PM.
 
Old 04-30-2019, 09:40 PM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,046

Original Poster
Rep: Reputation: 59
Oh yes! The files are there! Thanks a million times, individual. In the meantime I made my mind to install freedos to be able to run the .exe. But my partitions took the whole disk. So I resized one of them (parted) and, as a result, lost everything I had on it. If only I knew there was no need to install freedos!

Last edited by stf92; 04-30-2019 at 09:44 PM.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux over 7% in server world in the Asia and Pacific countries Lleb_KCir General 0 09-27-2005 11:44 AM
Getting Pacific Poker to work sharpie Linux - Games 0 09-13-2005 12:39 AM
Installing Pacific Assault with Cedega hamstereater Linux - Games 1 11-24-2004 02:23 PM
pacific digital burners on linux red hat 9 shawnb Red Hat 4 09-13-2004 09:07 PM
Pacific Digital 16x10x40 usb cdrw is not recognized lumbrjackedpcj Linux - Hardware 1 06-05-2004 12:57 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 06:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration