The following is from Tony Cairns (IBM, PASE/and-more expert)....
-------------------------------------
Aaron,
I do not have id midrange forum (should probably do that sometime) ... Stop
using call qp2term (bad), switch to ssh (good).
=====
call qp2term
=====
/QOpenSys/usr/bin/-sh
$
gmake -v
gmake: *** virtual memory exhausted. Stop.
GNU Make 4.1
Built for powerpc-ibm-aix5.3.0.0
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$
===
ssh adc@myibmi
===
bash-4.3$ gmake -v
GNU Make 4.1
Built for powerpc-ibm-aix5.3.0.0
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
bash-4.3$ which gmake
/usr/bin/gmake
bash-4.3$ ls -l /usr/bin/gmake
lrwxrwxrwx 1 adc 0 54 Apr 20 2015 /usr/bin/gmake ->
../../opt/freeware/bin/make
bash-4.3$ /opt/freeware/bin/make -v
GNU Make 4.1
Built for powerpc-ibm-aix5.3.0.0
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
bash-4.3$
And here's a partial paste from the following URL:
https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/IBM%20i%20Technology%20Updates/page/GCC
#GCC compiles
Open Source projects require many tools beyond gcc compiler. Open Source
projects requires c coding knowledge. Open Source projects require domain
specific knowledge. All in all, simply impossible to describe on this wiki
page all aspects need to learn to develop successful Open Source projects.
In fact, most likely that only experienced c coders and/ or Open Source
developers will use the actual gcc environment.
Tip: GCC build tools can be sensitive to shell environment. I recommend
using ssh, common starting point for most Linux/AIX/PASE developers. More
to point, I NEVER recommend using call qp2term or qsh, because green screen
sudo tty (horrible shell), can result in odd errors with Open Source
complex build scenarios (virtual memory exhausted). When in doubt about
tools, you may often find help from the IBM i community forum at
http://archive.midrange.com/opensource/ .
At risk of insulting knowledgeable developers, here is the truth most of us
learn about developing Open Source.
-------------------------------------
As an Amazon Associate we earn from qualifying purchases.