Re: [HACKERS] PL patches (one more) - Mailing list pgsql-hackers

From jwieck@debis.com (Jan Wieck)
Subject Re: [HACKERS] PL patches (one more)
Date
Msg-id m0zRdCT-000EBPC@orion.SAPserv.Hamburg.dsh.de
Whole thread Raw
In response to Re: [HACKERS] PL patches (one more)  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
List pgsql-hackers
>
> >       o pl/tcl/mkMakefile.tcldefs.sh.in
> >
> >         At least one bash I'm using on one of my  systems  single
> >         quotes  the  values in the output of the set command. But
> >         make interprets CC=gcc -O2 different from CC='gcc -O2'.
>
> istm that perhaps
>
>   make CC=gcc CFLAGS+=-O2
>
> would be the best choice for achieving this. (And it works :).
>
>                    - Tom
>

    Right - but that's not the point.

    If  (as  it  is  on one of my systems) the shells set command
    outputs

        TCL_LIBS='-ldl  -lieee -lm'

    instead of

        TCL_LIBS=-ldl  -lieee -lm

    and we put this exactly into the Makefile.tcldefs, then gmake
    will put the whole string into one single argv element in the
    linker call.  But then the linker will not find  the  library
    "libdl  -lieee -lm.a" or it's shared version.


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#======================================== jwieck@debis.com (Jan Wieck) #

pgsql-hackers by date:

Previous
From: "Matthew C. Aycock"
Date:
Subject: Re: [PATCHES] plpgsql patch..
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Open 6.4 items