From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 4 21:44:24 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88163106566B; Wed, 4 Nov 2009 21:44:24 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron3.sfsu.edu (iron3.sfsu.edu [130.212.10.128]) by mx1.freebsd.org (Postfix) with ESMTP id 5F5758FC14; Wed, 4 Nov 2009 21:44:24 +0000 (UTC) X-Inbound-SFSU: False X-onepass: IPPSC X-From-SFSU: True X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAKd58UqC1B9C/2dsb2JhbADQKwEJBYVziEyCVIFpBINYgTCEHQ Received: from edg02.sfsu.edu ([130.212.31.66]) by iron3.sfsu.edu with ESMTP; 04 Nov 2009 13:16:01 -0800 Received: from EHB02.ad.sfsu.edu (130.212.31.84) by EDG02.sfsu.edu (130.212.31.66) with Microsoft SMTP Server (TLS) id 8.2.176.0; Wed, 4 Nov 2009 13:16:01 -0800 Received: from smtp01.sfsu.edu (130.212.10.100) by ehb.ad.sfsu.edu (130.212.31.28) with Microsoft SMTP Server id 8.2.176.0; Wed, 4 Nov 2009 13:16:01 -0800 Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0.4HF59) with ESMTP id 2009110413160021-2578 ; Wed, 4 Nov 2009 13:16:00 -0800 Date: Wed, 4 Nov 2009 13:15:59 -0800 From: KAYVEN RIESE To: Harald Servat In-Reply-To: Message-ID: References: <6b4b2d2c0910261308i367569dbg887d7c713bf20ad1@mail.gmail.com> <4AE60F70.9070808@FreeBSD.org> <6b4b2d2c0911040031h2175011dy949e4d368ffbb997@mail.gmail.com> <86bpjih4yd.fsf@ds4.des.no> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0.4HF59 | August 11, 2009) at 11/04/2009 13:16:00, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.4|March 23, 2009) at 11/04/2009 13:16:00, Serialize complete at 11/04/2009 13:16:00 Content-Type: multipart/mixed; boundary="-559023410-851401618-1257369359=:3147" Cc: =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= , f.loeber@googlemail.com, Oliver Mahmoudi , Gabor Kovesdan , freebsd-hackers@freebsd.org Subject: Re: writing a FreeBSD C library X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2009 21:44:24 -0000 ---559023410-851401618-1257369359=:3147 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-Type: text/plain; charset="ISO-8859-1"; format=flowed On Wed, 4 Nov 2009, Harald Servat wrote: > Oh, yes! You're right DES. They look the same to me here in the web-brows= er > :) Oh, no. shoulda used a serif font! {:P > > Oliver, regarding the Dag-Erling correction, the -I option in gcc refers = to > include header files (typically files ended with .h), not for naming > libraries as I mentioned. > > Regards. > > 2009/11/4 Dag-Erling Sm=F8rgrav > >> Harald Servat writes: >>> In addition, the -l X option in the gcc compiler looks for libX.[a|so= ] >> in >>> the all specified paths defined by -L, so in your first command >>> gcc -o aprog aprog.c -I ~/mylib/ >>> you're making gcc to look for for something called lib~/mylib/.[a|so] >>> which I doubt it can be found. >> >> You're confusing -l with -I... but the rest of your email is correct. >> >> DES >> -- >> Dag-Erling Sm=F8rgrav - des@des.no >> > > > > --=20 > _________________________________________________________________ > Fry: You can see how I lived before I met you. > Bender: You lived before you met me?! > Fry: Yeah, lots of people did. > Bender: Really?! > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " > *----------------------------------------------------------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *----------------------------------------------------------* ---559023410-851401618-1257369359=:3147--