Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: build is broken on PowerPC: make: [charbit.h] Error 127 (ignored) #83

Closed
barracuda156 opened this issue Jul 27, 2023 · 32 comments
Closed
Labels

Comments

@barracuda156
Copy link

--->  Configuring calc
--->  Building calc
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-2.14.2.1" && /usr/bin/make -j1 -w all CC=/opt/local/bin/gcc-mp-12 DARWIN_ARCH="-arch ppc" 
make: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-2.14.2.1'
forming have_limits.h
have_limits.h formed
forming have_ban_pragma.h
have_ban_pragma.h formed
forming charbit.h
make: [charbit.h] Error 127 (ignored)
charbit.h formed
forming have_unistd.h
have_unistd.h formed
forming have_stdlib.h
have_stdlib.h formed
forming longbits.h
make: *** [longbits.h] Error 127
make: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-2.14.2.1'
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-2.14.2.1" && /usr/bin/make -j1 -w all CC=/opt/local/bin/gcc-mp-12 DARWIN_ARCH="-arch ppc" 
Exit code: 2
Error: Failed to build calc: command execution failed

Same failure with gcc-4.2 and gcc-12.

@lcn2
Copy link
Owner

lcn2 commented Jul 28, 2023

Hello @barracuda156,

We have no PowerPC hardware, so we will need your help in diagnosing this issue.

Please upload the output of make debug as in:

make debug

PLEASE attach the debug.out file to your GitHub issue.

@barracuda156
Copy link
Author

@lcn2 Your suggestion was very helpful: I did not otherwise notice that Makefile has LCC= clang (and Macports left that as-is). This cannot possibly work for PowerPC, where only GCC is available (old Xcode one or the newest, but no Clangs in any case).

Once that is fixed, the build completes successfully (with multiple warnings like warning: ISO C90 does not support 'long long').

Could we get rid or hardcoding a specific compiler for Darwin or otherwise at least avoid Clang on PowerPC?

@lcn2
Copy link
Owner

lcn2 commented Jul 28, 2023

@lcn2 Your suggestion was very helpful: I did not otherwise notice that Makefile has LCC= clang (and Macports left that as-is). This cannot possibly work for PowerPC, where only GCC is available (old Xcode one or the newest, but no Clangs in any case).

Once that is fixed, the build completes successfully (with multiple warnings like warning: ISO C90 does not support 'long long').

What is the latest C standard supported by the PowerPC gcc compiler? Does forcing -std=gnu11 address the above "long long" warnings, for example?

Could we get rid or hardcoding a specific compiler for Darwin or otherwise at least avoid Clang on PowerPC?

Not sure what the impact on later Darwin systems might be to remove the clang reference in the Darwin section.

@barracuda156, by running:

make debug

A detailed file called debug.out will be created. Attaching the resulting debug.out file to a comment might help determine how best to detect the PowerPC case and special case the compiler to gcc for that hardware. And depending on the answer to the above question about "long long", the C standard could be set in that special case as well.

@ryandesign
Copy link

What is the latest C standard supported by the PowerPC gcc compiler? Does forcing -std=gnu11 address the above "long long" warnings, for example?

The latest compiler that was part of Xcode on Mac OS X 10.5, the last version compatible with PowerPCs, was gcc 4.2.1. That gcc version was released in 2007 so it predates c11 support by a few years. long long is supposed to be in c99 already. gcc 4.2.1 supports c99 but defaults to c89 (actually gnu89); c99 can be had with -std=c99 (or -std=gnu99 if you need GNU extensions). If you use long long on all platforms, you should request the c99 or gnu99 standard on all platforms; no need for any platform-specific code.

Not sure what the impact on later Darwin systems might be to remove the clang reference in the Darwin section.

None; just use LCC=cc everywhere. All Macs, and hopefully all OSes with compilers, have cc pointing to whatever the default C compiler is.

@lcn2
Copy link
Owner

lcn2 commented Jul 29, 2023

What is the latest C standard supported by the PowerPC gcc compiler? Does forcing -std=gnu11 address the above "long long" warnings, for example?

The latest compiler that was part of Xcode on Mac OS X 10.5, the last version compatible with PowerPCs, was gcc 4.2.1. That gcc version was released in 2007 so it predates c11 support by a few years. long long is supposed to be in c99 already. gcc 4.2.1 supports c99 but defaults to c89 (actually gnu89); c99 can be had with -std=c99 (or -std=gnu99 if you need GNU extensions). If you use long long on all platforms, you should request the c99 or gnu99 standard on all platforms; no need for any platform-specific code.

Not sure what the impact on later Darwin systems might be to remove the clang reference in the Darwin section.

None; just use LCC=cc everywhere. All Macs, and hopefully all OSes with compilers, have cc pointing to whatever the default C compiler is.

The top of the master branch defaults "LCC=cc" for Darwin as well as the new calc v2.14.2.2 release.

We recommend that you fetch the top of of the master branch or the tarball from the new calc v2.14.2.2 release.

@lcn2
Copy link
Owner

lcn2 commented Jul 29, 2023

Once you fetched the top of the master branch or fetched the source from the new calc v2.14.2.2, @barracuda156 :

Once you have done this, @barracuda156, please run:

make debug

and then attach the debug.out file to a comment.

This will help us fix the PowerPC warnings about "long long" and c90.

If we can detect the PowerPC architecture under Darwin in the Makefile, we can add add "-std=gnu99" to CFLAGS so that the PowerPC will compile under "gnu99". Moreover the use of "long long" on a PowerPC may improve the performance of calc.

@barracuda156
Copy link
Author

@lcn2 Will do in an hour or so.

P. S. There should not be a particular difficulty in detecting powerpc. However, -std=gnu99 will be equally needed on Intel, as long as gcc-4.2 is used, which is the standard on 10.4–10.5, as well as perhaps on 10.6, at least outside of Macports. (10.4–10.5 will have identical Xcode toolchain regardless of the arch, 10.6 for PPC has a somewhat older toolchain that 10.6.x for Intel.)
Also, be it needed, modern compilers are supported at least on 10.4+, but no clangs for PPC and perhaps for 10.4 any arch.

@lcn2
Copy link
Owner

lcn2 commented Jul 29, 2023

@lcn2 Will do in an hour or so.

P. S. There should not be a particular difficulty in detecting powerpc. However, -std=gnu99 will be equally needed on Intel

Thanks.

For Darwin Intel based macOS that is reasonably up to date, the cc will default to a C standard that is reasonable, especially in terms of "long long". There isn't a need to specify -std=gnu99 for Darwin Intel: in fact most Darwin Intel systems have a reasonably up to date C compiler whose default C standard is even later. We don't plan to support very old Darwin Intel macOS with pre-gnu99 C compilers.

The only special Darwin case is the Darwin PowerPC case. The Darwin PowerPC has been in "End of Life" support and by default, doesn't necessarily have a C compiler that defaults to a reasonably recent C standard: unless someone has taken the trouble to install a more recent default C compiler.

@barracuda156
Copy link
Author

@lcn2 Is this what is needed?
calc_debug.log

P. S. Re Intel, I meant of course <= 10.6. Sorry if I was not clear. But the flag can still be used unconditionally, AFAIK.

@lcn2
Copy link
Owner

lcn2 commented Jul 30, 2023

@lcn2 Is this what is needed? calc_debug.log

P. S. Re Intel, I meant of course <= 10.6. Sorry if I was not clear. But the flag can still be used unconditionally, AFAIK.

Thanks, @barracuda156,

With commit 3148ce0 Apple Power PC systems should now compile, by default, with:

-arch ppc -std=gnu99

This should make is easier for calc to compile on an Apple Power PC by default.

Please fetch the top of the master branch and give us the output of:

make calcinfo

Then try:

make clobber all chk && echo "All is OK"

And if "All is OK" then try:

make clobber all chk CCWERR=-Werror && echo "All is VERY OK"

and see if "All is VERY OK".

If something goes wrong, please attach another "calc_debug.log" file.

@lcn2
Copy link
Owner

lcn2 commented Jul 31, 2023

The release of the next stable version of calc is pending your reply, as well as the process of updating the Debian version of calc. We are holding off those actions in case something more is needed for PowerPC.

If at all possible, @barracuda156, please review comment 1657098727 above and respond before Friday 2023 Aug 4.

Sorry to be in a rush and thanks for your help.

@barracuda156
Copy link
Author

@lcn2 Please allow me until tomorrow. Been a busy day, and it is almost 5 AM here, need to sleep :)

I will update on this ASAP.

@lcn2
Copy link
Owner

lcn2 commented Jul 31, 2023

@lcn2 Please allow me until tomorrow. Been a busy day, and it is almost 5 AM here, need to sleep :)

I will update on this ASAP.

Thanks .. tomorrow will be just fine.

@barracuda156
Copy link
Author

@lcn2 Will update in an hour or so on this.

@lcn2
Copy link
Owner

lcn2 commented Aug 1, 2023

@lcn2 Will update in an hour or so on this.

Thanks!

@barracuda156
Copy link
Author

barracuda156 commented Aug 1, 2023

A quick update: building from 9fcdd80 and running:

Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-9fcdd80549214ff072feda6b7e187a40b0ad3243" && make clobber all chk && echo All is OK -j1 -w

I do get All is okay:

rm -f cscript/.all
cd cscript; make -f Makefile AR="ar" BINDIR="/usr/local/bin" CALC_INCDIR="/usr/include/calc" CALC_SHAREDIR="/usr/local/share/calc" CAT="cat" CHMOD="chmod" CMP="cmp" CO="co" CP="cp" E="2>/dev/null" ECHON="/bin/echo -n" FMT="fmt" H="@" HELPDIR="/usr/local/share/calc/help" INCDIR="/usr/include" LANG="C" LIBDIR="/usr/local/lib" MAKE_FILE=Makefile MKDIR="mkdir" MINGW="" MV="mv" PREFIX="/usr/local" Q="@" RM="rm" RMDIR="rmdir" S=">/dev/null 2>&1" SCRIPTDIR="/usr/local/bin/cscript" SED="sed" SHELL="/bin/sh" SORT="sort" T="" TOUCH="touch" TRUE="true" V="@:" all
rm -f .all
touch .all
CALCPATH=./cal LD_LIBRARY_PATH=. DYLD_LIBRARY_PATH=. CALCHELP=./help CALCCUSTOMHELP=./custom ./calc -d -q read regress 2>&1 | awk -f check.awk
chk OK
All is OK -j1 -w

(That -j1 -w Macports adds from somewhere, but seems not to affect anything.)

But:

  1. This command is unsupported:
xcrun: error: unrecognized option: --show-sdk-path

usage: 
xcrun [-verbose] [-no-cache] [-sdk <sdkroot>] [-log] [-run] <utility> [argument ...]
xcrun [-verbose] [-no-cache] [-sdk <sdkroot>] -find <utility> 
<tool> [tool arguments ...]
  1. I get numerous warnings like:
longbits.h: warning: ISO C90 does not support 'long long'
zrand.c: warning: use of C99 long long integer constant
opcodes.c: warning: ISO C90 forbids specifying subobject to initialize
func.c: warning: ISO C90 forbids specifying subobject to initialize

@lcn2
Copy link
Owner

lcn2 commented Aug 1, 2023

Hello @barracuda156,

Please fetch the top of the master branch and give us the output of:

make calcinfo

UPDATE 0

We need this to fix the PowerPC issue. We have no PowerPC systems and cannot guess the proper parameters to shield older PowerPC systems from more modern code.

We are convinced we can fix those issues if we know the PowerPC system parameters. That is WHY we have asked for data.

UPDATE 1

That is also WHY we need the output of make debug. We do not have a PowerPC system to test.

@barracuda156
Copy link
Author

Then with -Werror it fails on warnings I referred to:

rm -f custom/.all
cd custom; make -f Makefile ALLOW_CUSTOM="-DCUSTOM" AR="ar" ARCH_CFLAGS="" AWK="awk" BINDIR="/usr/local/bin" BLD_TYPE="calc-dynamic-only" CALC_INCDIR="/usr/include/calc" CALC_SHAREDIR="/usr/local/share/calc" CAT="cat" CC=" cc -Werror" CCBAN="-UUNBAN" CCERR="" CCMISC="" CCOPT="-O3 -g3" CCWARN="-Wall -Wextra -pedantic" CC_SHARE="-fPIC" CFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic     -UUNBAN -fPIC -O3 -g3 -I.." CHMOD="chmod" CMP="cmp" CO="co" COMMON_ADD="" COMMON_CFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic     -I.." COMMON_LDFLAGS=" " CP="cp" CUSTOMCALDIR="/usr/local/share/calc/custom" CUSTOMHELPDIR="/usr/local/share/calc/custhelp" CUSTOMINCDIR="/usr/include/calc/custom" DEBUG="-O3 -g3" DEFAULT_LIB_INSTALL_PATH="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-9fcdd80549214ff072feda6b7e187a40b0ad3243:/usr/local/lib:/usr/local/lib" DIFF="diff" E="2>/dev/null" FMT="fmt" GREP="grep" H="@" HELPDIR="/usr/local/share/calc/help" ICFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic     -UUNBAN -fPIC -I.." ILDFLAGS=" " INCDIR="/usr/include" LANG="C" LCC="cc" LDCONFIG="" LDFLAGS="  " LD_SHARE="" LIBCUSTCALC_SHLIB="-single_module -undefined dynamic_lookup -dynamiclib -install_name /usr/local/lib/libcustcalc.2.14.2.2.dylib " LIBDIR="/usr/local/lib" LN="ln" LS="ls" MAKE="make" MAKEDEPEND="makedepend" MAKE_FILE=Makefile MKDIR="mkdir" MV="mv" MINGW="" PREFIX="/usr/local" PURIFY="" Q="@" RANLIB="ranlib" RM="rm" RMDIR="rmdir" S=">/dev/null 2>&1" SCRIPTDIR="/usr/local/bin/cscript" SED="sed" SHELL="/bin/sh" SORT="sort" T="" TAIL="tail" TOUCH="touch" TRUE="true" V="@:" VERSION="2.14.2.2" WNO_IMPLICT="-Wno-implicit" WNO_ERROR_LONG_LONG="-Wno-error=long-long" WNO_LONG_LONG="-Wno-long-long" target="Darwin" all
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic     -UUNBAN -fPIC -O3 -g3 -I..   -c -o custtbl.o custtbl.c
cc1: warnings being treated as errors
In file included from ../zmath.h:41,
                 from ../qmath.h:32,
                 from ../cmath.h:32,
                 from ../value.h:33,
                 from custtbl.c:30:
../longbits.h:24: warning: ISO C90 does not support 'long long'
../longbits.h:25: warning: ISO C90 does not support 'long long'
make[1]: *** [custtbl.o] Error 1
make: *** [custom/.all] Error 2
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-9fcdd80549214ff072feda6b7e187a40b0ad3243" && make -j1 clobber all chk CCWERR=-Werror && echo All is VERY OK -j1 -w 
Exit code: 2

(Install paths are wrong here, because I disabled build.args from Macports side.)

I cannot run this totally without Macports, since then linking to dylibs fails.

@barracuda156
Copy link
Author

@lcn2 This is run without any Macports involvement beyond fetching and extract:

--->  Checksumming calc-9fcdd80549214ff072feda6b7e187a40b0ad3243.tar.gz
--->  Extracting calc
--->  Extracting calc-9fcdd80549214ff072feda6b7e187a40b0ad3243.tar.gz
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/calc/calc-9fcdd80549214ff072feda6b7e187a40b0ad3243.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
36-25% cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-9fcdd80549214ff072feda6b7e187a40b0ad3243 
36-25% sudo make calcinfo
=-=-=-=-= Makefile start of calcinfo rule =-=-=-=-=

=-=-= UNAME=uname =-=-=

=-=-= output of ${UNAME} -a follows =-=-=
Darwin 36-25.wireless-city.scu.edu.tw 10.0.0d2 Darwin Kernel Version 10.0.0d2: Fri Oct 10 19:37:52 PDT 2008; root:xnu-1346.7~1/RELEASE_PPC Power Macintosh
=-=-= end of output of ${UNAME} -a =-=-=

=-=-= output of ${UNAME} -s follows =-=-=
Darwin
=-=-= end of output of ${UNAME} -s =-=-=

=-=-= output of ${UNAME} -p follows =-=-=
powerpc
=-=-= end of output of ${UNAME} -p =-=-=

=-=-= output of ${UNAME} -m follows =-=-=
Power Macintosh
=-=-= end of output of ${UNAME} -m =-=-=

=-=-= output of ${UNAME} -o follows =-=-=
uname: illegal option -- o
usage: uname [-amnprsv]
make: [calcinfo] Error 1 (ignored)
=-=-= end of output of ${UNAME} -o =-=-=

=-=-= output of top makefile variables follows =-=-=
target= Darwin
arch= powerpc
hardware= Power Macintosh
OSNAME= 
SHELL= /bin/sh
=-=-= end of output top makefile variables =-=-=

=-=-= HOSTNAME=hostname =-=-=

=-=-= output of ${HOSTNAME} follows =-=-=
36-25.wireless-city.scu.edu.tw
=-=-= end of output of ${HOSTNAME} =-=-=

=-=-= DATE=date =-=-=

=-=-= output of ${DATE} follows =-=-=
Wed Aug  2 04:41:50 CST 2023
=-=-= end of output of ${DATE} =-=-=

=-=-= LCC=cc =-=-=

=-=-= output of ${LCC} -v follows =-=-=
Using built-in specs.
Target: powerpc-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5626~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/usr/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/4.2.1 --program-prefix= --host=powerpc-apple-darwin10 --target=powerpc-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5626)
=-=-= end of output of ${LCC} -v =-=-=

=-=-= PWD= =-=-=

=-=-= output of echo ${PWD} follows =-=-=

=-=-= end of output of echo ${PWD} =-=-=

=-=-= PWDCMD=pwd =-=-=

=-=-= output of ${PWDCMD} follows =-=-=
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-9fcdd80549214ff072feda6b7e187a40b0ad3243
=-=-= end of output of ${PWDCMD} =-=-=

=-=-= VERSION=2.14.2.2 =-=-=

=-=-= output of echo ${VERSION} follows =-=-=
2.14.2.2
=-=-= end of output of echo ${VERSION} =-=-=

=-=-=-=-= Makefile end of calcinfo rule =-=-=-=-=

@lcn2
Copy link
Owner

lcn2 commented Aug 1, 2023

Hello @barracuda156,

Just as an FYI: We do not use nor test macports for calc. Instead we use, test, and use recommend HomeBrew.
We know there are "different camps" of which is better. We chose to use long ago and have continued to use HomeBrew.

Nevertheless, we also tend to use Intel and Apple Silicon processors running very recent macOS.
Our last PowerPC was given away many years ago, so we no longer have access to such older systems.

We don't mind their challenge of supporting a PowerPC compilation, however. It is just a challenge to do so without such a system, so please accept our apologies.

In regards to macports: @mattdm ( Matthew Miller ) has in the past, updated macports in behalf of calc. He has done and excellent job for calc under macports in the past. We only mention this in case you wish to continue to try and work the macports issues under a PowerPC.

Nevertheless, your comment 1661064426 has given us an important clue as to what is missing from that older macOS for PowerPC.

Please don't be discouraged, we will make another effort to resolve the above problems you have informed it about.

You might find is better to compile calc by downloading the source to /usr/local/src/bin/calc by doing:

cd /usr/local
mkdir -p src/bin
cd src/bin
git clone https://github.com/lcn2/calc.git
cd calc

And then trying to compile calc directly:

cd /usr/local/src/bin/calc
clobber all chk && echo "All is OK"

And if all is well:

cd /usr/local/src/bin/calc
sudo make install

Meanwhile, please consider accepting our apologies as we work to try and indirectly support calc on the PowerPC.

Stay tuned for further updates!

UPDATE 0

To do the above suggested direct compile, you probably will need to install or have installed the macOS developer stuff including the command line utilities of Xcode for the PowerPC.

@barracuda156
Copy link
Author

We chose to use long ago and have continued to use HomeBrew.

Not intending to convince anyone in regard of personal preferences, but HomeBrew does not support PowerPC systems, AFAIK, and simply will not work there.

we will make another effort to resolve the above problems you have informed it about.

This is greatly appreciated.

You might find is better to compile calc by downloading the source

How would changing the directory help though? (Besides, we want to fix calc in Macports, not just for me locally.)
If external libraries are required, they won’t be found in /usr/local. If they are not required, directory does not matter, and /opt/local will work just as well.

@mattdm
Copy link

mattdm commented Aug 1, 2023

Hmmm, that wasn't me, I'm afraid.

@lcn2
Copy link
Owner

lcn2 commented Aug 2, 2023

Hmmm, that wasn't me, I'm afraid.

Sorry for the confusion.

@lcn2
Copy link
Owner

lcn2 commented Aug 2, 2023

we will make another effort to resolve the above problems you have informed it about.

This is greatly appreciated.

We plan to use the information you provided to assist.

You might find is better to compile calc by downloading the source

How would changing the directory help though? (Besides, we want to fix calc in Macports, not just for me locally.)

If external libraries are required, they won’t be found in /usr/local. If they are not required, directory does not matter, and /opt/local will work just as well.

Back in the early macOS such as Mac OS X 10.4 Tiger, calc compiled directly on the Mac Power PC without Macports. We just used Xcode 2.x with the command line tools installation option. And while there have been changes to calc source that is causing warnings, calc compiled and worked even back then.

Certainly by the for Mac OS X 10.6 Snow Leopard came around, calc was in heavy use on a number of PowerPCs and Xcode 4.2 worked well with calc.

So we were just wondering if you have Xcode with the native PowerPC Unix command line tools installed, if those native non-macports tools produced a different set of results.

We are trying to determine if there is a macports problem, or not. We are NOT trying to avoid addressing macports. We are just trying to debug things.

Even later when we started using HomeBrew, we continue to compile using Apple's Xcode: although external libraries such as libhistory came from HomeBrew, the compiler, linker, include files, headers and system liberties are from macOS itself. We don't use Xcode to build calc: we only use the installed compiler, linker, include files, headers and system liberties.

Those warnings about not finding xcrun are also interesting. The xcrun(1) command has been on macOS / Mac OS X and Xcode for a very long time. We wonder if, for some reason, the native compilers and Unix command line tools are missing OR perhaps your path is not setup to use the system tools.

It is OK to use macports for things like libhistory if you wish. We do the same for HomeBrew. Nevertheless we try to reply on the Apple supplied compilers and header files, etc.

We see paths such as:

/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-9fcdd80549214ff072feda6b7e187a40b0ad3243

Assume you at rushing Mac OS X 10.6 Snow Leopard, you should have or be able to install Xcode such as Xcode 4.2. We are fairly sure that the xcrun(1) command was available back then.

So when we talk about compiling calc on native Power PC under Mac OS X, we are talking about using the Apple supplied compilers, header files, system libraries and Unix command line tools. Again you can link things like libhistory.a from something such as macports. And we intend to try and support macports. We are just trying to understand why your particular environment is so problematic.

Thanks for your patience. We will make changes to assist your environment and the PowerPC.

@barracuda156
Copy link
Author

barracuda156 commented Aug 2, 2023

although external libraries such as libhistory came from HomeBrew, the compiler, linker, include files, headers and system liberties are from macOS itself. We don't use Xcode to build calc: we only use the installed compiler, linker, include files, headers and system liberties.

This is what Macports does as well on older systems. We can see from the log that Apple (Xcode) gcc-4.2 is picked; this compiler uses OS runtime libraries, not Macports ones. I need to verify which linker it picks (I suppose its own, Apple one), but we do not face any linking issues anyway, so that should be inconsequential.

We see paths such as:

Well, it was just easier to use Macports to do some mechanical work; in effect, it is the same as fetching directly from your repo.
But I can do the build outside of Macports prefix. I just need to figure out where to add correct linking flags manually, so that the build system finds libraries it wants. That should not be hard after all.

Assume you at rushing Mac OS X 10.6 Snow Leopard, you should have or be able to install Xcode such as Xcode 4.2.

There is no Xcode 4.2 for PowerPC. The last Xcode to support ppc is 3.2.6, which can be used in 10.6.8 Rosetta (that is, it runs on Intel only, but can build for ppc). The last Xcode to run natively on PowerPC is 3.2.
Leopard has 3.1.4, Tiger has 2.5.

We are fairly sure that the xcrun(1) command was available back then.

xcrun is available starting from Leopard (10.5), but syntax used here is invalid: --show-sdk-path is not recognized either on 10.5 or on 10.6 (and least ppc one).
10.4 does not have xcrun at all.

@lcn2
Copy link
Owner

lcn2 commented Aug 2, 2023

We are fairly sure that the xcrun(1) command was available back then.
xcrun is available starting from Leopard (10.5), but syntax used here is invalid: --show-sdk-path is not recognized either on 10.5 or on 10.6 (and least ppc one).
10.4 does not have xcrun at all.

What does the xcrun(1) man page show? What does the help/usage message from xcrun show on your system?

@lcn2
Copy link
Owner

lcn2 commented Aug 2, 2023

Assume you at rushing Mac OS X 10.6 Snow Leopard, you should have or be able to install Xcode such as Xcode 4.2.
There is no Xcode 4.2 for PowerPC. The last Xcode to support ppc is 3.2.6, which can be used in 10.6.8 Rosetta (that is, it runs on Intel only, but can build for ppc). The last Xcode to run natively on PowerPC is 3.2.
Leopard has 3.1.4, Tiger has 2.5.

Thanks for the clarification.

@lcn2
Copy link
Owner

lcn2 commented Aug 2, 2023

Hello @barracuda156,

The xcrun command available under Xcode 3.2.6 does not seem to have a more where the include files are found, so we will assume that:

INCDIR=/usr/include

If that is not correct for your system, then add INCDIR=/the/path/to/usr/include to the end of your make commands.

Please download commit 948d9e8 (top of the master branch) and attempt to compile calc and test as you do normally:

make clobber all chk && echo "All is OK"

and then if "All if OK", then please try:

make clobber all chk CCWERR=-Werror && echo "All is Very OK"

Thanks!

@barracuda156
Copy link
Author

barracuda156 commented Aug 2, 2023

@lcn2 I have found the info on xcrun: --show-sdk-path does not work in 10.7 and earlier, see: https://trac.macports.org/ticket/56666#comment:8
That is, it seems to be supported starting from Xcode 5.

@barracuda156
Copy link
Author

@lcn2 Thank you, I will test that soon!

@barracuda156
Copy link
Author

@lcn2 Looks perfect now! Thank you very much!

--->  Extracting calc-948d9e807b545620afb27b7bda8d631d1e193a13.tar.gz
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/calc/calc-948d9e807b545620afb27b7bda8d631d1e193a13.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
--->  Configuring calc
--->  Building calc
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-948d9e807b545620afb27b7bda8d631d1e193a13" && make clobber all chk CCWERR=-Werror && echo All is Very OK -j1 -w 
rm -f addop.o assocfunc.o blkcpy.o block.o byteswap.o calcerr.o codegen.o comfunc.o commath.o config.o const.o custom.o file.o func.o hash.o help.o hist.o input.o jump.o label.o lib_calc.o lib_util.o listfunc.o matfunc.o math_error.o obj.o opcodes.o pix.o poly.o prime.o qfunc.o qio.o qmath.o qmod.o qtrans.o quickhash.o seed.o sha1.o size.o str.o strl.o symbol.o token.o value.o version.o zfunc.o zio.o zmath.o zmod.o zmul.o zprime.o zrand.o zrandom.o
rm -f calc.o
rm -f endian.o longbits.o have_newstr.o have_uid_t.o have_const.o fposval.o have_fgetsetpos.o have_fpos_pos.o try_strarg.o have_stdvs.o have_varvs.o have_posscl.o have_memmv.o have_ustat.o have_getsid.o have_getpgid.o have_environ.o have_gettime.o have_getprid.o ver_calc.o have_rusage.o have_strdup.o have_unused.o have_ban_pragma.o have_strlcpy.o have_strlcat.o have_arc4random.o charbit.o have_statfs.o
rm -f ll_tmp fpos_tmp fposval_tmp const_tmp uid_tmp newstr_tmp vs_tmp memmv_tmp offscl_tmp posscl_tmp newstr_tmp getsid_tmp gettime_tmp getprid_tmp rusage_tmp strdup_tmp
rm -f align32 fposval have_uid_t have_const endian longbits have_newstr have_stdvs have_varvs have_ustat have_getsid have_getpgid have_gettime have_getprid ver_calc have_strdup have_environ{EXT} have_unused have_fpos have_fpos_pos have_offscl have_rusage have_ban_pragma have_strlcpy have_strlcat have_arc4random charbit have_statfs
rm -f have_args.sh
rm -f sample_many.o sample_rand.o
rm -f .libcustcalc_error
rm -f calc.spec.sed
=-=-=-=-= Invoking clean rule for help =-=-=-=-=
cd help; make -f Makefile AR="ar" BINDIR="/usr/local/bin" CALC_INCDIR="/usr/include/calc" CALC_SHAREDIR="/usr/local/share/calc" CAT="cat" CFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3" CHMOD="chmod" CMP="cmp" CO="co" COMMON_ADD="" COMMON_CFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99 " COMMON_LDFLAGS=" -std=gnu99 " CP="cp" E="2>/dev/null" EXT="" FMT="fmt" GREP="grep" H="@" HELPDIR="/usr/local/share/calc/help" ICFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC" ILDFLAGS=" -std=gnu99 " INCDIR="/usr/include" LANG="C" LCC="cc" LIBDIR="/usr/local/lib" MAKE_FILE=Makefile MKDIR="mkdir" MINGW="" MV="mv" PREFIX="/usr/local" Q="@" RM="rm" RMDIR="rmdir" S=">/dev/null 2>&1" SCRIPTDIR="/usr/local/bin/cscript" SED="sed" SHELL="/bin/sh" T="" TOUCH="touch" TRUE="true" V="@:" clean
rm -f obj mkbuiltin funclist.c funclist.o funclist
rm -f COPYING COPYING-LGPL questions
=-=-=-=-= Back to the main Makefile for clean rule =-=-=-=-=
=-=-=-=-= Invoking clean rule for cal =-=-=-=-=
cd cal; make -f Makefile AR="ar" BINDIR="/usr/local/bin" CALC_INCDIR="/usr/include/calc" CALC_SHAREDIR="/usr/local/share/calc" CAT="cat" CHMOD="chmod" CMP="cmp" CO="co" CP="cp" E="2>/dev/null" H="@" HELPDIR="/usr/local/share/calc/help" INCDIR="/usr/include" LANG="C" LIBDIR="/usr/local/lib" MAKE_FILE=Makefile MKDIR="mkdir" MINGW="" MV="mv" PREFIX="/usr/local" Q="@" RM="rm" RMDIR="rmdir" S=">/dev/null 2>&1" SCRIPTDIR="/usr/local/bin/cscript" SHELL="/bin/sh" T="" TOUCH="touch" TRUE="true" V="@:" clean
make[1]: Nothing to be done for `clean'.
=-=-=-=-= Back to the main Makefile for clean rule =-=-=-=-=
cd custom; make -f Makefile ALLOW_CUSTOM="-DCUSTOM" AR="ar" ARCH_CFLAGS=" -arch ppc" AWK="awk" BINDIR="/usr/local/bin" BLD_TYPE="calc-dynamic-only" CALC_INCDIR="/usr/include/calc" CALC_SHAREDIR="/usr/local/share/calc" CAT="cat" CC=" cc -Werror" CCBAN="-UUNBAN" CCERR="" CCMISC=" -arch ppc" CCOPT="-O3 -g3" CCWARN="-Wall -Wextra -pedantic" CC_SHARE="-fPIC" CFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3 -I.." CHMOD="chmod" CMP="cmp" CO="co" COMMON_ADD="" COMMON_CFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -I.." COMMON_LDFLAGS=" -std=gnu99 " CP="cp" CUSTOMCALDIR="/usr/local/share/calc/custom" CUSTOMHELPDIR="/usr/local/share/calc/custhelp" CUSTOMINCDIR="/usr/include/calc/custom" DEBUG="-O3 -g3" DEFAULT_LIB_INSTALL_PATH="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-948d9e807b545620afb27b7bda8d631d1e193a13:/usr/local/lib:/usr/local/lib" DIFF="diff" E="2>/dev/null" FMT="fmt" GREP="grep" H="@" HELPDIR="/usr/local/share/calc/help" ICFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -I.." ILDFLAGS=" -std=gnu99 " INCDIR="/usr/include" LANG="C" LCC="cc" LDCONFIG="" LDFLAGS="  -std=gnu99 " LD_SHARE=" -arch ppc" LIBCUSTCALC_SHLIB="-single_module -undefined dynamic_lookup -dynamiclib -install_name /usr/local/lib/libcustcalc.2.14.2.2.dylib  -arch ppc" LIBDIR="/usr/local/lib" LN="ln" LS="ls" MAKE="make" MAKEDEPEND="makedepend" MAKE_FILE=Makefile MKDIR="mkdir" MV="mv" MINGW="" PREFIX="/usr/local" PURIFY="" Q="@" RANLIB="ranlib" RM="rm" RMDIR="rmdir" S=">/dev/null 2>&1" SCRIPTDIR="/usr/local/bin/cscript" SED="sed" SHELL="/bin/sh" SORT="sort" T="" TAIL="tail" TOUCH="touch" TRUE="true" V="@:" VERSION="2.14.2.2" WNO_IMPLICT="-Wno-implicit" WNO_ERROR_LONG_LONG="-Wno-error=long-long" WNO_LONG_LONG="-Wno-long-long" target="Darwin" clean
rm -f custtbl.o c_argv.o c_devnull.o c_help.o c_sysinfo.o c_pzasusb8.o c_pmodm127.o c_register.o
make custom/Makefile
make[1]: Nothing to be done for `custom/Makefile'.
cd cscript; make -f Makefile AR="ar" BINDIR="/usr/local/bin" CALC_INCDIR="/usr/include/calc" CALC_SHAREDIR="/usr/local/share/calc" CAT="cat" CHMOD="chmod" CMP="cmp" CO="co" CP="cp" E="2>/dev/null" ECHON="/bin/echo -n" FMT="fmt" H="@" HELPDIR="/usr/local/share/calc/help" INCDIR="/usr/include" LANG="C" LIBDIR="/usr/local/lib" MAKE_FILE=Makefile MKDIR="mkdir" MINGW="" MV="mv" PREFIX="/usr/local" Q="@" RM="rm" RMDIR="rmdir" S=">/dev/null 2>&1" SCRIPTDIR="/usr/local/bin/cscript" SED="sed" SHELL="/bin/sh" SORT="sort" T="" TOUCH="touch" TRUE="true" V="@:" clean
rm -f makedep.out
remove files that are obsolete
rm -rf lib
rm -f endian.h stdarg.h libcalcerr.a cal/obj help/obj
rm -f have_vs.c std_arg.h try_stdarg.c fnvhash.c
rm -f win32dll.h have_malloc.h math_error.h string.h string.c
rm -f sample_rand sample_many
rm -f sample_rand-static sample_many-static
rm -f tags .hsrc hsrc
rm -f align32.h args.h calcerr.h conf.h endian_calc.h fposval.h have_ban_pragma.h have_const.h have_fgetsetpos.h have_fpos_pos.h have_getpgid.h have_getprid.h have_getsid.h have_gettime.h have_memmv.h have_newstr.h have_offscl.h have_posscl.h have_rusage.h have_stdlib.h have_strdup.h have_string.h have_strlcat.h have_strlcpy.h have_times.h have_uid_t.h have_unistd.h have_unused.h have_urandom.h have_ustat.h longbits.h terminal.h have_environ.h have_arc4random.h have_limits.h charbit.h have_sys_vfs.h have_sys_param.h have_sys_mount.h have_statfs.h
rm -f calcerr.c
rm -f calc
rm -f *_pure_*.[oa]
rm -f *.pure_linkinfo
rm -f *.pure_hardlin
rm -f *.u
rm -f libcalc.a
rm -f libcustcalc.a
rm -f calc.1 calc.usage
rm -f calc.pixie calc.rf calc.Counts calc.cord
rm -f gen_h Makefile.bak tmp.patch
rm -rf skel
rm -f calc.spec inst_files rpm.mk.patch tmp
rm -f libcalc.2.14.2.2.dylib
rm -f libcalc*
rm -f libcustcalc.2.14.2.2.dylib
rm -f libcustcalc*
rm -f calc-static
rm -f libcalc.a libcustcalc.a
rm -f a.out
rm -f all
rm -f help/all; \
	    cd help; make -f Makefile AR="ar" BINDIR="/usr/local/bin" CALC_INCDIR="/usr/include/calc" CALC_SHAREDIR="/usr/local/share/calc" CAT="cat" CFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3" CHMOD="chmod" CMP="cmp" CO="co" COMMON_ADD="" COMMON_CFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99 " COMMON_LDFLAGS=" -std=gnu99 " CP="cp" E="2>/dev/null" EXT="" FMT="fmt" GREP="grep" H="@" HELPDIR="/usr/local/share/calc/help" ICFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC" ILDFLAGS=" -std=gnu99 " INCDIR="/usr/include" LANG="C" LCC="cc" LIBDIR="/usr/local/lib" MAKE_FILE=Makefile MKDIR="mkdir" MINGW="" MV="mv" PREFIX="/usr/local" Q="@" RM="rm" RMDIR="rmdir" S=">/dev/null 2>&1" SCRIPTDIR="/usr/local/bin/cscript" SED="sed" SHELL="/bin/sh" T="" TOUCH="touch" TRUE="true" V="@:" clobber
rm -f obj mkbuiltin funclist.c funclist.o funclist
rm -f COPYING COPYING-LGPL questions
rm -f builtin man errorcodes resource usage cscript bindings custom_cal libcalc new_custom resource bugs changes contrib COPYING COPYING-LGPL questions releases full .all calc
rm -f binding bug change errorcode type copy
rm -f cal/all; \
	    cd cal; make -f Makefile AR="ar" BINDIR="/usr/local/bin" CALC_INCDIR="/usr/include/calc" CALC_SHAREDIR="/usr/local/share/calc" CAT="cat" CHMOD="chmod" CMP="cmp" CO="co" CP="cp" E="2>/dev/null" H="@" HELPDIR="/usr/local/share/calc/help" INCDIR="/usr/include" LANG="C" LIBDIR="/usr/local/lib" MAKE_FILE=Makefile MKDIR="mkdir" MINGW="" MV="mv" PREFIX="/usr/local" Q="@" RM="rm" RMDIR="rmdir" S=">/dev/null 2>&1" SCRIPTDIR="/usr/local/bin/cscript" SHELL="/bin/sh" T="" TOUCH="touch" TRUE="true" V="@:" clobber
rm -f .all
rm -f custom/all; \
	    make custom/Makefile; \
	    cd custom; make -f Makefile ALLOW_CUSTOM="-DCUSTOM" AR="ar" ARCH_CFLAGS=" -arch ppc" AWK="awk" BINDIR="/usr/local/bin" BLD_TYPE="calc-dynamic-only" CALC_INCDIR="/usr/include/calc" CALC_SHAREDIR="/usr/local/share/calc" CAT="cat" CC=" cc -Werror" CCBAN="-UUNBAN" CCERR="" CCMISC=" -arch ppc" CCOPT="-O3 -g3" CCWARN="-Wall -Wextra -pedantic" CC_SHARE="-fPIC" CFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3 -I.." CHMOD="chmod" CMP="cmp" CO="co" COMMON_ADD="" COMMON_CFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -I.." COMMON_LDFLAGS=" -std=gnu99 " CP="cp" CUSTOMCALDIR="/usr/local/share/calc/custom" CUSTOMHELPDIR="/usr/local/share/calc/custhelp" CUSTOMINCDIR="/usr/include/calc/custom" DEBUG="-O3 -g3" DEFAULT_LIB_INSTALL_PATH="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-948d9e807b545620afb27b7bda8d631d1e193a13:/usr/local/lib:/usr/local/lib" DIFF="diff" E="2>/dev/null" FMT="fmt" GREP="grep" H="@" HELPDIR="/usr/local/share/calc/help" ICFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -I.." ILDFLAGS=" -std=gnu99 " INCDIR="/usr/include" LANG="C" LCC="cc" LDCONFIG="" LDFLAGS="  -std=gnu99 " LD_SHARE=" -arch ppc" LIBCUSTCALC_SHLIB="-single_module -undefined dynamic_lookup -dynamiclib -install_name /usr/local/lib/libcustcalc.2.14.2.2.dylib  -arch ppc" LIBDIR="/usr/local/lib" LN="ln" LS="ls" MAKE="make" MAKEDEPEND="makedepend" MAKE_FILE=Makefile MKDIR="mkdir" MV="mv" MINGW="" PREFIX="/usr/local" PURIFY="" Q="@" RANLIB="ranlib" RM="rm" RMDIR="rmdir" S=">/dev/null 2>&1" SCRIPTDIR="/usr/local/bin/cscript" SED="sed" SHELL="/bin/sh" SORT="sort" T="" TAIL="tail" TOUCH="touch" TRUE="true" V="@:" VERSION="2.14.2.2" WNO_IMPLICT="-Wno-implicit" WNO_ERROR_LONG_LONG="-Wno-error=long-long" WNO_LONG_LONG="-Wno-long-long" target="Darwin" clobber
make[1]: Nothing to be done for `custom/Makefile'.
rm -f custtbl.o c_argv.o c_devnull.o c_help.o c_sysinfo.o c_pzasusb8.o c_pmodm127.o c_register.o
rm -f calc-dynamic-only
rm -f .all Makefile.tmp Makefile.bak
rm -f libcustcalc.2.14.2.2.dylib
rm -f libcustcalc.dylib
rm -f libcustcalc.a
rm -f libcustcalc*
rm -rf skel
rm -f cscript/all; \
	    cd cscript; make -f Makefile AR="ar" BINDIR="/usr/local/bin" CALC_INCDIR="/usr/include/calc" CALC_SHAREDIR="/usr/local/share/calc" CAT="cat" CHMOD="chmod" CMP="cmp" CO="co" CP="cp" E="2>/dev/null" ECHON="/bin/echo -n" FMT="fmt" H="@" HELPDIR="/usr/local/share/calc/help" INCDIR="/usr/include" LANG="C" LIBDIR="/usr/local/lib" MAKE_FILE=Makefile MKDIR="mkdir" MINGW="" MV="mv" PREFIX="/usr/local" Q="@" RM="rm" RMDIR="rmdir" S=">/dev/null 2>&1" SCRIPTDIR="/usr/local/bin/cscript" SED="sed" SHELL="/bin/sh" SORT="sort" T="" TOUCH="touch" TRUE="true" V="@:" clobber
rm -f makedep.out
rm -f .all
rm -f 4dsphere fproduct mersenne piforever plus powerterm simple square README
rm -rf win32 build
rm -f no_implicit.arg
rm -f no_implicit.c no_implicit.o no_implicit
rm -f .static .dynamic calc-dynamic-only calc-static-only
forming have_limits.h
have_limits.h formed
forming have_ban_pragma.h
have_ban_pragma.h formed
forming charbit.h
charbit.h formed
forming have_unistd.h
have_unistd.h formed
forming have_stdlib.h
have_stdlib.h formed
forming longbits.h
longbits.h formed
forming have_unused.h
have_unused.h formed
forming align32.h
align32.h formed
forming have_string.h
have_string.h formed
forming args.h
args.h formed
forming calcerr.h
calcerr.h formed
forming conf.h
conf.h formed
forming endian_calc.h
endian_calc.h formed
forming have_fgetsetpos.h
have_fgetsetpos.h formed
forming have_posscl.h
have_posscl.h formed
forming have_fpos_pos.h
have_fpos_pos.h formed
forming have_offscl.h
have_offscl.h formed
forming have_newstr.h
have_newstr.h formed
forming have_memmv.h
have_memmv.h formed
forming have_const.h
have_const.h formed
forming fposval.h
fposval.h formed
forming have_getpgid.h
have_getpgid.h formed
forming have_getprid.h
have_getprid.h formed
forming have_getsid.h
have_getsid.h formed
forming have_gettime.h
have_gettime.h formed
forming have_rusage.h
have_rusage.h formed
forming have_strdup.h
have_strdup.h formed
forming have_strlcat.h
have_strlcat.h formed
forming have_strlcpy.h
have_strlcpy.h formed
forming have_times.h
have_times.h formed
forming have_uid_t.h
have_uid_t.h formed
forming have_urandom.h
have_urandom.h formed
forming have_ustat.h
have_ustat.h formed
forming terminal.h
terminal.h formed
forming have_environ.h
have_environ.h formed
forming have_arc4random.h
have_arc4random.h formed
forming have_sys_vfs.h
have_sys_vfs.h formed
forming have_sys_param.h
have_sys_param.h formed
forming have_sys_mount.h
have_sys_mount.h formed
forming have_statfs.h
have_statfs.h formed
forming calcerr.c
calcerr.c formed
rm -f custom/.all
cd custom; make -f Makefile ALLOW_CUSTOM="-DCUSTOM" AR="ar" ARCH_CFLAGS=" -arch ppc" AWK="awk" BINDIR="/usr/local/bin" BLD_TYPE="calc-dynamic-only" CALC_INCDIR="/usr/include/calc" CALC_SHAREDIR="/usr/local/share/calc" CAT="cat" CC=" cc -Werror" CCBAN="-UUNBAN" CCERR="" CCMISC=" -arch ppc" CCOPT="-O3 -g3" CCWARN="-Wall -Wextra -pedantic" CC_SHARE="-fPIC" CFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3 -I.." CHMOD="chmod" CMP="cmp" CO="co" COMMON_ADD="" COMMON_CFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -I.." COMMON_LDFLAGS=" -std=gnu99 " CP="cp" CUSTOMCALDIR="/usr/local/share/calc/custom" CUSTOMHELPDIR="/usr/local/share/calc/custhelp" CUSTOMINCDIR="/usr/include/calc/custom" DEBUG="-O3 -g3" DEFAULT_LIB_INSTALL_PATH="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-948d9e807b545620afb27b7bda8d631d1e193a13:/usr/local/lib:/usr/local/lib" DIFF="diff" E="2>/dev/null" FMT="fmt" GREP="grep" H="@" HELPDIR="/usr/local/share/calc/help" ICFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -I.." ILDFLAGS=" -std=gnu99 " INCDIR="/usr/include" LANG="C" LCC="cc" LDCONFIG="" LDFLAGS="  -std=gnu99 " LD_SHARE=" -arch ppc" LIBCUSTCALC_SHLIB="-single_module -undefined dynamic_lookup -dynamiclib -install_name /usr/local/lib/libcustcalc.2.14.2.2.dylib  -arch ppc" LIBDIR="/usr/local/lib" LN="ln" LS="ls" MAKE="make" MAKEDEPEND="makedepend" MAKE_FILE=Makefile MKDIR="mkdir" MV="mv" MINGW="" PREFIX="/usr/local" PURIFY="" Q="@" RANLIB="ranlib" RM="rm" RMDIR="rmdir" S=">/dev/null 2>&1" SCRIPTDIR="/usr/local/bin/cscript" SED="sed" SHELL="/bin/sh" SORT="sort" T="" TAIL="tail" TOUCH="touch" TRUE="true" V="@:" VERSION="2.14.2.2" WNO_IMPLICT="-Wno-implicit" WNO_ERROR_LONG_LONG="-Wno-error=long-long" WNO_LONG_LONG="-Wno-long-long" target="Darwin" all
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3 -I..   -c -o custtbl.o custtbl.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3 -I..   -c -o c_argv.o c_argv.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3 -I..   -c -o c_devnull.o c_devnull.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3 -I..   -c -o c_help.o c_help.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3 -I.. c_sysinfo.c -c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3 -I..   -c -o c_pzasusb8.o c_pzasusb8.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3 -I..   -c -o c_pmodm127.o c_pmodm127.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3 -I..   -c -o c_register.o c_register.c
cc -Werror -single_module -undefined dynamic_lookup -dynamiclib -install_name /usr/local/lib/libcustcalc.2.14.2.2.dylib  -arch ppc custtbl.o c_argv.o c_devnull.o c_help.o c_sysinfo.o c_pzasusb8.o c_pmodm127.o c_register.o -o libcustcalc.2.14.2.2.dylib
rm -f .all
touch .all
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o addop.o addop.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o assocfunc.o assocfunc.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o blkcpy.o blkcpy.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o block.o block.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o byteswap.o byteswap.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o calcerr.o calcerr.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o codegen.o codegen.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o comfunc.o comfunc.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o commath.o commath.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o config.o config.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o const.o const.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o custom.o custom.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3 -Wno-error=long-long -Wno-long-long -c file.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o func.o func.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o hash.o hash.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o help.o help.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3  -DUSE_READLINE  \
	    -c hist.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o input.o input.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o jump.o jump.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o label.o label.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o lib_calc.o lib_calc.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o lib_util.o lib_util.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o listfunc.o listfunc.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o matfunc.o matfunc.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o math_error.o math_error.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o obj.o obj.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o opcodes.o opcodes.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o pix.o pix.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o poly.o poly.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o prime.o prime.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o qfunc.o qfunc.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o qio.o qio.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o qmath.o qmath.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o qmod.o qmod.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o qtrans.o qtrans.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o quickhash.o quickhash.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3 -Wno-implicit -Wno-error=long-long \
	    -Wno-long-long -c seed.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o sha1.o sha1.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o size.o size.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o str.o str.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o strl.o strl.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o symbol.o symbol.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o token.o token.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o value.o value.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o version.o version.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o zfunc.o zfunc.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o zio.o zio.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o zmath.o zmath.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o zmod.o zmod.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o zmul.o zmul.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o zprime.o zprime.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o zrand.o zrand.c
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o zrandom.o zrandom.c
rm -f ver_calc
cc -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -DCALC_VER  -std=gnu99  version.c strl.c -o ver_calc
cc -Werror -single_module -undefined dynamic_lookup -dynamiclib -install_name /usr/local/lib/libcalc.2.14.2.2.dylib  -arch ppc addop.o assocfunc.o blkcpy.o block.o byteswap.o calcerr.o codegen.o comfunc.o commath.o config.o const.o custom.o file.o func.o hash.o help.o hist.o input.o jump.o label.o lib_calc.o lib_util.o listfunc.o matfunc.o math_error.o obj.o opcodes.o pix.o poly.o prime.o qfunc.o qio.o qmath.o qmod.o qtrans.o quickhash.o seed.o sha1.o size.o str.o strl.o symbol.o token.o value.o version.o zfunc.o zio.o zmath.o zmod.o zmul.o zprime.o zrand.o zrandom.o \
	      -lreadline -lhistory -lncurses -o libcalc.2.14.2.2.dylib
cp -p custom/libcustcalc.2.14.2.2.dylib libcustcalc.2.14.2.2.dylib
ln -s libcalc.2.14.2.2.dylib libcalc.dylib
ln -s libcustcalc.2.14.2.2.dylib libcustcalc.dylib
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o calc.o calc.c
rm -f calc
cc -Werror calc.o   -std=gnu99   -arch ppc libcalc.2.14.2.2.dylib libcustcalc.2.14.2.2.dylib \
	      -lreadline -lhistory -lncurses -o calc
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o sample_rand.o sample_rand.c
cc -Werror sample_rand.o   -std=gnu99   -arch ppc libcalc.2.14.2.2.dylib libcustcalc.2.14.2.2.dylib \
	      -lreadline -lhistory -lncurses -o sample_rand
cc -Werror -DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3   -c -o sample_many.o sample_many.c
cc -Werror sample_many.o   -std=gnu99   -arch ppc libcalc.2.14.2.2.dylib libcustcalc.2.14.2.2.dylib \
	      -lreadline -lhistory -lncurses -o sample_many
rm -f calc.1
forming calc.1 from calc.man
calc.1 formed
rm -f calc.usage
forming calc.usage from calc.1
calc.usage formed
rm -f cal/.all
cd cal; make -f Makefile AR="ar" BINDIR="/usr/local/bin" CALC_INCDIR="/usr/include/calc" CALC_SHAREDIR="/usr/local/share/calc" CAT="cat" CHMOD="chmod" CMP="cmp" CO="co" CP="cp" E="2>/dev/null" H="@" HELPDIR="/usr/local/share/calc/help" INCDIR="/usr/include" LANG="C" LIBDIR="/usr/local/lib" MAKE_FILE=Makefile MKDIR="mkdir" MINGW="" MV="mv" PREFIX="/usr/local" Q="@" RM="rm" RMDIR="rmdir" S=">/dev/null 2>&1" SCRIPTDIR="/usr/local/bin/cscript" SHELL="/bin/sh" T="" TOUCH="touch" TRUE="true" V="@:" all
rm -f .all
touch .all
rm -f help/.all
cd help; make -f Makefile AR="ar" BINDIR="/usr/local/bin" CALC_INCDIR="/usr/include/calc" CALC_SHAREDIR="/usr/local/share/calc" CAT="cat" CFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC -O3 -g3" CHMOD="chmod" CMP="cmp" CO="co" COMMON_ADD="" COMMON_CFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99 " COMMON_LDFLAGS=" -std=gnu99 " CP="cp" E="2>/dev/null" EXT="" FMT="fmt" GREP="grep" H="@" HELPDIR="/usr/local/share/calc/help" ICFLAGS="-DCALC_SRC -DCUSTOM -Wall -Wextra -pedantic  -arch ppc  -arch ppc  -std=gnu99  -UUNBAN -fPIC" ILDFLAGS=" -std=gnu99 " INCDIR="/usr/include" LANG="C" LCC="cc" LIBDIR="/usr/local/lib" MAKE_FILE=Makefile MKDIR="mkdir" MINGW="" MV="mv" PREFIX="/usr/local" Q="@" RM="rm" RMDIR="rmdir" S=">/dev/null 2>&1" SCRIPTDIR="/usr/local/bin/cscript" SED="sed" SHELL="/bin/sh" T="" TOUCH="touch" TRUE="true" V="@:" all
forming builtin help file
builtin help file formed
rm -f man
cp help man
chmod 0444 man
rm -f errorcodes
cat errorcodes.hdr > errorcodes
sed -n -f errorcodes.sed < ../calcerr.h >> errorcodes
chmod 0444 errorcodes
rm -f resource
cp ../cal/README resource
chmod 0444 resource
rm -f usage
cp ../calc.usage usage
chmod 0444 usage
forming cscript/README
(cd ../cscript; make -f Makefile README)
rm -f cscript
cp ../cscript/README cscript
chmod 0444 cscript
rm -f bindings
cp ../cal/bindings bindings
chmod 0444 bindings
rm -f custom_cal
cp ../custom/CUSTOM_CAL custom_cal
chmod 0444 custom_cal
rm -f libcalc
sed -e 's:${LIBDIR}:/usr/local/lib:g' \
	       -e 's:${CALC_INCDIR}:/usr/include/calc:g' < ../LIBRARY > libcalc
chmod 0444 libcalc
rm -f new_custom
cp ../custom/HOW_TO_ADD new_custom
chmod 0444 new_custom
rm -f bugs
cp ../BUGS bugs
chmod 0444 bugs
rm -f changes
cp ../CHANGES changes
chmod 0444 changes
rm -f contrib
cp ../CONTRIB-CODE contrib
chmod 0444 contrib
rm -f COPYING
cp ../COPYING COPYING
chmod 0444 COPYING
rm -f COPYING-LGPL
cp ../COPYING-LGPL COPYING-LGPL
chmod 0444 COPYING-LGPL
rm -f questions
cp ../QUESTIONS questions
chmod 0444 questions
rm -f releases
cp ../README.RELEASE releases
chmod 0444 releases
forming full
full formed
rm -f copy
cp blkcpy copy
chmod 0444 copy
rm -f binding
cp bindings binding
rm -f bug
cp bugs bug
rm -f change
cp changes change
rm -f errorcode
cp errorcodes errorcode
rm -f type
cp types type
rm -f .all
touch .all
rm -f cscript/.all
cd cscript; make -f Makefile AR="ar" BINDIR="/usr/local/bin" CALC_INCDIR="/usr/include/calc" CALC_SHAREDIR="/usr/local/share/calc" CAT="cat" CHMOD="chmod" CMP="cmp" CO="co" CP="cp" E="2>/dev/null" ECHON="/bin/echo -n" FMT="fmt" H="@" HELPDIR="/usr/local/share/calc/help" INCDIR="/usr/include" LANG="C" LIBDIR="/usr/local/lib" MAKE_FILE=Makefile MKDIR="mkdir" MINGW="" MV="mv" PREFIX="/usr/local" Q="@" RM="rm" RMDIR="rmdir" S=">/dev/null 2>&1" SCRIPTDIR="/usr/local/bin/cscript" SED="sed" SHELL="/bin/sh" SORT="sort" T="" TOUCH="touch" TRUE="true" V="@:" all
rm -f .all
touch .all
CALCPATH=./cal LD_LIBRARY_PATH=. DYLD_LIBRARY_PATH=. CALCHELP=./help CALCCUSTOMHELP=./custom ./calc -d -q read regress 2>&1 | awk -f check.awk
chk OK
All is Very OK -j1 -w

@lcn2
Copy link
Owner

lcn2 commented Aug 2, 2023

Yea 🎉‼️

@lcn2 lcn2 closed this as completed Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants