writing a FreeBSD C library

KAYVEN RIESE kayve at sfsu.edu
Wed Nov 4 21:44:24 UTC 2009


On Wed, 4 Nov 2009, Harald Servat wrote:

> Oh, yes! You're right DES. They look the same to me here in the web-browser
> :)

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ørgrav <des at des.no>
>
>> Harald Servat <redcrash at gmail.com> 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ørgrav - des at des.no
>>
>
>
>
> -- 
> _________________________________________________________________
> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>

*----------------------------------------------------------*
   Kayven Riese, BSCS, MS (Physiology and Biophysics)
   (415) 902 5513 cellular
   http://kayve.net
   Webmaster http://ChessYoga.org
*----------------------------------------------------------*


More information about the freebsd-hackers mailing list