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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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