| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Borland and EMX ... |
I am currently using Borland C/C++ v3.1 to compile my DOS programs and EMX
v0.9a to compile my OS/2 programs, but I noticed a few peculiarities which
I would like to have cleared up.
First of all, the EMX program is well over 3 times larger than the Borland
version - and it is the *exact* same code. Is this due to the compiler or
do OS/2 programs naturally take up more room?
Second is what these two return from the command line.
I am using ...
int main ( int argc, char *argv[] )
{
// program code
}
However, when I run the program for DOS, by typing "PORTDOS" it will return
the command line as ...
"G:\PROGRAM\PORTDOS.EXE"
Yet the OS/2 program (run by typing "PORTOS2") will return it as ...
"PORTOS2"
Although I get what I expect from EMX, I do prefer what the DOS version
returns. At any rate, is there anyway to change them so that they are both
the same?
... 186,000 Miles/Second, it's not just a good idea, it's the Law!
---
* TLX v4.10 *
--- Blue Wave/Max v2.12 OS/2 [NR]
* Origin: EXCESS BBS *28.8* HAYES:(403)285-7338 USR:(403)285-4830 (1:134/17)SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809 @PATH: 134/17 3615/50 396/1 270/101 105/103 42 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.