Wanted: Advice for using gcc

Wanted: Advice for using gcc

Post by Thomas Homme » Fri, 19 May 2000 04:00:00



Hi there
Im relatively new to Linux programming, so i`m looking for some info on
the GNU tools (gcc, ld, make ...). Can anybody point to some good sites,
books, etc. where to start?

Any help is appreciated
Tom
--
-------------------------
Thomas Hommel
Beam Enterprise GmbH
-------------------------
Remove NO SPAM from my address to reply to me.

 
 
 

Wanted: Advice for using gcc

Post by Andreas Kahar » Fri, 19 May 2000 04:00:00




Quote:> Hi there
> Im relatively new to Linux programming, so i`m looking for some info
on
> the GNU tools (gcc, ld, make ...). Can anybody point to some good
sites,
> books, etc. where to start?

There's HTML manuals online on the GNU site at
<URL:http://www.gnu.org/manual/manual.html>.

You may also browse "info documents" in Emacs, I think the right key
combination is "C-h i" ('control-h' and then 'i'), or simply give the
command "info gcc" or "info make" etc. in an 'xterm'.

/A

--
# Andreas K?h?ri, <URL:http://hello.to/andkaha/>.
# All junk email is reported to the appropriate authorities.

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Wanted: Advice for using gcc

Post by Floyd Davidso » Fri, 19 May 2000 04:00:00




>> Hi there
>> Im relatively new to Linux programming, so i`m looking for
>> some info on the GNU tools (gcc, ld, make ...). Can anybody
>> point to some good sites, books, etc. where to start?

>There's HTML manuals online on the GNU site at
><URL:http://www.gnu.org/manual/manual.html>.

>You may also browse "info documents" in Emacs, I think the right key
>combination is "C-h i" ('control-h' and then 'i'), or simply give the
>command "info gcc" or "info make" etc. in an 'xterm'.

>/A

Andreas always gives good advice.

One more thing you might want to do is find a few small packages
that are not too complicated (poke around on the ftp archives at
sunsite.unc.edu), and follow the instructions for compiling
them.  At first you probably want to avoid anything complicated
enough to require running a "configure" script.  Just something
with a simple Makefile.  You'll be able to look at the Makefile
and use it as an example, plus the various headers, modules,
etc. will all be instructive.

Look at half a dozen or more of those, and you will get a pretty
good idea where to start (or maybe where to start asking specific
questions! :-)

  Floyd

--

Ukpeagvik (Barrow, Alaska)

 
 
 

Wanted: Advice for using gcc

Post by Tony Sumn » Sat, 20 May 2000 04:00:00




>> books, etc. where to start?

You could try to look at UNIX Power Tools by Jerry Peek, Tim O'Reilly
and Mike Loukides, pub O'Reilly & Associates. Tells you everything.
--
Tony Sumner
to  e-mail me, substitute macaulay for nospam
 
 
 

1. getchar with gcc using pointers --using gcc not any other compiler

I need to make a same program to the below to getname and display it
and display certain character (certain element) .

#include <stdio.h>
/*
lesson01_creating_arrays_using_pointers.c */

main ()
{
float array_elements[50];
int no_array_elements;
int array_element_no;
input_array_elements(&no_array_elements,array_elements);
processing(no_array_elements,array_elements);
display_table(&array_element_no,array_elements);

input_array_elements(no_array_e,array_e)
//------------------------------------------------------
float *array_e;
int *no_array_e;
{
char another_element;
do {
printf ("Enter an array element :  ");
scanf("%f",&array_e[(*no_array_e)]);
printf ("More array_elements (y/n)  :  ");
scanf("\n");
scanf("%c",&another_element);
(*no_array_e)++;

processing(no_array_e,array_e)
//------------------------------------------------------
int no_array_e;
float *array_e;
{
float total=0;
int i=0;
do {
printf ("The array element no %d = %f\n",i,array_e[i]);
total=total+array_e[i];
i++;
printf ("\nThe average = %f\n",(float) total/no_array_e);

display_item(array_element_n,array_e)
//------------------------------------------------------
int *array_element_n;
float *array_e;
{
printf ("Enter an array element :  ");
scanf("%d",array_element_n);
printf ("\nThe array element is : %f \n",array_e[*array_element_n]);

2. forgot root password on AT&T System V Unix

3. problem compiling using -D__USE_MALLOC using gcc-2.95.2 on aix 4.3.3

4. Strange Ethernet Behaviour (WD 8003)

5. really slow NFS (was: Faster NFS wanted: advice solicited)

6. Security issue with Napster?

7. SCO OS5 - Advice Wanted

8. Altering MTU values (how to?)

9. Advice wanted in setting up LAN

10. Developing "Quicken" clone -- advice wanted

11. Wanted:: Server Advice!!

12. Advice Wanted: Ether 16 Lan Card by Linksys?

13. Advice wanted on mutual exclusion