On Wed, 28 Jan 2009, Peter W. Draper wrote: > On Tue, 27 Jan 2009, Peter W. Draper wrote: > >> On Tue, 27 Jan 2009, Mark Taylor wrote: >> >>> I don't suppose anybody knows a straightforward way to build a 32-bit >>> starlink set from source on a 64-bit Linux? I had a go setting >>> CFLAGS=-m32 FFLAGS=-m32, but not very surprisingly this unsophisticated >>> approach got bogged down early (during make configure-deps on tclsys - >>> was looking only in /usr/X11R6/lib64/ not /usr/X11R6/lib/ for -lX11). >>> >>> I expect that getting this working is one of those things that ought >>> to be straightforward but in fact takes weeks of inching further through >>> the build until it all works. I do *not* want to get involved >>> in that sort of thing! But if anyone has a *simple* recipe that they've >>> tried, or that they'd expect to work, I'd be grateful to hear. >> >> Last time I tried this I used: >> >> # 32bit build. >> setenv CFLAGS -m32 >> setenv CXXFLAGS -m32 >> setenv FCFLAGS -m32 >> >> # Pick up 32bit X11 >> setenv LDFLAGS "-L/usr/X11R6/lib" > > Actually I need to use: > > setenv LDFLAGS "-L/usr/X11R6/lib32" > > and install various missing 32bit libraries, but it worked. thanks Peter, appreciated. Actually your initial instructions have got me a surprisingly long way - past AST, which was mainly what I was after. -- Mark Taylor Astronomical Programmer Physics, Bristol University, UK [log in to unmask] +44-117-928-8776 http://www.star.bris.ac.uk/~mbt/