G'day...
Re: 3.
Is your current directory set in your path? If not you'll need to supply a path to the executable
Ie. Instead of executing `a.out` you will need to execute `./a.out` or `/path/to/a.out`
gcc will produce files with the execute bit set.
Warmest regards
Mike
---
Michael S. E. Kraus
Network Administrator
Capital Holdings Group (NSW) Pty Ltd
p: (02) 9955 8000
"L ." <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 04/07/2003 09:14 PM
|
To: [EMAIL PROTECTED] cc: Subject: [SLUG] Newbie here.. a few basic dumb questions. |
Hi,
I appreciate the help.
I am running Redhat 6.0. Gnome Enlightenment.
1) I know that I must run pump to get my machine to
look for a DHCP server to get it's IP address.
I also know that I must put this pump /sbin/ifup to
make it run automatically, but I am not sure exactly
where to place it to ensure that it is run for all
occasions.
2) I have a Compaq Qvision 172 monitor and a SiS2326
video chipset. However, the screen still looks
somewhat "bulky" and not as hi-res as I would have
expected. Is there any way to find out exactly what I
can do?
3) I tried just a basic "Hello world" C prog to test
out gcc and g++ however, when I try to run the a.out,
it won't recognise it as an executable. Do I need to
link this file in some way? I've tried using chmod to
force it to be executable but to no avail.
Thanks in advance.
L.
http://mobile.yahoo.com.au - Yahoo! Mobile
- Check & compose your email via SMS on your Telstra or Vodafone mobile.
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug
-- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug