Re: [gtk-list] C Compile problems
- From: Dave Cole <dave dccs com au>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] C Compile problems
- Date: 12 Jan 1999 20:12:26 +1100
> [nathan@localhost src]$ gcc -Wall -g helloworld.c -o ./hello_world
> `gtk-config --cflags` \ `gtk-config --libs`
> gcc: -L/usr/lib: No such file or directory
The offending part of the command is the '\' just before
`gtk-config --libs`.
The shell prepends a space to the first word output by
gtk-config --libs.
This stops the compiler from recognising it as an option (since the
first character is not a '-'), so it looks for file of that name.
- Dave
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS dpu s-:+ a C++$ ULS++$ P+++$>++++ L++>+++$ E+>++ W N++ !o K w++$ O !M-
!V(-) PS+ PE- Y+ PGP !t-- 5++ X R tv b+ DI+++ D G e++ h--- r+++ y++++
------END GEEK CODE BLOCK------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]