From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29592 invoked by alias); 20 Jun 2003 01:13:50 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 29569 invoked from network); 20 Jun 2003 01:13:50 -0000 Received: from unknown (HELO mail.iinet.net.au) (203.59.3.37) by sources.redhat.com with SMTP; 20 Jun 2003 01:13:50 -0000 Received: (qmail 15329 invoked from network); 20 Jun 2003 01:04:27 -0000 Received: from unknown (HELO sisyphusii330h) (203.221.48.139) by mail.iinet.net.au with SMTP; 20 Jun 2003 01:04:26 -0000 Message-ID: <03a001c336c7$4c6d5010$3631ddcb@sisyphusii330h> From: "Sisyphus" To: "gcc" Subject: Backticks (`) in makefile Date: Fri, 20 Jun 2003 01:13:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-SW-Source: 2003-06/txt/msg00190.txt.bz2 Hi, I have perl-5.8.0 on Win32 built with gcc and dmake. ('dmake' is the norm when building perl on Win32 with gcc - there is pesumably some problem(s) if 'make' is used.) I'm trying to statically link a perl module and one of the makefiles generated contains the following: $(MAP_LINKCMD) -o $@ $(OPTIMIZE) ./perlmain$(OBJ_EXT) $(LDFROM) $(MAP_STATIC) $(LLIBPERL) `cat $(INST_ARCHAUTODIR)/extralibs.all` $(MAP_PRELIBS) (That's all on one line in the makefile.) On Linux (with 'make') I'm told there's no problem building this module statically linked, but dmake obviously doesn't inderstand the significance of the backticks. I get the error that there is no such file or directory as `cat. I don't understand the significance of the backticks, either. Anyone got some advice on what they mean - or on where I can find some relevant documentation - so that I might be able to devise a hack ? 'cat' will also be meaningless on win32, but I'm hoping that changing it to 'type' will take care of that. The main problem is to work out what to do about those backticks. I tried some wild guesses - like deleting the backticks, and changing them to quotes. If I delete '`cat .....`' entirely I end up with an "undefined reference" to a couple of functions. Cheers, Rob