>>>>> Ed S Peschko writes:
Ed> Here's a couple quick ones for you, one that I've had some luck at
unwinding -
Ed> The gcc compiler has a flag '-b' which also is used by the underlying
linker.
Ed> If I for example, change:
Ed> gcc -bmaxdata:0x80000000
Ed> to
Ed> gcc -Wl,-bmaxdata:0x8000000
Ed> then I have better luck compiling. I've run into these 'expect gnu ld flag'
errors
Ed> in quite a few places, because the underlying gnu tools generate make
scripts with these
Ed> flags in them.
-bmaxdata is not a GNU ld flag, it is an AIX ld flag. Omitting
the -Wl is a separate problem. libtool is good about knowing whether it
is compiling with GCC or XLC.
This problem is not using GNU ld flags, but the application
assuming that it is building with XLC on AIX.
Ed> Another one.. There are broken libraries that ship with AIX (for one, the
AIX library
Ed> that ships with it in /usr/lib) Link with those, and you'll get run-time
errors.
Are you referring to AIX native libraries or "Freeware" libraries
shipped with AIX? I am not aware of broken native libraries.
I completely agree about the status of the Freeware software
shipped with AIX, but this needs to be communicated to the AIX Brand. I
and a number of AIX engineers want this solved, but it needs to be driven
by customer requirements. IBM customers need to have this on the agenda
during sales meetings.
Thanks, David