g-wrap-config(1) General Commands Manual g-wrap-config(1)NAME
g-wrap-config - script to get information about the installed version of G-Wrap
g-wrap-config [ --version ] [ --c-compile-args LANG | --c-link-args LANG | --guile-module-directory ]
g-wrap-config is a tool that is used to configure and determine the compiler and linker flags that should be used to compile and link
progams, libraries, and plugins that use G-Wrap. However, since G-Wrap 1.9, this tool has been deprecated in favor of pkg-config(1). New
code should use the g-wrap-2.0-guile pkg-config module, g-wrap-config only exists for compatibility reasons.
OPTIONS --c-compile-args LANG
Print the compiler flags that are necessary to compile a program or library that uses the G-Wrap language binding for LANG.
Print the linker flags that are necessary to link a program that uses the G-Wrap language binding for LANG.
Prints the currently installed version of G-Wrap on standard output.
gcc -o main.o $(g-wrap-config --c-compile-args guile) main.c
is how you might use g-wrap-config to compile a C source file for an executable program.
gcc -o my_app $(g-wrap-config --c-link-args guile) main.o util.o
is how you might use g-wrap-config to link compiled objects into an executable program.
G-Wrap has been written by Andreas Rottmann, Rob Browning and Christopher Lee.
This manual page was written by Andreas Rottmann, originally for the Debian Project.
G-Wrap 1.9 2005-05-01 g-wrap-config(1)
Check Out this Related Man Page
sdl-config(1) General Commands Manual sdl-config(1)NAME
sdl-config - script to get information about the installed version of SDL
sdl-config [ --prefix[=DIR] ] [ --exec-prefix[=DIR] ] [ --version ] [ --cflags ] [ --libs ] [ --static-libs ]
sdl-config is a tool that is used to configure and determine the compiler and linker flags that should be used to compile and link pro-
grams, and libraries, and plugins that use SDL. It is also used internally by the m4 macros that are included with SDL.
Print the compiler flags that are necessary to compile a program or library that uses SDL.
If specified, use DIR instead of the installation exec prefix that SDL was build with when computing the output for the --exec-pre-
fix option. This option must be specified before any of the --cflags, and --libs options.
--libs Print the linker flags that are necessary to link a program that uses SDL.
If specified, use DIR instead of the installation prefix that SDL was built with when computing the output for the --prefix, and
--exec-prefix options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be speci-
fied before any of the --cflags, and --libs options.
Print the linker flags that are necessary to statically link a program that uses SDL.
Prints the currently installed version of SDL on standard output.
gcc -o main.o $(sdl-config --cflags) main.c
is how you might use sdl-config to compile a C source file for an executable program.
gcc -o my_app $(sdl-config --libs) main.o util.o
is how you might use sdl-config to link compiled objects into an executable program.
The Simple DirectMedia Layer (SDL) library was written by Sam Lantinga.
This manual page was written by Branden Robinson, originally for Progeny Linux Systems, Inc., and the Debian Project.
This manual page was modified by Petr Pisar to match original SDL distribution.
SDL 1.2 2013-06-19 sdl-config(1)
I'm working on a HP UX 11 machine. I have an executable build with gcc and a shared library (sl) build with aCC. If i start the executable, i have many errors about unresolved symbols. Is the binary output of aCC and gcc compatible?
Greetings! (8 Replies)
Hey guys, I have installed Freebsd 5.3 Release, and I can't compile my custom kernel. I even tried compile the Generic kernel to see if I had some error in my custom kernel, and that didn't compile either. The Freebsd FAQ pages states one solution would be to "re-fetch the source tree". How is... (8 Replies)
Should be too simple...
I wrote a sample c++ program like
cout << ab << endl;
I am getting error like
$ gcc u1.cpp
Undefined first referenced
... (9 Replies)
My name is vreddy and I am learning c language now and written one programme on vi editor.
how do I compile the programme please give me some advice and that would be helpfull for me.
vre (10 Replies)
I have installed a Solaris 10 and after the installation i tried to compile some source code but withouth success. Its seems that i dont have gcc, cc, c++, make and so on installed on the PC. I tried to install them through some Solaris packages for PC (not for Sparc) by using pkgadd... (7 Replies)
I am trying to compile a c program on AIX 5.3L 64-bit unix.
I have used this program in the past and it works.
Does anybody know what this error means?
/usr/local/bin> gcc get_epoch_secs.c get_epoch_secs
gcc: get_epoch_secs: No such file or directory
get_epoch_secs.c: In function... (8 Replies)
I have two headless servers I am writing code for, and a Windows box networked with them.
I want to compile my code within an IDE on the Windows box (eclipse most likely) and run the compiled binarys on the Linux boxes.
Will this work?
Using Cygwin (or MinGW)?
Cheers, Ian (8 Replies)
I've done hours of reading on google and can't find an answer...
I'm trying to compile/install the Apache web server on a Unix vm.
When i try ./compile (the file's been unzipped already), I get this error:
checking for chosen layout... Apache
checking for working mkdir... (8 Replies)
I wonder I had have a look to the cc compile options but I could be missing one but basically I'm compliling a c program where I will storing a command to connect to a database and also userid and password. The issue is that after the module is generated using a command like strings I... (14 Replies)
Hi All: this work machine has no gcc installed, the only cc is located at: /usr/ucb/cc but this does not do a make, I get error:
"/usr/ucb/cc: language optional software package not installed".
Meaning cc is not fully installed, correct?
I do not want to get root/sysadmin involved on... (17 Replies)
I'm facing an issue in which my program is using a custom library (say, libxyz.so) which is compiled using libstdc++.so.5 and the system I'm using this library to create an executable from my program, has libstdc++so.6 as well as libstdc++.so.5; both available under /usr/lib directory.
There are... (8 Replies)
Hello, I was trying to compile Mplayer 1.3 using gcc 4.4, but I am getting LOTS of error messages when make reaches the pngdec.c file. These are the error messages.
libavcodec/pngdec.c:37:18: warning: zlib.h: No such file or directory
libavcodec/pngdec.c:82: error: expected... (12 Replies)