Menu

#217 gtk/makefile link options out of order

Bug
closed-fixed
SciTE (658)
5
2004-07-31
2004-07-28
Anonymous
No

SciTE 1.61 fails to link on SGI Irix (6.5.22m) because
SGI's ld requires libraries to appear after the object
files on the command line.
The following trivial patch just reorders the arguments
and should work
on reasonable platforms:

$ diff -C 3 makefile.000 makefile
*** makefile.000 2004-05-09 05:11:22.000000000 -0300
--- makefile 2004-07-27 09:18:03.000000000 -0300
***************
*** 103,109 ****
$(PROG): SciTEGTK.o SciTEBase.o SciTEBuffers.o
SciTEIO.o Exporters.o \ MultiplexExtension.o DirectorExtension.o SciTEProps.o
Utf8_16.o \ $(COMPLIB) $(LUA_OBJS)
! $(CC) `$(CONFIGLIB)` `$(CONFIGTHREADS)` -DGTK
$^ -o $@

# Automatically generate header dependencies with
"make deps"
include deps.mak
--- 103,109 ----
$(PROG): SciTEGTK.o SciTEBase.o SciTEBuffers.o
SciTEIO.o Exporters.o \ MultiplexExtension.o DirectorExtension.o SciTEProps.o
Utf8_16.o \ $(COMPLIB) $(LUA_OBJS)
! $(CC) -DGTK $^ -o $@ `$(CONFIGLIB)`
`$(CONFIGTHREADS)`

# Automatically generate header dependencies with
"make deps"
include deps.mak

George White <aa056@chebucto.ns.ca>

Discussion

  • Neil Hodgson

    Neil Hodgson - 2004-07-31
    • status: open --> closed
     
  • Neil Hodgson

    Neil Hodgson - 2004-07-31

    Logged In: YES
    user_id=12579

    Thanks, committed.

     
  • Neil Hodgson

    Neil Hodgson - 2004-07-31
    • assigned_to: nobody --> nyamatongwe
    • status: closed --> closed-fixed
     

Log in to post a comment.