Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Build process cleanup
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Aleksej Saushev  
View profile  
 More options Nov 29 2010, 7:39 pm
From: Aleksej Saushev <a...@inbox.ru>
Date: Tue, 30 Nov 2010 03:39:04 +0300
Local: Mon, Nov 29 2010 7:39 pm
Subject: Build process cleanup

Hello!

Currently, it isn't much convenient to build pForth with non-gcc
compiler (e.g. Clang/LLVM or OpenWatcom) because of gcc-specific flags
and gcc-specific behaviour regarding unknown flags. I reworked handling
of CPPFLAGS, CFLAGS, LDFLAGS once more to allow easy resetting of
non-essential "extra" flags like warnings, optimisations and
configurational definitions. All of them are assigned as default values
of XCPPFLAGS, XCFLAGS, XLDFLAGS now. Now CPPFLAGS, CFLAGS, and LDFLAGS
are used in completely traditional way, like it is done in BSD and GNU
systems (e.g. setting CPPFLAGS overrides everything including essential
"-I." flag).

In addition, there's no convenient access to building of dictionary
image alone, make doesn't handle many-to-many relations well, which
isn't needed here, there's almost direct way to convert binary image to
C source for inlining.
I've separated building of "pforth.dic" image and "pfdicdat.h" image.

At last, I've removed references to variables which were never assigned,
declared phony targets as such, and did other minor cleanup work.

Summary:

Separate building of binary dictionary image
and C source (inlined) dictionary image.

Make CPPFLAGS, CFLAGS, LDFLAGS semantics more traditional.
XCPPFLAGS, XCFLAGS, XLDFLAGS contain "extension" flags now,
resetting them to empty values effects in building of bare pForth
without FPN support, optimisations and other features.

Declare phony (non-material) targets as suggested by standards.

Use parameters where names were hardcoded.

  image-decoupling.diff
6K Download

--
HE CE3OH...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Phil Burk  
View profile  
 More options Nov 29 2010, 10:15 pm
From: Phil Burk <p...@softsynth.com>
Date: Mon, 29 Nov 2010 19:15:48 -0800
Local: Mon, Nov 29 2010 10:15 pm
Subject: Re: [pforthdev:59] Build process cleanup
Hello Aleksej,

Great work on the Makefile.  I also like the mods you made for SDAD.

I checked in your patch as rev 50.

Thank you,
Phil Burk

On 11/29/10 4:39 PM, Aleksej Saushev wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »