<div dir="ltr">Hi all,<div><br></div><div style>I&#39;m working to better understand our build system, so I can better contribute to maintenance and improvements to it. Right now, I&#39;m trying to fix the 64-bit build problem that Rick reported, and that is standing in my way of a server-based compiler.</div>
<div style><br></div><div style>We build the compiler, and use that to build the library system. occbuild gets processed such that information is embedded in the generated script that is &quot;aware&quot; of where all of the tools are (occ21, plinker, etc.). occbuild is then used to build the libraries.</div>
<div style><br></div><div style>To build with relocatable code on AMD64 (target_os &quot;x86_64&quot;?), we need to pass -fPIC as a link-time flag to gcc. Because occbuild plays a role in this, we want to make the change there. It would be nicest if this was a new command-line option to occbuild, so it could be set in the driver script, and be more flexible/reusable in the future. </div>
<div style><br></div><div style>However, what I&#39;m trying to understand, is where do I need to do my editing? Will this be a combination of:</div><div style><br></div><div style>* <a href="http://occbuild.in">occbuild.in</a></div>
<div style>* Makefile.am</div><div style>* <a href="http://configure.ac">configure.ac</a></div><div style><br></div><div style>where the latter are down in the modules/bsclib/libsrc directory?</div><div style><br></div><div style>
I am trying to fix the problem that Rick has with building on 12.04 LTS, for which I&#39;ve set up a VM. This also is necessary for my &quot;put a compiler in the cloud,&quot; as the VM we have set up on campus is the same machine. This is a good learning exercise for me overall, but I could use a pointer or two.</div>
<div style><br></div><div style>Cheers,</div><div style>Matt</div></div>