Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] PL patches (one more)

From: jwieck(at)debis(dot)com (Jan Wieck)
To: lockhart(at)alumni(dot)caltech(dot)edu (Thomas G(dot) Lockhart)
Cc: jwieck(at)debis(dot)com, brook(at)trillium(dot)NMSU(dot)Edu, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] PL patches (one more)
Date: 1998-10-09 14:07:21
Message-ID: m0zRdCT-000EBPC@orion.SAPserv.Hamburg.dsh.de (view raw or flat)
Thread:
Lists: 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(at)debis(dot)com (Jan Wieck) #



In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 1998-10-09 15:01:29
Subject: Re: [HACKERS] Open 6.4 items
Previous:From: Matthew C. AycockDate: 1998-10-09 13:58:10
Subject: Re: [PATCHES] plpgsql patch..

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group