🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.ip.developers
Article #1377

Re: Building KA9Q...

#1377
From: Chris Croughton
Date: Sun, 26 Nov 1995 00:00
33 lines
1896 bytes
In article <817324091snz@illuin.demon.co.uk>
           richard@illuin.demon.co.uk "Richard Letts" writes:

>I've been looking at producing a 32-bit version using the DJGPP compiler.[*]
>however I don't understand what the myriad of command-line switches mean
>
>CFLAGS= -w -w-par -a -d -f- -A- -G- -O -Z -DMSDOS -Ff=1024

-w      Turn warnings on
-w-par  Turn off specific warning (unreferenced parameters)
-a      align on word boundary
-d      merge duplicate strings
-f-     floating point off
-A      ANSI, no extensions
-G-     Optimise for size
-O      Optimise jumps
-Z      Suppress register reloads (a specific optimisation)
-DXXX   define MSDOS for preprocessor
-Ff=n   Put variables over n bytes long into separate segments

For your purposes you can ignore everything except -D and the word
alignment...

>the flag /C is passed to lib, I assume this means create a library.

Case sensitive library (not the default).  Again, you can ignore it (the
GCC library and linker follow Unix standards, I believe).

***********************************************************************
*  chris@keris.demon.co.uk      *                                     *
*  chriscr@cix.compulink.co.uk  *  FIAWOL (Filking Is A Way Of Life)  *
*  100014.3217@compuserve.com   *                                     *
***********************************************************************
Technical Details
Message-ID: <817379987snz@keris.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <1995Nov21.100102.1@gst-soft.demon.co.uk> <817324091snz@illuin.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bb05,94505efb0ecb770c
X-Google-Attributes: gid10bb05,public
From: Chris Croughton <chris@keris.demon.co.uk>
Subject: Re: Building KA9Q...
Date: 1995/11/26
Message-ID: <817379987snz@keris.demon.co.uk>
X-Deja-AN: 120164056
x-nntp-posting-host: keris.demon.co.uk
references: <1995Nov21.100102.1@gst-soft.demon.co.uk> <817324091snz@illuin.demon.co.uk>
organization: Keristor Systems
newsgroups: demon.ip.developers