03-12-2002
For C++, you would use "g++" to compile, not gcc. gcc is a C compiler. You can, of course, simply save the code in a text file using your favorite editor, then compile.
Check the man page for g++ for more info.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!
I have a little prob with dialing up to the internet... When I try connect, it says "Sorry, modem is busy"...
Specs:
Laptop
56K modem
Slackware 8.0
Kernel 2.4.5
Cheers;) (4 Replies)
Discussion started by: satan404
4 Replies
2. UNIX for Dummies Questions & Answers
I cant get my modem to work. Linux just isn't recognizing it.
every time I typed wvdial, i get a message saying my modem is not responding
I tried looking for drivers at the website Neo directed me to but I just couldn't find the right one
from the information I was given about my modem... (2 Replies)
Discussion started by: TRUEST
2 Replies
3. UNIX for Dummies Questions & Answers
Ok. I tried following the directions from some of the other threads, but I've hit a road block.
I have red hat 7.3 and I installed the hcf package:
hcfpcimodem-0.99lnxtbeta03042700k2.4.18_3-1rh.i386.rpm
It installed ok, no errors, but I still can't get linux to find my modem. I've tried... (2 Replies)
Discussion started by: lawadm1
2 Replies
4. Solaris
when I use the on-board modem.........and I dial in I get the login prompt
when I enter id and password it gives..........invalid login....
i hv sun fire 280R system
pls help me urgently........i m frustated
thx
girish (3 Replies)
Discussion started by: girish_shukla
3 Replies
5. BSD
hi
I want to setup my cable modem under OpenBSD. I did not configure my network while installing the system.
When I type, I get
# ifconfig -a
lo0 : ....
...
...
rl0 : ....
...
...
vr0 : ...
...
...
I have two network cards (the machine will be a router).
I created... (1 Reply)
Discussion started by: fnoyan
1 Replies
6. Solaris
Hi,
I have USB Siemens Santis 100 ADSL modem.I need driver for this modem on Solaris 10.Please help me with some info.Platform is x86.Thanks. (2 Replies)
Discussion started by: Upravnik
2 Replies
7. SCO
We have problem with new USRobotics modem (V.92). Old one was also USRobotics but K56. I put all jumpers at this same positions like old has, but we still can get connection (modem not responding). New modem works fine under winXP. SCO OpenServer R5 installed (console only). Any idea? (2 Replies)
Discussion started by: JackTheKnife
2 Replies
8. Programming
Hi All,
I am having problem with kerberos kadmin library in c++.
I am using red hat linux Enterprise Linux Server release 5 (Tikanga), and gcc c++ - 4.1.1-52.el4.i386.
When I make a c project (main.c) and use function from kadmin library such as
kadm5_init_krb5_context(&context); ... (2 Replies)
Discussion started by: amitp
2 Replies
9. Ubuntu
Hi
I would like to ask if someone knows the explaination of the /dev/ttyUSB*. I had a internet connection 3G usb dongle modem and need to restart before it detected the mobile broadband in the network manager. Before i reinstalled the lucyd lynxs i never meet this problem. But after i... (0 Replies)
Discussion started by: jao_madn
0 Replies
10. Hardware
I was wondering if anyone had any knowledge about how these routers work.. I bought a Netgear C3700 modem router on eBay about a month ago and couldn't get it to broadcast internet, neither wired nor wireless. When I plug it in and turn it on, all lights come on, but the internet light keeps... (2 Replies)
Discussion started by: milhan
2 Replies
LEARN ABOUT CENTOS
sdl-config
sdl-config(1) General Commands Manual sdl-config(1)
NAME
sdl-config - script to get information about the installed version of SDL
SYNOPSIS
sdl-config [ --prefix[=DIR] ] [ --exec-prefix[=DIR] ] [ --version ] [ --cflags ] [ --libs ] [ --static-libs ]
DESCRIPTION
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.
OPTIONS
--cflags
Print the compiler flags that are necessary to compile a program or library that uses SDL.
--exec-prefix=DIR
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.
--prefix=DIR
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.
--static-libs
Print the linker flags that are necessary to statically link a program that uses SDL.
--version
Prints the currently installed version of SDL on standard output.
EXAMPLES
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.
AUTHOR
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)