Article View: gnu.gcc.help
Article #51337DOS vs. SUN vs. NetBSD
From: Matthew Kwiecien
Date: Sat, 05 Jun 1993 16:44
Date: Sat, 05 Jun 1993 16:44
33 lines
1772 bytes
1772 bytes
I have a question about the various gcc compilers around. I currently have a version of the compiler for each of the following systems; MS_DOS 5.0, SunOS 4.1.1 and NetBSD 0.8. (I'm really not sure which versions of gcc exist on each system, they must be fairly recent as I downloaded the PC versions only a few months ago.) The SUN is a SPARCstation1 and the other 21 systems are running on a 386 25 MHz DX. After all that preamble, here is my question : I have written some code on which my Ph.D. thesis is based. I developed the code on the SPARCstation1 and it apperas to work fine. I down loaded the same code (unchanged) to the PC and it did not run under DOS properly. I down loaded the same code to the NetBSD side of the PC and after declaring some variables ``static'', the programme ran as it did on the SPARCstation. Any ideas why the programme would not run properly under MS-DOS ? Should I bother getting the newest version of gcc for MS-DOS ? Any comments would be appreciated. Matt -- M.J. (Matt) Kwiecien | Email : matt@prism.uwaterloo.ca Dept. of Chem. Eng. | : kwiecien@watdcs.bitnet University of Waterloo. | Phone : (519) 885-1211 ext. 6157
Technical Details
Message-ID:
<C85qHp.DoE@watserv2.uwaterloo.ca>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!torn!watserv2.uwaterloo.ca!mattShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,2e28fab981d441be,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-06-05 10:02:01 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!torn!watserv2.uwaterloo.ca!matt From: matt@prism.uwaterloo.ca (Matthew Kwiecien) Subject: DOS vs. SUN vs. NetBSD Message-ID: <C85qHp.DoE@watserv2.uwaterloo.ca> Sender: news@watserv2.uwaterloo.ca Organization: University of Waterloo Date: Sat, 5 Jun 1993 16:44:12 GMT Lines: 33