From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14903 invoked by alias); 20 Mar 2003 09:17:12 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 14854 invoked from network); 20 Mar 2003 09:17:09 -0000 Received: from unknown (HELO suntana.fh-konstanz.de) (141.37.9.230) by sources.redhat.com with SMTP; 20 Mar 2003 09:17:09 -0000 Received: from localhost (s4502.fh-konstanz.de [141.37.9.242]) by suntana.fh-konstanz.de (8.9.3+Sun/8.9.3) with ESMTP id KAA10451; Thu, 20 Mar 2003 10:11:22 +0100 (MET) Received: from 212.62.199.50 ( [212.62.199.50]) as user msarasa@mail.fh-konstanz.de by webmail.fh-konstanz.de with HTTP; Thu, 20 Mar 2003 10:17:43 +0100 Message-ID: <1048151863.3e7987378659e@webmail.fh-konstanz.de> Date: Thu, 20 Mar 2003 09:17:00 -0000 From: msarasa@fh-konstanz.de To: Andrew Cagney Cc: gdb@sources.redhat.com Subject: Re: ser-tcp ser-unix question References: <1048004350.3e7746ff02818@webmail.fh-konstanz.de> <3E774F11.70409@redhat.com> <1048074199.3e7857d755845@webmail.fh-konstanz.de> <3E7907DF.2070409@redhat.com> In-Reply-To: <3E7907DF.2070409@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15;q=1.0 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-Originating-IP: 212.62.199.50 X-SW-Source: 2003-03/txt/msg00297.txt.bz2 Quoting Andrew Cagney : > > When i've made this , what should I do to build the gnu tools with the new > > > file? I've tried to add ser-sim.c to configure.in (which is my file) in the > > > line : SER_HARDWIRE = " ser-tcp.o ser-unix.o ser-pipe.o" , but eventhough I > > > wrote SER_HARDWIRE = " ser-tcp.o ser-unix.o ser-pipe.o ser-sim.o",and then > > > runned configure the makefile remains unaltered at this point(ser-sim.o , > > nowhere, the other yes). What I'm doing wrong? These ser-* files seems a > > little bit strange to me, because they're not included in any other file, > so I > > thought that the only relation with the rest of gnu comes by the configure > > > file. > > That should be all you need. Perhaphs you need an _initialize_ser_xxx() > function to force linking of the file? Thanks for your help & support!! I've made this , and I have just one more problem that is: I've made a new ser-sim.c file, actually It seems like ser-pipe.c but with empty functions for open/close and a _initialize.... function which is a copy from _initialize_ser_pipe() but that use the new empty sim_open() and sim_close. I've made the gdb to obtain a ser-sim.o file. I've changed the configure.in file to add this file where the other ser-** are. I ran configure , and I've obtained no ser-sim.o entry in the Makefile, where the other ser-*.o are. Not yet in init.c. But, when I've changed manually Makefile and added the ser-sim.o file where the other files are, I've got the desired init.c file , with the _initialize_ser_sim() function in its code. What should I do to make this clean from configure?? Thanks for the form! I'll fill it Best regards, Miguel.