Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#3 Fiddle linker flags to build on AIX with gcc

closed-out-of-date
Bug fix (11)
5
2005-09-13
2004-05-01
Darren Tucker
No

This patch fiddles the linker flags for top-3.5 to
prepend "-Wl," on AIX+gcc, since gcc doesn't understand
"-b" linker flags like xlc does.

This prevents these errors during build:
gcc -O -o top top.o commands.o display.o screen.o
username.o utils.o version.o getopt.o machine.o
-lcurses -lm -bD:0x18000000
gcc: `-b' must come at the start of the command line

Discussion

  • Darren Tucker
    Darren Tucker
    2004-05-01

    patch configure for AIX+gcc linker flags

     
    Attachments
    • assigned_to: nobody --> wnl
     
  • Logged In: YES
    user_id=687210

    Top 3.6 uses gnu configure, which should indirectly fix the
    problem. If you find that configure still gets it wrong, let
    me know.

     
    • status: open --> closed-out-of-date