🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52861

Re: Why some PC C compilers are useless (386 Users Unite!!!)

#52861
From: Kendall Bennett
Date: Mon, 18 May 1992 02:10
46 lines
3452 bytes
kayvan@satyr.sylvan.COM (Kayvan Sylvan) writes:

>Since it *is* the case that the folks at FSF/Cygnus don't have the
>time or inclination to work on improving GCC/G++/LIBG++ support on 386
>PC Unix, WE HAVE TO DO IT OURSELVES. Work *with* the people working on
>free software, not against them. Instead of railing against GNU, take
>the time to port and test their software, people!!

>Get yourself a copy of the software (from me or someone else), get it
>up and running, start to play, find and *fix* the bugs!!! Your efforts
>can help thousands of others who also want to use the GNU compiler
>suite.

That is exactly what I intended to do, but I ran into quite a number of 
problems. I want to get Gcc 2.1 up and running as a worthwhile development
environment under OS/2 2.0. I have isolated the areas of the runtime library
that probably need work, but I cant fix them! I dont have Microsoft C, so
I cant rebuild any of the standard libraries. Naturally the UNIX style
linker and librarian (BTW - where is the source for these - in the Gcc 
source arhive?) are no good here.

The other problem is that to do the work I need to use an assembler, but
I'll be buggered if I can find any docs at all on gas, let alone understand
its cryptic syntax. I have written some code with gas, but it is less than
satisfactory. You see, BSD style assembler syntax is completely different
to standard Intel style assembler syntax. I cant just take my old proven
MSDOS assmbler routines and quickly port them to OS/2 2.0 using gas, as the
syntax is totally different. The operands to instructions need to be
swapped, and the addressing scheme is totally different. I have found it
difficult to write even the simplest of assmbler routines using gas (is
there support for macros in gas?).

So I cant do what you have suggested. I have decided to take a different
tack. First I need an assembler - so I am writing a MASM/TASM style macro
assembler for OS/2 2.0. Next I need a librarian and linker, so I will 
write them also. Maybe, when all this is done, Gcc 2.1 could be a workable
solution...

+------------------------------------------+-------------------------------+
| Kendall Bennett,                         | Internet:                     |
| Advanced Computer Graphics Centre,       | kjb@godzilla.cgl.citri.edu.au |
| Royal Melbourne Institute of Technology, | rcskb@minyos.xx.rmit.oz.au    |
| Victoria, AUSTRALIA.                     |                               | 
+------------------------------------------+-------------------------------+
| CoSysop (Bossman), PC Connection Australia:               +61 3 688 0909 |
+--------------------------------------------------------------------------+
Technical Details
Message-ID: <kjb.706155015@godzilla.cgl.citri.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!goanna!minyos.xx.rmit.oz.au!kjb
References: <1938@inasys.UUCP> <m0llpmS-0005LgC@satyr.sylvan.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,bd74dab1adf38bf8
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-05-18 00:24:12 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!goanna!minyos.xx.rmit.oz.au!kjb
From: kjb@cgl.rmit.oz.au (Kendall Bennett)
Newsgroups: gnu.gcc.help
Subject: Re: Why some PC C compilers are useless (386 Users Unite!!!)
Message-ID: <kjb.706155015@godzilla.cgl.citri.edu.au>
Date: 18 May 92 02:10:15 GMT
References: <1938@inasys.UUCP> <m0llpmS-0005LgC@satyr.sylvan.com>
Sender: usenet@minyos.xx.rmit.oz.au (Njuiz noveles nova newes)
Distribution: gnu
Organization: RMIT Computer Centre, Melbourne Australia.
Lines: 46