RE: [Gaul-devel] Compiling the examples under AIX
Brought to you by:
stewartadcock
From: Mike C. <m.c...@au...> - 2006-05-16 00:43:46
|
Thanks Andrew and also Stewart Adcock, your advice has enabled me to successfully run ./configure on AIX. I then do a gmake, and everything seems fine. Unfortunately when I try to run any of the examples(such as 'wildfire', = or any of the others), all I get is=20 Segmentation Fault. I don't know much about how C/C++ linkers work but perhaps some = libraries are not being linked correctly? Can you possibly advise as to how I = could check that? Thanks for your time, Mike. -----Original Message----- From: Andrew W. Nosenko [mailto:and...@gm...]=20 Sent: Friday, 12 May 2006 10:10 p.m. To: Mike Cooling Cc: gau...@li... Subject: Re: [Gaul-devel] Compiling the examples under AIX On 5/11/06, Mike Cooling <m.c...@au...> wrote: > >Sorry, but why 'CC=3Dxls'? IIRC, the C compiler called xlc... In = the > >your first message you used 'CC=3Dxlc' (the right name) also... > > Yes, I accidently put xls in instead of xlc (too much time spend with = MS > products? :) ). However, replacing xls with xlc doesn't alter the = result. > > Here is a summary of three attempts: > [skip] > > hpc 26% ./configure CC=3Dxlc CXX=3DxlC LDFLAGS=3D/usr/local/lib --enable-slang=3Dno My mistake. There needed not 'LDFLAGS=3D/usr/local/lib' but 'LDFLAGS=3D-L/usr/local/lib' (pay attention on the '-L' after '=3D' = sign). The same mistake in the CPPFLAGS also was made by me: instead of 'CPPFLAGS=3D/usr/local/include', there should be used CPPFLAGS=3D'-I/usr/local/include' (pay attention on the '-I' (as in = 'Include') after '=3D' sign). --=20 Andrew W. Nosenko <and...@gm...> |