10 More Discussions You Might Find Interesting
1. Programming
I need a lot of help with c programming.
I have the source code.
Running configure, I got one error message about a missing library.
I downloaded and successfully compiled it in another dir.
Do I throw all the new files into my source dir and run configure again ?
Thanks. (3 Replies)
Discussion started by: drew77
3 Replies
2. Programming
Hello together,
I have a question for you. Since a few weeks I am trying to programm
a small bruteforce application in C on Ubuntu 14.04.1 using Code::Blocks
with gcc-4.8.2. My programm is nothing special. It's just for practise,
Without hashing or something like that. For me the focus is on... (11 Replies)
Discussion started by: DaveX
11 Replies
3. Programming
Hi,
I just try to solve the problem why one app failing on box1 and runs ok on box2, they have diff gcc version as I see from /proc/version:
box1:: 3.4.1
box2:: 4.1.2
It's RedHat 64b boxes, so I can not run some <make all> command on box1, do you think I need to upgrade (if I'm using... (1 Reply)
Discussion started by: mario17
1 Replies
4. Solaris
I just installed gcc from the latest package at sunfreeware.com using pkgadd. I write a simple 'Hello World!' program to test it. I try to compile it and I get this error:
rockstar# gcc hello.c -o hello
ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
Killed
I... (0 Replies)
Discussion started by: Bradj47
0 Replies
5. Red Hat
I have a host PC and a target system .
Host System -> gcc (3.2) Redhat linux kernel 2.4.20-8 , glibc 2.3
Target System -> gcc (4.1) Fedora linux kernel 2.6.18-1.2798.fc6, glibc 2.5
I would like to build test program that can be run on both systems
---------------------------
... (0 Replies)
Discussion started by: mugdha
0 Replies
6. Programming
Im trying to compile some code that involves using X-Windows based functions (XDisplayName() and XOpenDisplay() ), however each time I run the compiler, Im getting a problem with the linker.
The linker says that both XDisplayName() and XOpenDisplay() are unresolved text symbols. Is there a... (1 Reply)
Discussion started by: JamesGoh
1 Replies
7. Solaris
Hello All,
I have been using String.h with gcc 2.95. Now I have upgraded to gcc 3.4. The support for String.h has been removed and I believe Regex.h support is also not inbuilt. So I tried to build my own library for String.h. I had to use Regex.h and rx.h for a succesful library compilation.... (0 Replies)
Discussion started by: manishs13
0 Replies
8. Programming
Hi mates,
I am a new comer of this forums.
I have a problem while using function "fread(buffer, size, number, file-pointer)" to read a binary file.
While I used the "fread()" to read the binary file under Solaris UNIX System, it worked very well. But it gets a incorrect result... (6 Replies)
Discussion started by: cquedugdylp
6 Replies
9. Programming
I have some crypting functions in object-file - for example,func.o
Main file,from where crypting functions called, named as main.cpp .
"gcc main.cpp -o main func.o" print "undefined reference to ... "
But if I rename main.cpp to main.c and execute
"gcc main.c -o main func.o" - ok. If anybody,... (3 Replies)
Discussion started by: Gigachel
3 Replies
10. UNIX for Dummies Questions & Answers
Hi! I have downloaded a precompiled gcc package but I'm having problems installing it. It is supposed to install in /usr/local and there is plenty of space left there but during the installation I get the following error message “No space left on device”. Is it some kind of temp folder that is out... (2 Replies)
Discussion started by: alfabetman
2 Replies
freealut-config(1) General Commands Manual freealut-config(1)
NAME
freealut-config - script to get information about the installed version of freealut
SYNOPSIS
freealut-config [ --prefix= DIR] [ --exec-prefix= DIR] [ --version ] [ --libs ] [ --cflags ]
DESCRIPTION
freealut-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 freealut.
The use of freealut-config is deprecated. The more generic tool pkg-config should be used instead.
OPTIONS
--cflags
Print the compiler flags that are necessary to compile a program or library that uses freealut.
--exec-prefix=DIR
If specified, use DIR instead of the installation exec prefix that freealut was build with when computing the output for the
--cflags and --libs options. 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 or library that uses freealut.
--prefix=DIR
If specified, use PREFIX instead of the installation prefix that freealut was built with when computing the output for the --cflags
and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be specified
before any of the --cflags and --libs options.
--version
Prints the currently installed version of freealut on standard output.
EXAMPLES
gcc -o main.o $(freealut-config --cflags) -c main.c
is how you might use freealut-config to compile a C source file for an executable program.
gcc -o my_app $(freealut-config --libs) main.o util.o
is how you might use freealut-config to link compiled objects into an executable program.
SEE ALSO
pkg-config(1)
This manual page was written for sdl-config by Branden Robinson, originally for Progeny Linux Systems, Inc., and the Debian Project. It was
adapted to freealut by Sam Hocevar.
freealut 2003-11-22 freealut-config(1)