Unix Technical Forum

AIX and gcc

This is a discussion on AIX and gcc within the AIX Operating System forums, part of the Unix Operating Systems category; --> I'm trying to compile a C program using gcc on AIX 5.3L but I seem to be missing a ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 10:47 AM
Neil Truby
 
Posts: n/a
Default AIX and gcc

I'm trying to compile a C program using gcc on AIX 5.3L but I seem to be
missing a mysetrious library, libmsaa, which is nowhere to be found on my
system.

Any clues please?

Thanks
Neil

$ make dostats
INFORMIXC=gcc esql -DHAVE_GNU_GETOPT=1 -o dostats dostats.ec
getopt.c
gcc: unrecognized option '-qchars=signed'
gcc: unrecognized option '-q64'
gcc: unrecognized option '-qlanglvl=ansi'
gcc: unrecognized option '-qalign=natural'
gcc: unrecognized option '-qcheck=nullptr'
gcc: unrecognized option '-qmaxmem=-1'
gcc: unrecognized option '-qspill=2000'
collect2: library libmsaa not found
make: 1254-004 The error code from the last command is 1.

Stop.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 10:47 AM
Paul Pluzhnikov
 
Posts: n/a
Default Re: AIX and gcc

"Neil Truby" <neil.truby@ardenta.com> writes:

> I'm trying to compile a C program using gcc on AIX 5.3L but I seem to be
> missing a mysetrious library, libmsaa, which is nowhere to be found on my
> system.


It is pretty obvious that that library was added by Informix 'esql'
to the link. Check your Informix installation to make sure it
is complete.

> $ make dostats
> INFORMIXC=gcc esql -DHAVE_GNU_GETOPT=1 -o dostats dostats.ec
> getopt.c
> gcc: unrecognized option '-qchars=signed'
> gcc: unrecognized option '-q64'


It is also clear that Informx esql is "brain-damaged" (or at least
was not intended to be used with gcc): all of the above options
are xlc-specific.

Also note that '-q64' implies 64-bit compile, but the gcc compile
you are using is 32-bit (add -maix64 for gcc).

Perhaps you do have 64-bit libmsaa after all (somewhere in the
Informix tree), but it is being ignored for 32-bit compile?

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:13 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com