linux-gcc-digest            Monday, May 29 2000        Volume 01 : Number 406

In this issue:

        Re: exception handling
        RE: exception handling
        RE: exception handling
        Re: exception handling
        fatty
        Process state
        Re: Process state
        c++ ide?
        Re: c++ ide?
        Re: c++ ide?
        This is for you
        Text parser
        Re: Text parser
        Re: Text parser
        binutils 2.9.5.0.41 is released.
        Re: Text parser
        strtod -  help.
        Re: strtod -  help.
        RE: strtod -  help.
        problems installing kdestudio
        Re: problems installing kdestudio
        binutils 2.9.5.0.42 is released.
        Strange problem
        RE: Strange problem
        Re: Strange problem
        Problem With fdopen
        Re: Strange problem
        Re: Strange problem
        errore nella compilazione
        Do me a favor!!
        Re: Do me a favor!!
        RE: Do me a favor!!
        Re: Do me a favor!!
        Re: Do me a favor!!

See the end of the digest for information on subscribing to the linux-gcc
or linux-gcc-digest mailing lists.

----------------------------------------------------------------------

From: "Martin v. Loewis" <[EMAIL PROTECTED]>
Date: Sun, 23 Apr 2000 22:18:53 +0200
Subject: Re: exception handling

> Am having a problem catching exceptions.
> I work with shared libraries, I throw an exception and catch it in the
> same dll. The problem is that it is not caught, instead I get a
> SIGABORT.
> The same code works for me on other Unix platforms, using the native
> compiler.
> Any ideas?

It's hard to tell, with as little information as you gave. A typical
problem is that not all code on the stack is compiled with
- -fexceptions; in particular, C code is often not compiled that way.
There could be hundreds of other reasons as well, of course.

Regards,
Martin


------------------------------

From: Eran Carmel <[EMAIL PROTECTED]>
Date: Mon, 24 Apr 2000 01:36:11 +0200
Subject: RE: exception handling

Thanx for the answer.
I did some more checking after my post, and the problem is exactly what you
say, the exception gets lost when it passes c code. I tried to compile the c
code with g++ but too many errors. Can I compile the c code with egcs and
still have exception handling in it?
Any help would be appreciated.

Thanx

Eran
- -----Original Message-----
From: Martin v. Loewis [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 23, 2000 10:19 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: exception handling


> Am having a problem catching exceptions.
> I work with shared libraries, I throw an exception and catch it in the
> same dll. The problem is that it is not caught, instead I get a
> SIGABORT.
> The same code works for me on other Unix platforms, using the native
> compiler.
> Any ideas?

It's hard to tell, with as little information as you gave. A typical
problem is that not all code on the stack is compiled with
- -fexceptions; in particular, C code is often not compiled that way.
There could be hundreds of other reasons as well, of course.

Regards,
Martin

------------------------------

From: [EMAIL PROTECTED]
Date: Sun, 23 Apr 2000 20:52:50 EDT
Subject: RE: exception handling

On Mon, 24 Apr 2000, Eran Carmel wrote:

> Thanx for the answer.
> I did some more checking after my post, and the problem is exactly what
you
> say, the exception gets lost when it passes c code. I tried to compile
the
> c
> code with g++ but too many errors. Can I compile the c code with egcs
and
> still have exception handling in it?
> Any help would be appreciated.
>
> Thanx
>
> Eran

Of course.  Martin just gave you the option to use.  Have a read of
info egcs

It is probably there.  It's in "info gcc" for gcc-2.95.1, which is only
a little newer.

egcs -fexceptions -o foo foo.c

Lawson
          >< Microsoft free environment

This mail client runs on Wine.  Your mileage may vary.

- ---cut here---





________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.

------------------------------

From: "Martin v. Loewis" <[EMAIL PROTECTED]>
Date: Mon, 24 Apr 2000 08:00:22 +0200
Subject: Re: exception handling

> I did some more checking after my post, and the problem is exactly what you
> say, the exception gets lost when it passes c code. I tried to compile the c
> code with g++ but too many errors. Can I compile the c code with egcs and
> still have exception handling in it?

You can compile the C code with -fexceptions.

Regards,
Martin

------------------------------

From: [EMAIL PROTECTED]
Date: Sun, 30 Apr 00 3:36:09 PM
Subject: fatty

Ever wanted to lose weight while sitting on your butt in front of the TV???

Well now you can!!     How you say?


With three powerful body organs working together to decrease metabolism, how will you 
ever lose those extra pounds? - Increase Metabolic Fat Burning! 



http://www.jumbomart.com/products/product.php/116/

Metabolic Thyrolean works on all three regulatory areas involved in metabolism. In the 
thyroid, Metabolic Thyrolean improves the conversion of thyroid hormones, which means 
that the more active hormones work for you instead of against you. It also fools the 
liver into thinking that you are storing plenty of ATP, which means that the liver has 
no reason to regulate your metabolism downward. Finally, in the brain, Metabolic 
Thyrolean provides the substrates to build neurotransmitters-without the need for 
calories. The final result is that metabolism remains elevated, with a positive effect 
on metabolism, calorie-burning and fat loss. This cutting edge formula takes a whole 
new approach to weight loss. 






1time mail of e-Fatnews. No more fat loss info will come unless you request it.
affid#1po836bbud7


------------------------------

From: "Murat Parlakisik" <[EMAIL PROTECTED]>
Date: Sun, 30 Apr 2000 23:02:41 -0700
Subject: Process state

HI

I need to dump process memory state (stack,text,.etc(. How can i do ?

------------------------------

From: [EMAIL PROTECTED]
Date: Tue, 02 May 2000 04:43:07 EDT
Subject: Re: Process state

On Sun, 30 Apr 2000, Murat Parlakisik wrote:

> HI
>
> I need to dump process memory state (stack,text,.etc(. How can i do ?
>
Depends on who you are and where you stand in relation to the process.
If you are programming the process, abort() will dump core to the
current working directory to a file named core - if there isn't one
alreafy - and you can read it with gdb. - if your program doesn't have a
handler for the abort signal, and it doesn't sound like it does.  If it
is a separate process, you can try sending it a signal it doesn't handle
or block with kill(1) and that will probably make it dump core.

Lawson
          >< Microsoft free environment

This mail client runs on Wine.  Your mileage may vary.

- ---cut here---





________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.

------------------------------

From: val <[EMAIL PROTECTED]>
Date: Tue, 02 May 2000 12:26:03 +0200
Subject: c++ ide?

hi all,

i'm looking for a good programming environment under linux. What i have
in mind is something like Borland's C++ Builder or Delphi. I'd like it
to have a graphic tool for building interfaces. I found Glade for Gnome
and it's not bad but i'm looking for something under KDE. Any
suggestions?

val

------------------------------

From: "Davide Libenzi" <[EMAIL PROTECTED]>
Date: Tue, 2 May 2000 12:34:56 +0200
Subject: Re: c++ ide?

http://www.kdevelop.org

\Davide

- --
Feel free, feel Debian !



------------------------------

From: "Donald Dade" <[EMAIL PROTECTED]>
Date: Tue, 02 May 2000 10:30:06 PDT
Subject: Re: c++ ide?

Check out www.kdevelop.org, I think it'll be exactly what you want. 
Although, it does force you to conform to GNU coding standards and directory 
structures. It does some other annoying things, like it tries to insert GPL 
license disclaimers in all your code, but it also has a decent dialog box 
editor and is overall the best free ide that I have been able to find so 
far.

Don


>From: val <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: linux-gcc <[EMAIL PROTECTED]>
>Subject: c++ ide?
>Date: Tue, 02 May 2000 12:26:03 +0200
>
>hi all,
>
>i'm looking for a good programming environment under linux. What i have
>in mind is something like Borland's C++ Builder or Delphi. I'd like it
>to have a graphic tool for building interfaces. I found Glade for Gnome
>and it's not bad but i'm looking for something under KDE. Any
>suggestions?
>
>val

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


------------------------------

From: <[EMAIL PROTECTED]>
Date: Thu, 4 May 2000 00:48:39
Subject: This is for you

Hi ! If the fact of receiving this message chocks you, please delete it immediately. I 
excuse myself sincerely. Your truly, 
thank you.

**********************************************************************************

AS EASY AS TRUE : GAIN $50,000 IN 3 MONTHS !
You wish to gain much money ?
Take a few minutes to read this message !

You�ll be delighted to know that you can make a lot of money on the Internet simply by 
sending e-maills. It pays well. It�s 
paying, easy and it�s legal. Try it !

This message is to inform you of the existance of a program a friend sent me. I hope 
that this program will interest you. You 
will find below the content of the e-mail she sent me. I must send this message to 
everyone if I want to make money. My 
friend explained to me that it works and that it�s very stimulating : � The e-mails 
arrive as if by magic ! �, she told me.

***********************************************************************************
CONTENT OF E-MAIL WE WORK WITH
Maybe you already have received a message similar to this one coming from someone 
else. Unless there is a mistake, this is 
the first and the last time that I send it to you. I am aware that you received this 
message without asking for it. If you 
don�t answer this e-mail, you won�t receive anything else from me.

But if you�re interested by this message, be sure that you�ll be happy to have read 
me, because I have a very interesting, 
honorable and lucrative proposal to make to you : nothing that would be illegal or 
immoral.

When I received this program myself, accidentaly, I saw in it an opportunity to 
circulate abondance through other people and 
to ameliorate my financial situation. I can tell you that it is now possible to make 
money from home with the wonderfull tool 
that is Internet. If we give it a try, by devoting 30 minutes to one hour per day, it 
works ! I would like to share with you 
this wonderful, exceptionnal and profit-earning business plan to develop at home. 
Consequently, I invite you to read 
attentively what follows and think that this is another scam because it seams too easy.

WHAT WAS SHOWN ON TV
Here is what you could have seen on tv recently. Because of the great popularity of 
this letter on the Internet, an important 
evening news program has devoted an entire broadcast to analyze if the following 
program could really generate money. In this 
broadcast, the letter was also analyzed to see if it was proposing something legal. 
What was discovered prooves once and for 
all that there is no law in America that fordids anyone from participating in this 
kind of work. This helped to demonstrate 
that it is a simple and pleasant way to make extra money at home. There are a lot of 
people implicated in this business.

Since more and more people make a lot of money with this program, it becomes very 
stimulating to join it. You will understand 
when you�ll experiment it !

*******************************************************************************

THE BUSINESS PLAN
(Print the following section to send it in the future)

EASY WAY TO MAKE MONEY
The increadible opportunity of this business plan is that it allows to begin by 
investing a very small amount of money, as 
well as generating extraordinary revenus. If you have the intention to make for 
example $50,000 in less than 90 days, this 
business plan will allow you to reach your financial goal !

A LEGITIMATE AND LEGAL OPPORTUNITY TO MAKE MONEY
Multilevel E-mail Report Business won its nobility rank. This is taught in the 
prestigious Harvard University at its 
specialized business school. The Stanford Research Centre and the Wall Street Journal 
foresee that 50% to 65% of all goods 
and services will soon by sold by the Multilevel E-Mail Business system. It is a 
growing industry of several millions that is 
expanding everyday. Among the 500,000 millionnaires of United States, 20% of them, 
that is to say, 100,000, won their fortune 
in investing in a network business. Statistics show that there are 50 new 
millionnaires every day from network 
commercialization.

TESTIMONY
Last year, Donald Trump was at the David Letterman tv show. Letterman asked him what 
he would do if he lost all his 
belongings and if he had to start from scratch. Without hesitation, Trump replied that 
he would find a good networking 
business and would start working there. The audience started to manifest its 
opposition. He then looked at the audience and 
said (insisting on these words): � This is the reason why I�m sitting here and you, 
you�re over there. �

The information that you will find here is something I would usually let go. 
Hopefully, a bit later, I read everything again, 
I tought about it and I studied the proposal in depth. My name is Jacques Brault. Two 
years ago, the business I worked for 
the last 12 years decided to reduce its staff and by job was abolished. After several 
infructuous interviews to find a job, I 
decided to start my own business. Last year, I encountered financial difficulties. I 
borrowed more thant 35 000 $ from family 
members and friends. The economy didn�t help my business and I couldn�t see the day 
when I would get out of this cycle. I had 
to borrow again by morgaging my house to help my family and continue my business 
venture.

Its about then that something very important happened in my life and I write this in 
order to share with you my experience 
hoping that it will change also your life for ever on the financial level. By mid 
december, I received this program by 
e-mail. Six months ago, I had asked for information regarding different business 
opportunities. All the programs that I had 
found were too difficult to understand or their initial investment was too high.

I never asked to receive the information about this present business opportunity. 
Someone discovered my nane in a postal 
list. After reading the message several times, I couldn�t believe my eyes. I had in my 
hands a phenomenal method to make 
money ! I could invest the amount of money I wanted in the beginning, without 
generating more depts. After I took some paper 
and pen, I analyzed it all and realized that the minimum I could receive was to 
recover the money I had invested. But, as 
most of you, I was still a bit sceptical and worried about the legal aspect of this 
all. Then, I checked this with the postal 
services at # 1-800-725-2161 and they confirmed that it was effectively legal. After 
making sure that it was legal and that 
the system didn�t consist of a chain of letters (meaning something pyramidal), I 
decided : � And why not me ! �.

Initial investment
At the beginning of my project, I sent 10 000 e-mails. My initial inverstment cost me 
$20 to purchase four reports. One 
formidable aspect of the e-mails is that it doesn�t cost anything for the printing of 
the message and of the reports : 
because all the informations are transmitted by e-mail and that this way of 
communicating virtually doesn�t require the same 
supports as those of traditionnal communications. The only investment to consider is 
your time : the time you spend on 
development of your business.

First step of the project
The goal of this system is to receive at least a minimum of 20 orders of REPORT # 1 
during the first two weeks of the 
project. If you don�t reach this goal, send more messages until you rise to it. Within 
a week, I started to receive orders 
for REPORT # 1. At January 13, I had already received 26 orders for REPORT # 1. The 
goal of my project was to gain $50,000 : 
I had reached this goal. 

Second step of the project
The goal is to receive a minimum of 100 orders and more for REPORT # 2 within two 
weeks. Otherwise, you must send more 
messages until you reach this goal. At January 30, I had received 196 orders for 
REPORT # 2.

Third step of the project
The rest of the project is easy. Relax ! You will attain your goal of $50,000 in no 
time. So I had 196 orders for REPORT # 2, 
96 more than my initial goal. So, I rested and relaxed. At the beginning of the month 
of March, I had received $58,000 for 
the sending of my first 10 000 e-mails. Everyday, more was coming in. I paied all my 
depts and bought a new car. 

This program works. Please, take the time to read this message. This will change your 
life forever. Remember, it won�t work 
unless you try it. I�m the living proof that I works! If you choose not to participate 
in this program, I�m sorry. You�re 
free to decide. I certify that it constitutes a great opportunity, a low cost 
investment at minimum risk. If you choose to 
participate, follow this program well and you will be on the road of financial 
security. If you�re a business person, 
consider this as a sign of times. This is what I did ! Sincerely ! Signed : Jacques 
Brault. 

GOLDEN RULES OF THE PROGRAM
For this program to work, you must obtain more than : 
- - 20 orders of REPORT # 1 ;
- - 100 orders and more of REPORT # 2 ;
- - and you will gain more than $50,000 in 90 days.

NOTE FROM THE PROGRAM CREATOR
By reading this program and its reports, you will conclude that it couldn�t havec been 
designed by an amateur. Let me 
introduce myself. Ten years ago, I had a business that worked well. Then, in 1979, my 
business started to go wrong. I was 
doing sensibly the same thing than when business was doing well. At last, I ended all 
of this.

You just received information that will lead you to financial freedom for the rest of 
your life without any risk and a little 
bit of efforts. In the next months, you will have the possibility to gain more money 
than you ever imagined. I made more than 
$4,000,000 ! I retired from this program after sending more thant 16 000 programs. 
Actually, I own several offices that work 
on this business and I have several other of these programs here and oversees.

TESTIMONY FROM ANOTHER PARTICIPANT
Mr. Jos� Jacobs (Richmond, VA)
Follow this program exactly according to its instructions. Don�t change anything ! It 
works extremely well as presented now. 
Remember that you must send a copy of this excellent report to anyone you think about. 
One of these persons could send the 
message to 50 000 others, and your name would be on each of them. Dont�t forget also 
that the more you send e-mails et the 
more chances you�ll have of reaching potential clients. I gave you ideas, information, 
the tools and the opportunity to 
become financially independant. It�s up to you to try it ! Think about it !

But first of all, take the time to read and to really think about this proposal. Take 
a pen and some paper and discover how 
it�s going to happen when you�ll participate. Take the worst response you could obtain 
and no matter how you�ll calculate it, 
you will make a lot of money. You will definitively recuperate your initial 
investment. All the initial doubts you had at the 
beginning will disappear when you�ll receive your first order. Because it works !


P R O G R A M    D E S C R I P T I O N

INSTRUCTIONS
This method allowing to accumulate capital works if you participate in it. This method 
is not a chain of letters (nor a 
pyramidal system) but a legal opportunity to make money.

Essentially, here is what we do. As for all multiple level business networks, we 
construct our business by recruting new 
partners and we sell them our products. In all the states of United States and in 
Canada, it is legal to enlist new partners 
for your business and with this method, you need a product for each amount of money 
received.

Orders are sent to you by mail and you transmit your REPORTS (your products) by 
e-mail, this way, you are not personally 
implicated in the sale, you don�t have to do door to door sollicitation. You 
accomplish all your business workin private from 
your own home, your store or your office. This is the largest multiple level business 
network of postal orders.

1 -  ORDER THE REPORTS : Order each of the 4 REPORTS described below (you won�t be 
able to sell them if you don�t order 
them).

To receive each of the 4 REPORTS, send by mail to the person listed below with the 
number of the REPORT:
- -   a bill of $5 (or its equivalent in another currency) ;
- -   the name and the # of the REPORT you are ordering ;
- -   your e-mail address ;
- -   your postal return address (in case of problem).

When you place an order, make sure that you are ordering each of the 4 REPORTS. You 
should save each of the 4 REPORTS in your 
computer in order to be able to sell them later. A few days later, you will receive, 
through your electronic mailbox, these 
four REPORTS. Save them in your computer : they will be accessible later when you�ll 
send them to the thousands of people 
that will order them.

2 -   RESPECT THE ORDRE OF THE NAMES : Be very careful not to modify the names of the 
persons listed besides each REPORT and 
their order on the list in a way that would be different from the one mentionned in 
the following steps. Otherwise, you might 
as well annihilate your efforts and your potential financial gains. When you will 
really understand the way that this system 
works, you will see how you wouldn�t be advantaged if you changed something to the 
list of names. Remerber: this method has 
been tested over several years now and, if you modify it the slightest, it just might 
not work anymore. 

a) Take a look at the list of REPORTS available (there are 4 of them) :

b) After having ordered the 4 REPORTS and having seen them, replace the name and the 
address of REPORT #1 by your own name 
and address. You will then become the recognized distributer of REPORT #1. And then, 
the ancien name of REPORT #1 will become 
associated with #2.

c) Move the name and address that was placed next to REPORT #2 to the REPORT #3.

d) Move the name and address that was placed next to REPORT #3 to the REPORT #4.

e) The name and address of the person that was placed next to REPORT #4 is removed 
from the list. This person has probably 
gained a large sum of money. Once again, make sure that you carefully recopy each name 
and address.

3 - SAVE THE DOCUMENTS : Entirely save this letter (including the modified names and 
addresses). Make no more changes to the 
instruction section.

4 - SEND THE LETTER EVERYWHERE : Frontiers don�t exist in Internet... So, don�t 
hesitate to conquest foreign markets.

Your cost of participating in this project is practically worthless: $20!, and 
evidently, you already have an Internet 
connexion, and it doesn�t cost anything to send e-mails.

HOW TO MAKE SURE THERE WILL BE LOTS OF PEOPLE AFTER YOU

METHOD # 1 : SEND VERY LARGE QUANTITIES OF E-MAILS
Let�s say that you decide to start on a small scale, just to see how it�s going to 
work. Suppose that you and the people that 
follow you send 2000 programs each. Suppose also that the postal responses are on a 
scale of 0,5%. (By using the right lists, 
the response could be much better). Moreover, a lot of people will send thousands of 
programs instead of just 2000. But, lets 
continue with this example when you send 2000 programs.

With 0,5% response, there would be only 10 orders for the REPORT #1. And these 10 
people would send each 2000 other programs 
for a total of 20 000. Of these 20 000 people with a response of 0,5%, you would 
obtain 100 orders for the REPORT #2. These 
100 persons would then send 2000 programs each, for a total of 200 000 programs sent 
and a response rate of 0,5% would bring 
you 2000 orders for the REPORT #3.

And these 1000 persons that would send 2000 programs each for a total of 2,000,000 
vous order 10,000 REPORT #4. That would be 
10,000 times $5 for you. Paid in cash! Your total income for this example would be of 
$50 + $500 + $5000 + $50 000 for a 
total of $55,550 !!!

Don�t forget that it is by supposing that 1990 persons on 2000 won�t send anything by 
mail and will throw everything in the 
garbage, that you will nonetheless succeed. Try to thing about what would happen if 
only half of the sollicited persons would 
send 100,000 programs instead of 2000. Believe me, several persons will do exactly as 
that and even more.

The REPORT #2 will explain you the best methods for transmitting large amounts of 
e-mails and will indicate you also where to 
get software designed for sending bulk e-mail. Moreover, this report will indicate you 
where to obtain e-mail lists.

METHOD #2 : PLACE ADDS ON THE INTERNET
Advertizing on the Internet is very cheap and there exists hundreds of free web sites 
where you can set  advertising.

Let�s say that you decide to start on a small scale just to see how it works. Suppose 
that your goal is to find 10 persons 
for participating at your first level. However, if you set a lot of free advertising 
on the Internet, you will get a larger 
response than the 10 orders expected. But, let�s consider that you would get 10 
responses at a first stage. 

1st LEVEL : You get 10 members : 10 X $5 = $50
2nd LEVEL : Your 10 members recruit 10 others : 100 X $5 = $500
3rd LEVEL : These 100 persons recruit 10 others : 1000 X $5 = $5,000
4th LEVEL : These 1000 persons recruit 10 others : 10 000 X $5 = $50,000
TOTAL : $55,550 

This example supposes that the participants will only recruit 10 persons each. Think 
about what would happen if each person 
would recruit 20 persons ! Several of these participants will obtain 100 persons and 
more for their first level.

About 50,000 new persons will begin this program every month.

HERE ARE THE 4 REPORTS AND WHERE YOU CAN ORDER THEM
NOTE - Always send $5 (or its equivalent in another device) in cash for each of the 4 
REPORTS. 
Always send your order by postal mail with a first class service. Make sure that the 
money is sufficiently hidden in the 
enveloppe between 2 sheets of paper and on one of these sheets, write :
- - the # and the name of the REPORT that you are ordering ;
- - your e-mail address ;
- - your postal address ;
- - your postal address on top of the enveloppe (in case of problem).

Don�t forget to sollicitate your family and friends !

_________________________________________________________

ORDER REPORT #1

Entitled : � The Insider�s Guide to Advertising for Free on the Internet �

FROM : Lyne ROBICHAUD
1829 Plessis Street, apt.#1
Montreal, Quebec, Canada 
H2L 2X9

_________________________________________________________

ORDER REPORT #2 

Entitled : � The Insider�s Guide to Sending Bulk E-mail on the Internet �

FROM : Karine ROSS
C.P. St-Andr�
B.P 32053
Montreal, Quebec, Canada
H2L 4Y5

_________________________________________________________

ORDER REPORT #3

Entitled : � The Secrets to Multimedia Marketing on the Internet �

FROM : Sylvain BLANCHETTE
190, Blanchette Street
Yamachiche, Quebec, Canada
G0X 3L0

- --_________________________________________________________

ORDER REPORT #4

Entitled : � How to become a Millionnaire utilizing the Power of Multilevel Marketing 
on the Internet �

FROM : Fran�ois BLANCHETTE
117, Marguerite Bourgeois Street
Yamachiche, Quebec, Canada
G0X 3L0
____________________________________________________________
SUCCESS RULES OF THUMBS

- -  Consider this plan as a business plan of your own.

- - Order the 4 REPORTS immediately! (you will have them available when orders will 
start to arrive). According to the law, 
when you receive an order with $5, you must send the corresponding product in order to 
conform to United States and Canadian 
by-laws regarding postal shipment and lotery by-laws.

- - Always provide service the same day of the reception of the order.

- - Be patient and persistant with this program. If you don�t receive 20 orders for 
the REPORT #1 within 2 weeks after starting 
your advertizing on the Internet, continue sending e-mails until you reach this goal. 
Then, a few weeks later, you should 
receive at least 100 orders for the REPORT #2. If you don�t receive this amount of 
orders, continue sending more e-mails 
until you reach this goal. Once you receive 100 orders or more of REPORT #2, you can 
start relaxing ! From this point, the 
system will fonction by itself and money will continue to circulate in the system.

IMPORTANT TO REMEMBER
Everytime that your name is put on the list, you are placed in a different state of 
status. You can follow your own 
progression by observing the quantity of reports of each number # that the 
participants will order. If you decide to generate 
more income, you can send another series of e-mails and start over the process. There 
is no limit to the income you could 
gain from this program !

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
* * * * * * * * * * * * * * * * * * * *

NOTE
If you need help to start a new business or to register a business or to find out how 
to declare your income, contact your 
local office of small business administration (a federal agency that provides free 
advice. This agency will answer your 
questions. Moreover, the Income Department offers free help by phone. It also offers 
free lectures about income taxes. If you 
have questions about the legality of this program and this letter, contact the 
Consumer Protection Office.




 
 
 
 
 
 
 
 
 
 
 
 
 
 

------------------------------

From: Karthik Vishwanath <[EMAIL PROTECTED]>
Date: Thu, 4 May 2000 21:35:29 -0400 (EDT)
Subject: Text parser

Hi,

I wanted to have my program accept parameters from a text file instead of
recompling the code everytime I want to change a few dynamic parameters.
The program is written in C, and text handling in C is quite a tedious
process (or am I mistaken?). The question is I will have identifiers and
numbers in my .rc file, which I want parsed and understood. The question
is can I find some other tool to do this and integrate it with C? 

Excuse me if I am on the wrong list with this one. 

Thanks,
- -Karthik.


------------------------------

From: [EMAIL PROTECTED]
Date: Fri, 05 May 2000 01:47:38 EDT
Subject: Re: Text parser

On Thu, 4 May 2000, Karthik Vishwanath wrote:

> Hi,
>
> I wanted to have my program accept parameters from a text file instead
of
> recompling the code everytime I want to change a few dynamic
parameters.
> The program is written in C, and text handling in C is quite a tedious
> process (or am I mistaken?). The question is I will have identifiers
and
> numbers in my .rc file, which I want parsed and understood. The
question
> is can I find some other tool to do this and integrate it with C?
>
> Excuse me if I am on the wrong list with this one.
>
> Thanks,
> -Karthik.
>
bison?  perl can interface with c.  What you want sounds like maybe a
fortran namelist, so you could define that in fortran, and use f2c to
convert it to c, or g77 to compile it.  If you want your rc file to be
able to assign numeric values to program variables by name, that sounds
awfully like a fortran namelist.

Lawson

          >< Microsoft free environment

This mail client runs on Wine.  Your mileage may vary.

- ---cut here---





________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.

------------------------------

From: "Shourya Sarcar" <[EMAIL PROTECTED]>
Date: Fri, 5 May 2000 10:07:28 +0530
Subject: Re: Text parser

Hi,
    Why don't you have an easy to decipher .rc file, say 1 line per
parameter, and fscanf() them as if you are reading from the keybd. I do
agree that string processing can be slightly tedious with C.. but in this
case there are not many reasons which i can think off.     You can think of
interfaces with Perl , as a second option.

A good place to throw this Q would be
[EMAIL PROTECTED]

BTW, are you from the same Dartmouth which spung up Kemeny and Kurtz
(BASIC ) way nback in 1964?

Are you thinking of changing the source-code during runtime ? what would you
need identifiers for ?

Pls write back, if necessary personally, in details .
Regards
Shourya

- ----- Original Message -----
From: Karthik Vishwanath <[EMAIL PROTECTED]>
To: linuxgcc <[EMAIL PROTECTED]>
Sent: Friday, May 05, 2000 7:05 AM
Subject: Text parser


> Hi,
>
> I wanted to have my program accept parameters from a text file instead of
> recompling the code everytime I want to change a few dynamic parameters.
> The program is written in C, and text handling in C is quite a tedious
> process (or am I mistaken?). The question is I will have identifiers and
> numbers in my .rc file, which I want parsed and understood. The question
> is can I find some other tool to do this and integrate it with C?
>
> Excuse me if I am on the wrong list with this one.
>
> Thanks,
> -Karthik.
>
>


------------------------------

From: "H . J . Lu" <[EMAIL PROTECTED]>
Date: Fri, 5 May 2000 08:09:32 -0700
Subject: binutils 2.9.5.0.41 is released.

On Fri, May 05, 2000 at 10:10:20AM +0200, Martin v. Loewis wrote:
> > Thanks for the tips.  Actually, before attempting to get the latest
> > GCC snapshot, I installed the latest binutils from HJ Lu
> > (2.9.5.0.37).  I'm not sure where they stand with respect to
> > "today's CVS binutils"...  Maybe HJ could comment on this...
> 
> I really meant "today's"; the relevant patch was checked in on
> Wednesday, I believe.
> 

binutils 2.9.5.0.41 has Martin's patch. Let me know if anything
is wrong on Linux.


H.J.
- ---
This is the beta release of binutils 2.9.5.0.41 for Linux, which is
based on binutils 2000 0502 plus various changes. It is purely for
Linux, although it has been tested on Solaris/Sparc and Solaris/x86
from time to time.

I am planning to make the public release soon. Please test it as much
as you can.

Please report any bugs related to binutils 2.9.5.0.41 to [EMAIL PROTECTED]

For arm-linux targets, there are some important differences in behaviour 
between these tools and binutils 2.9.1.0.x.  The linker emulation name has 
changed from elf32arm{26} to armelf_linux{26}.  Also, the "-p" flag must be 
passed with the linker when working with object files (or static libraries) 
created using older versions of the assembler.  If this flag is omitted the 
linker will silently generate bad output when given old input files.

To get the correct behaviour from gcc, amend the *link section of your specs 
file as follows:

*link:
%{h*} %{version:-v}    %{b} %{Wl,*:%*}    %{static:-Bstatic}    %{shared:-shared}    
%{symbolic:-Bsymbolic}    %{rdynamic:-export-dynamic}    %{!dynamic-linker: 
-dynamic-linker /lib/ld-linux.so.2}    -X    %{mbig-endian:-EB} %{mapcs-26:-m 
armelf_linux26} %{!mapcs-26:-m armelf_linux} -p


Changes from binutils 2.9.5.0.37:

1. Update from binutils 2000 0502.
2. Support STV_HIDDEN and STV_INTERNAL.

Changes from binutils 2.9.5.0.35:

1. Update from binutils 2000 0418.
2. Fix an ld demangle style option bug.

Changes from binutils 2.9.5.0.34:

1. Update from binutils 2000 0412. Fix a relocation bug which affects
the Linux kernel compilation.
2. An ELF/PPC linker script update.

Changes from binutils 2.9.5.0.33:

1. Update from binutils 2000 0404. Fix the bug report bug.

Changes from binutils 2.9.5.0.32:

1. Update from binutils 2000 0403. Fix the 16bit ia32 assembler bug.

Changes from binutils 2.9.5.0.31:

1. Update from binutils 2000 0331. Fix the Linux/ARM assembler bug.
2. Fix a Debian assembler security bug.

Changes from binutils 2.9.5.0.29:

1. Update from binutils 2000 0319.
2. An ELF/alpha bug is fixed.

Changes from binutils 2.9.5.0.27:

1. Update from binutils 2000 0301.
2. A demangler bug is fixed.
3. A better fix for undefined symbols with -Bsymbolic when building
shared library.

Changes from binutils 2.9.5.0.24:

1. Update from binutils 2000 0204.
2. Added -taso to linker on alpha.
3. Fixed a -shared -Bsymbolic bug when PIC is not used.

Changes from binutils 2.9.5.0.22:

1. Update from binutils 2000 0113.
2. A symbol version bug is fixed.
3. A -Bsymbolic bug is fixed.

Changes from binutils 2.9.5.0.21:

1. Update from binutils 1999 1202.
2. Remove a MIPS/ELF change.
3. Enable SOM for HPPA.

Changes from binutils 2.9.5.0.19:

1. Update from binutils 1999 1122. An ia32 gas bug is fixed.

Changes from binutils 2.9.5.0.16:

1. Update from binutils 1999 1104.
2. i370 is changed to use EM_S370 and ELFOSABI_LINUX. Update readelf.
3. Fix Compaq's demangler support.

Changes from binutils 2.9.5.0.14:

1. Update from binutils 1999 1012. A gas bug which affects Linux 2.3.21
is fixed.
2. i370 update.
3. The new demangler code. You should use "--style=xxx" to select the
demnangle style instead of "--lang=xxx".

Changes from binutils 2.9.5.0.13:

1. Update from binutils 1999 0925.
2. Fix a -s and linker script bug.

Changes from binutils 2.9.5.0.12:

1. Update from binutils 1999 0922.
2. i370 update.

Changes from binutils 2.9.5.0.11:

1. Update from binutils 1999 0910. It fixed a PIC linker bug on ix86
   and sparc introduced in the last release.
2. i370 update.

Changes from binutils 2.9.5.0.10:

1. Update from binutils 1999 0906. It fixed a PIC linker bug on ix86
   and sparc.
2. Remove elf/hppa since it is WIP.

Changes from binutils 2.9.5.0.8:

1. Update from binutils 1999 0831. It allows spaces around '(' and ')'
   in x86 FP register names.

Changes from binutils 2.9.5.0.7:

1. Update from binutils 1999 0821.
2. Some MIPS changes.

Changes from binutils 2.9.5.0.6:

1. Update from binutils 1999 0813.
2. i370 update.

Changes from binutils 2.9.5.0.5:

1. Update from binutils 1999 0809. An ELF/Sparc ld bug is fixed.

Changes from binutils 2.9.5.0.4:

1. Update from binutils 1999 0806. A Solaris/Sparc gas bug is fixed.
2. Remove mips gas patches from binutils 2.9.1.0.25.

Changes from binutils 2.9.5.0.3:

1. Update from binutils 1999 0801.
2. Support for real mode x86 gcc.

Changes from binutils 2.9.4.0.8:

1. Update from binutils 1999 0719. A libc 5 related bug fix.
2. Fix a typo in mips gas.

Changes from binutils 2.9.4.0.7:

1. Update from binutils 1999 0710. A weak symbol bug

http://egcs.cygnus.com/ml/egcs-bugs/1999-07/msg00129.html

is fixed.

Changes from binutils 2.9.4.0.6:

1. Update from binutils 1999 0626.

Changes from binutils 2.9.4.0.5:

1. Update from binutils 1999 0620.
2. Remove my fwait fix and use the one in cvs.
3. Use "--only-section=section" instead of "--extract-section=section".
   for objcopy.

Changes from binutils 2.9.4.0.4:

1. Update from binutils 1999 0612.
2. Remove various temporary fixes of mine since those bugs are fixed
   now.

Changes from binutils 2.9.4.0.3:

1. Update from binutils 1999 0611.
2. Remove my ELF/Alpha bfd changes.
3. Use the local symbol copy fix in binutils 1999 0611.

Changes from binutils 2.9.4.0.2:

1. Update from binutils 1999 0607.
2. Remove my Sparc hacks.
3. Fix local symbol copy.

Changes from binutils 2.9.4.0.1:

1. Update from binutils 1999 0606.
2. Restore relocation overflow checking in binutils 2.9.1.0.25 so that
   Linux kernel can build.
3. Fix i370 for the new gas.

Changes from binutils 1999 0605:

1. Fix a -Bsymbolic bug for Linux/alpha.
2. Add ELF/i370.
3. Fix 8/16-bit relocations for i386.
4. Add --redefine-sym=old_form=new_form to objcopy.
5. Add "-j section" for objcopy.
6. Fix i386 disassembler for fwait.
7. Fix a Sparc asm bug.
8. Add Ada demangle support.
9. Fix MIPS/ELF bugs.
10. Add some vxworks suppport.
11. Fix a.out assembler.

The file list:

1. binutils-2.9.5.0.41.tar.gz. Source code.
2. binutils-2.9.5.0.37-2.9.5.0.41.diff.gz. Patch against the previous
   beta source code.
3. binutils-2.9.5.0.41-1.i386.rpm. IA-32 binary RPM for RedHat 6.2.

There is no separate source rpm. You can do

# rpm -ta binutils-2.9.5.0.41.tar.gz

to create both binary and source rpms.

The primary ftp sites for the beta Linux binutils are:

1. ftp://ftp.valinux.com/pub/support/hjl/binutils

Thanks.


H.J. Lu
[EMAIL PROTECTED]
05/05/2000

------------------------------

From: Rik Hemsley <[EMAIL PROTECTED]>
Date: Fri, 5 May 2000 19:50:16 +0100
Subject: Re: Text parser

#if Karthik Vishwanath
> Hi,
> 
> I wanted to have my program accept parameters from a text file instead of
> recompling the code everytime I want to change a few dynamic parameters.
> The program is written in C, and text handling in C is quite a tedious
> process (or am I mistaken?). The question is I will have identifiers and
> numbers in my .rc file, which I want parsed and understood. The question
> is can I find some other tool to do this and integrate it with C? 

You can use fscanf (dangerous), write your own mini parser (easy and
safer), or use one of the libraries written specifically for the
purpose. You might want to check out libproplist.

Rik


------------------------------

From: Karthik Vishwanath <[EMAIL PROTECTED]>
Date: Sat, 6 May 2000 00:14:52 -0400 (EDT)
Subject: strtod -  help.

Hi,

I am confused about the call and the return vals. The defn, says: 
- -------------------
double strtod(const char *nptr, char **endptr)

RETURN VALUES
       The strtod function returns the converted value, if any.

       If endptr is not NULL, a pointer to  the  character  after
       the last character used in the conversion is stored in the
       location referenced by endptr.

       If no conversion is performed, zero is  returned  and  the
       value  of  nptr  is  stored  in the location referenced by
       endptr.

       If the correct value would cause overflow, plus  or  minus
       HUGE_VAL is returned (according to the sign of the value),
       and ERANGE is stored in errno.  If the correct value would
       cause  underflow, zero is returned and ERANGE is stored in
       errno.
- -------------------

So if nptr="1000 00 junk", then the return value must be 0 and the
expression (*endptr == nptr) must be true, right? I am not able to emulate
this. What am I missing? 

Thanks,
- -Karthik.


------------------------------

From: [EMAIL PROTECTED]
Date: Sat, 06 May 2000 03:01:58 EDT
Subject: Re: strtod -  help.

On Sat, 6 May 2000, Karthik Vishwanath wrote:

> Hi,
>
> I am confused about the call and the return vals. The defn, says:
> -------------------
> double strtod(const char *nptr, char **endptr)
>
> RETURN VALUES
>        The strtod function returns the converted value, if any.
>
>        If endptr is not NULL, a pointer to  the  character  after
>        the last character used in the conversion is stored in the
>        location referenced by endptr.
>
>        If no conversion is performed, zero is  returned  and  the
>        value  of  nptr  is  stored  in the location referenced by
>        endptr.
>
>        If the correct value would cause overflow, plus  or  minus
>        HUGE_VAL is returned (according to the sign of the value),
>        and ERANGE is stored in errno.  If the correct value would
>        cause  underflow, zero is returned and ERANGE is stored in
>        errno.
> -------------------
>
> So if nptr="1000 00 junk", then the return value must be 0 and the
> expression (*endptr == nptr) must be true, right? I am not able to
emulate
> this. What am I missing?

Wrong.
Conversion is performed.  Glibc aims to please.  strtod returns
1.000000e+03, having stopped at the blank (it will skip leading spaces,
but having got its teeth into a number, it chokes on a blank) amd endptr
will be nptr+4.  Look at _all_ your results.  Is the return value 0 or
NAN?
Also, read all of the fine manual:
DESCRIPTION
       The  strtod() function converts the initial portion of the
                                            ^^^^^
       string pointed to by nptr to double representation.
>
> Thanks,
> -Karthik.
>
Lawson
          >< Microsoft free environment

This mail client runs on Wine.  Your mileage may vary.

- ---cut here---





________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.

------------------------------

From: =?iso-8859-1?Q?Thomas_B=E4tzler?= <[EMAIL PROTECTED]>
Date: Sat, 6 May 2000 10:32:52 +0200 
Subject: RE: strtod -  help.

Hi,

> Karthik Vishwanath [SMTP:[EMAIL PROTECTED]] asked:
> I am confused about the call and the return vals. The defn, says: 
> double strtod(const char *nptr, char **endptr)
> 
> So if nptr="1000 00 junk", then the return value must be 0 and the
> expression (*endptr == nptr) must be true, right? I am not able to emulate
> this. What am I missing?
> 
The return value is (double) 1000, and if you pass a reference
to a char pointer as the second argument, it will point to the
blank between 1000 and 00 after the call.

HTH,
Thomas

------------------------------

From: val <[EMAIL PROTECTED]>
Date: Sat, 06 May 2000 18:10:51 +0200
Subject: problems installing kdestudio

hi all,

it's some time I'm trying to install kdestudio. I always get many errors
after the make command. I don't know how to get out of the problem. I
downloaded the latest versions of Qt (as recommended by kdestudio's
author) and kdestudio itself.

Why doesn't the standard procedure work?

val


------------------------------

From: [EMAIL PROTECTED]
Date: Tue, 09 May 2000 18:43:30 EDT
Subject: Re: problems installing kdestudio

On Sat, 6 May 2000, val wrote:

> hi all,
>
> it's some time I'm trying to install kdestudio. I always get many
errors
> after the make command. I don't know how to get out of the problem. I
> downloaded the latest versions of Qt (as recommended by kdestudio's
> author) and kdestudio itself.
>
> Why doesn't the standard procedure work?
>
> val
>
Probably, you are missing some or all of the gnu toolchain that is
needed to compile it.  I don't know kdestudio specifically, but you
cannot compile "Hello, world" without glibc-devel, gcc/egcs, binutils.
kde-anything would also need XFree86-devel also.  You can tell from the
error messages what is missing.

Lawson

It is impossible to make anything foolproof because fools are so
ingenious.
- ---cut here




________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.

------------------------------

From: "H . J . Lu" <[EMAIL PROTECTED]>
Date: Fri, 12 May 2000 14:47:09 -0700
Subject: binutils 2.9.5.0.42 is released.

This is the beta release of binutils 2.9.5.0.42 for Linux, which is
based on binutils 2000 0512 plus various changes. It is purely for
Linux, although it has been tested on Solaris/Sparc and Solaris/x86
from time to time.

I am planning to make the public release soon. Please test it as much
as you can.

Please report any bugs related to binutils 2.9.5.0.42 to [EMAIL PROTECTED]

For arm-linux targets, there are some important differences in behaviour 
between these tools and binutils 2.9.1.0.x.  The linker emulation name has 
changed from elf32arm{26} to armelf_linux{26}.  Also, the "-p" flag must be 
passed with the linker when working with object files (or static libraries) 
created using older versions of the assembler.  If this flag is omitted the 
linker will silently generate bad output when given old input files.

To get the correct behaviour from gcc, amend the *link section of your specs 
file as follows:

*link:
%{h*} %{version:-v}    %{b} %{Wl,*:%*}    %{static:-Bstatic}    %{shared:-shared}    
%{symbolic:-Bsymbolic}    %{rdynamic:-export-dynamic}    %{!dynamic-linker: 
-dynamic-linker /lib/ld-linux.so.2}    -X    %{mbig-endian:-EB} %{mapcs-26:-m 
armelf_linux26} %{!mapcs-26:-m armelf_linux} -p


Changes from binutils 2.9.5.0.41:

1. Update from binutils 2000 0512.
2. Add testsuite for ELF visibility.

Changes from binutils 2.9.5.0.37:

1. Update from binutils 2000 0502.
2. Support STV_HIDDEN and STV_INTERNAL.

Changes from binutils 2.9.5.0.35:

1. Update from binutils 2000 0418.
2. Fix an ld demangle style option bug.

Changes from binutils 2.9.5.0.34:

1. Update from binutils 2000 0412. Fix a relocation bug which affects
the Linux kernel compilation.
2. An ELF/PPC linker script update.

Changes from binutils 2.9.5.0.33:

1. Update from binutils 2000 0404. Fix the bug report bug.

Changes from binutils 2.9.5.0.32:

1. Update from binutils 2000 0403. Fix the 16bit ia32 assembler bug.

Changes from binutils 2.9.5.0.31:

1. Update from binutils 2000 0331. Fix the Linux/ARM assembler bug.
2. Fix a Debian assembler security bug.

Changes from binutils 2.9.5.0.29:

1. Update from binutils 2000 0319.
2. An ELF/alpha bug is fixed.

Changes from binutils 2.9.5.0.27:

1. Update from binutils 2000 0301.
2. A demangler bug is fixed.
3. A better fix for undefined symbols with -Bsymbolic when building
shared library.

Changes from binutils 2.9.5.0.24:

1. Update from binutils 2000 0204.
2. Added -taso to linker on alpha.
3. Fixed a -shared -Bsymbolic bug when PIC is not used.

Changes from binutils 2.9.5.0.22:

1. Update from binutils 2000 0113.
2. A symbol version bug is fixed.
3. A -Bsymbolic bug is fixed.

Changes from binutils 2.9.5.0.21:

1. Update from binutils 1999 1202.
2. Remove a MIPS/ELF change.
3. Enable SOM for HPPA.

Changes from binutils 2.9.5.0.19:

1. Update from binutils 1999 1122. An ia32 gas bug is fixed.

Changes from binutils 2.9.5.0.16:

1. Update from binutils 1999 1104.
2. i370 is changed to use EM_S370 and ELFOSABI_LINUX. Update readelf.
3. Fix Compaq's demangler support.

Changes from binutils 2.9.5.0.14:

1. Update from binutils 1999 1012. A gas bug which affects Linux 2.3.21
is fixed.
2. i370 update.
3. The new demangler code. You should use "--style=xxx" to select the
demnangle style instead of "--lang=xxx".

Changes from binutils 2.9.5.0.13:

1. Update from binutils 1999 0925.
2. Fix a -s and linker script bug.

Changes from binutils 2.9.5.0.12:

1. Update from binutils 1999 0922.
2. i370 update.

Changes from binutils 2.9.5.0.11:

1. Update from binutils 1999 0910. It fixed a PIC linker bug on ix86
   and sparc introduced in the last release.
2. i370 update.

Changes from binutils 2.9.5.0.10:

1. Update from binutils 1999 0906. It fixed a PIC linker bug on ix86
   and sparc.
2. Remove elf/hppa since it is WIP.

Changes from binutils 2.9.5.0.8:

1. Update from binutils 1999 0831. It allows spaces around '(' and ')'
   in x86 FP register names.

Changes from binutils 2.9.5.0.7:

1. Update from binutils 1999 0821.
2. Some MIPS changes.

Changes from binutils 2.9.5.0.6:

1. Update from binutils 1999 0813.
2. i370 update.

Changes from binutils 2.9.5.0.5:

1. Update from binutils 1999 0809. An ELF/Sparc ld bug is fixed.

Changes from binutils 2.9.5.0.4:

1. Update from binutils 1999 0806. A Solaris/Sparc gas bug is fixed.
2. Remove mips gas patches from binutils 2.9.1.0.25.

Changes from binutils 2.9.5.0.3:

1. Update from binutils 1999 0801.
2. Support for real mode x86 gcc.

Changes from binutils 2.9.4.0.8:

1. Update from binutils 1999 0719. A libc 5 related bug fix.
2. Fix a typo in mips gas.

Changes from binutils 2.9.4.0.7:

1. Update from binutils 1999 0710. A weak symbol bug

http://egcs.cygnus.com/ml/egcs-bugs/1999-07/msg00129.html

is fixed.

Changes from binutils 2.9.4.0.6:

1. Update from binutils 1999 0626.

Changes from binutils 2.9.4.0.5:

1. Update from binutils 1999 0620.
2. Remove my fwait fix and use the one in cvs.
3. Use "--only-section=section" instead of "--extract-section=section".
   for objcopy.

Changes from binutils 2.9.4.0.4:

1. Update from binutils 1999 0612.
2. Remove various temporary fixes of mine since those bugs are fixed
   now.

Changes from binutils 2.9.4.0.3:

1. Update from binutils 1999 0611.
2. Remove my ELF/Alpha bfd changes.
3. Use the local symbol copy fix in binutils 1999 0611.

Changes from binutils 2.9.4.0.2:

1. Update from binutils 1999 0607.
2. Remove my Sparc hacks.
3. Fix local symbol copy.

Changes from binutils 2.9.4.0.1:

1. Update from binutils 1999 0606.
2. Restore relocation overflow checking in binutils 2.9.1.0.25 so that
   Linux kernel can build.
3. Fix i370 for the new gas.

Changes from binutils 1999 0605:

1. Fix a -Bsymbolic bug for Linux/alpha.
2. Add ELF/i370.
3. Fix 8/16-bit relocations for i386.
4. Add --redefine-sym=old_form=new_form to objcopy.
5. Add "-j section" for objcopy.
6. Fix i386 disassembler for fwait.
7. Fix a Sparc asm bug.
8. Add Ada demangle support.
9. Fix MIPS/ELF bugs.
10. Add some vxworks suppport.
11. Fix a.out assembler.

The file list:

1. binutils-2.9.5.0.42.tar.gz. Source code.
2. binutils-2.9.5.0.41-2.9.5.0.42.diff.gz. Patch against the previous
   beta source code.
3. binutils-2.9.5.0.42-1.i386.rpm. IA-32 binary RPM for RedHat 6.2.

There is no separate source rpm. You can do

# rpm -ta binutils-2.9.5.0.42.tar.gz

to create both binary and source rpms.

The primary ftp sites for the beta Linux binutils are:

1. ftp://ftp.valinux.com/pub/support/hjl/binutils

Thanks.


H.J. Lu
[EMAIL PROTECTED]
05/12/2000

------------------------------

From: Junaid Iqbal <[EMAIL PROTECTED]>
Date: Mon, 15 May 2000 12:30:16 +0100
Subject: Strange problem

Hi,
I m getting segmentaion fault while accessing Pass in the function
GetCookie.
when i try to initialize it to zero its giving seg fault. working fine
on User.
any idea what i m doing wrong?

Thanks.


#include <stdio.h>
#include <string.h>
int main (void){
  char User[16], Pass[16];
  GetCookie(&User,&Pass);
}
int GetCookie(char **User, char **Pass){
   bzero(*User,15);
   bzero(*Pass,15);
   return(1);
}




------------------------------

From: =?iso-8859-1?Q?Thomas_B=E4tzler?= <[EMAIL PROTECTED]>
Date: Mon, 15 May 2000 10:24:01 +0200
Subject: RE: Strange problem

Hi,

> Junaid Iqbal [SMTP:[EMAIL PROTECTED]] asked:
> any idea what i m doing wrong?
> 
> #include <stdio.h>
> #include <string.h>
> int main (void){
>   char User[16], Pass[16];
>   GetCookie(&User,&Pass);
> }
> int GetCookie(char **User, char **Pass){
>    bzero(*User,15);
>    bzero(*Pass,15);
>    return(1);
> }
> 
First, do declare the subroutine before you call it.
Either use a prototype, or put the function in the
source before main (). Second, you define main
as returning an int, but you don't return any.
Third, bzero only needs a char *:

#include <stdio.h>
#include <string.h>

int GetCookie(char *User, char *Pass){
     bzero(User,15);
     bzero(Pass,15);
     return(1);
}

int main (void){
  char User[16], Pass[16];
  GetCookie(User,Pass);
  return( 0 );
}

HTH,
Thomas

------------------------------

From: [EMAIL PROTECTED]
Date: Mon, 15 May 2000 17:49:31 -0500 (CDT)
Subject: Re: Strange problem

It's been rumoured that Junaid Iqbal said:
> 
> Hi,
> I m getting segmentaion fault while accessing Pass in the function
> GetCookie.
> when i try to initialize it to zero its giving seg fault. working fine
> on User.
> any idea what i m doing wrong?
> 
> Thanks.

You've got too many * and &  
The & is idempotent viz applying it 'a second time' doesn't magically
create a pointer where there is none.

try it yourself:
printf ("its %p %p %p\n", User, &User, &User[0]);

> 
> 
> #include <stdio.h>
> #include <string.h>
> int main (void){
>   char User[16], Pass[16];
>   GetCookie(&User,&Pass);
> }
> int GetCookie(char **User, char **Pass){
>    bzero(*User,15);
>    bzero(*Pass,15);
>    return(1);
> }
> 
> 
> 


------------------------------

From: Kurt Wall <[EMAIL PROTECTED]>
Date: Fri, 19 May 2000 07:23:42 -0600
Subject: Problem With fdopen

A representative program illustrating the problem:

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

int main(void)
{
        FILE *fp;
        int fd;

        fd = open("foo.c", O_RDONLY);
        if (fd < 0) {
                perror("foo.c: open");
                exit(EXIT_FAILURE);
        } else 
                fp = fdopen(fd, "r");

        if(file == NULL) {
                perror("foo.c: fdopen");
                close(fd);
                exit(EXIT_FAILURE);
        } else {
                fclose(fp);
                close(fd);
        }
        exit(EXIT_SUCCESS);
}

gcc (2.91) complains about implicitly declared function fdopen
and an uncast pointer:

$ gcc -ansi -Wall foo.c
foo.c: In function `main':
foo.c:18: warning: implicit declaration of function `fdopen'
foo.c:18: warning: assignment makes pointer from integer without a cast

I'm a touch stumped: fdopen is declared in <stdio.h> and most certainly
returns FILE *.  If I don't use `-ansi', I get no warnings, so I'm
guessing the issue is that fdopen is POSIX.1 compliant, but not ANSI
compliant.

Thanks,

Kurt

------------------------------

From: Ralf Baechle <[EMAIL PROTECTED]>
Date: Sat, 20 May 2000 11:14:04 +0200
Subject: Re: Strange problem

On Mon, May 15, 2000 at 10:24:01AM +0200, Thomas B�tzler wrote:

> First, do declare the subroutine before you call it.
> Either use a prototype, or put the function in the
> source before main (). Second, you define main
> as returning an int, but you don't return any.
> Third, bzero only needs a char *:
> 
> #include <stdio.h>
> #include <string.h>
> 
> int GetCookie(char *User, char *Pass){
>      bzero(User,15);
>      bzero(Pass,15);
>      return(1);
> }
> 
> int main (void){
>   char User[16], Pass[16];
>   GetCookie(User,Pass);
>   return( 0 );
> }

In some C environments it's actually legal for main() to return without
a value; there the C compiler will threat this as equivalent to return 0;.
This is not true for gcc on Linux, there main() will return a random
value.

Some C compilers are fairly paranoid and will complain if you don't
properly declare the arguments for main().

Just a few notes by somebody who has been dealing with portability
problems again and again.

  Ralf

------------------------------

From: Kurt Wall <[EMAIL PROTECTED]>
Date: Sat, 20 May 2000 06:44:47 -0600
Subject: Re: Strange problem

On Sat, May 20, 2000 at 11:14:04AM +0200, Ralf Baechle wrote:
% 
% In some C environments it's actually legal for main() to return without
% a value; there the C compiler will threat this as equivalent to return 0;.
% This is not true for gcc on Linux, there main() will return a random
% value.

IANAL, but I don't think there is ever a situation in which it is "legal"
for main to return without a value, since the ANSI/ISO standard states
that main returns int.  The standard does not say *which* int is returned,
but compliant compilers are required to return *some* int.  I would think
that, in the environments you mention, that what main returns is up to the 
compiler builder.

% Some C compilers are fairly paranoid and will complain if you don't
% properly declare the arguments for main().

Complaining is the desirable behavior, IMHO.  I haven't a copy of the
current or the new standard (C9X) in front of me, but I have never
quite understood why ANSI/ISO C says that main returns int but does
not require the compiler to issue a diagnostic if you declare it 
as returning, say, void.
 
% Just a few notes by somebody who has been dealing with portability
% problems again and again.

Regards,

Kurt

------------------------------

From: "Futura" <[EMAIL PROTECTED]>
Date: Fri, 26 May 2000 16:55:44 +0200
Subject: errore nella compilazione

Versione egcs-2.91.66

il tipo di errore e':
warning: control reaches end of non-void function


Grazie.

------------------------------

From: vito <[EMAIL PROTECTED]>
Date: Mon, 29 May 2000 13:52:30 +0800
Subject: Do me a favor!!

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

- ------_=_NextPart_001_01BFC932.7140BE40
Content-Type: text/plain;
        charset="big5"

May i ask you one question?
How could I make one executable file????
I make one file and use
GCC -o file file.c
and I cannot execute the file.
The error message is the "bash : file :  command not found".
Why????
Please help to resolve the problem.
Thank you.                              vito

- ------_=_NextPart_001_01BFC932.7140BE40
Content-Type: text/html;
        charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dbig5">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>Do me a favor!!</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">May i ask you one question?</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">How could I make one executable =
file????</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">I make one file and use</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">GCC -o file file.c</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">and I cannot execute the file.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">The error message is the &quot;bash : =
file :&nbsp; command not found&quot;.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Why????</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Please help to resolve the =
problem.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Thank =
you.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vito</FONT>
</P>

</BODY>
</HTML>
- ------_=_NextPart_001_01BFC932.7140BE40--

------------------------------

From: [EMAIL PROTECTED]
Date: Mon, 29 May 2000 02:33:43 EDT
Subject: Re: Do me a favor!!

On Mon, 29 May 2000, vito wrote:

>
> May i ask you one question?
> How could I make one executable file????
> I make one file and use
> GCC -o file file.c
> and I cannot execute the file.
> The error message is the "bash : file :  command not found".
> Why????

Because it didn't find it where it looks for commands.

> Please help to resolve the problem.
> Thank you.                            vito

execute the file like this:  ./file

This is linux-gcc.  The current directory is not in the search path for
commands unless you edit your shell startup file[s] and put it there,
(the folks who make distros think it is bad security policy to be able
to run things from your current directory without meaning to) so if you
want to run file in the current directory you must make explicit
reference to the current directory with ./file.  Of course, absolute
pathname will also work.

> ------_=_NextPart_001_01BFC932.7140BE40
> Content-Type: text/html;
>       charset="big5"
> Content-Transfer-Encoding: quoted-printable
You do not need to repeat yourself in HTML.  We can read ASCII.

Lawson
- ---cut here




________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.

------------------------------

From: =?iso-8859-1?Q?Thomas_B=E4tzler?= <[EMAIL PROTECTED]>
Date: Mon, 29 May 2000 11:21:51 +0200
Subject: RE: Do me a favor!!

Hi,

> vito [SMTP:[EMAIL PROTECTED]] asked:
> 
> May i ask you one question? 
> How could I make one executable file???? 
> I make one file and use 
> GCC -o file file.c 
> 
This makes an executable, unless you get a
compile error.

> and I cannot execute the file. 
> 
Before you fiddle with the compiler, you
really should read a book about the shell.

> The error message is the "bash : file :  command not found". 
> Why???? 
> 
Because "." is not in your current path. So,
either do a

        export PATH=$PATH:.

or start your program as

        ./file

The second method is the preferred method.

Another typical luser error is to name test
programs "test" - and then wonder why it
does not seem to do anything :-)

HTH,
Thomas

------------------------------

From: [EMAIL PROTECTED]
Date: Mon, 29 May 2000 15:07:16 -0500 (CDT)
Subject: Re: Do me a favor!!

It's been rumoured that [EMAIL PROTECTED] said:
> 
> 
> 
> On Mon, 29 May 2000, vito wrote:
> 
> >
> > May i ask you one question?
> > How could I make one executable file????
> > I make one file and use
> > GCC -o file file.c
> > and I cannot execute the file.
> > The error message is the "bash : file :  command not found".
> > Why????
> 
> Because it didn't find it where it looks for commands.

Actually, because it found /usr/bin/file instead, and you failed to
provide an argument.   'file' is a unix command.

Note that it is also a bad idea to call your test program 'test'
because /usr/bin/test is aonther unix command.

- --linas

> 
> > Please help to resolve the problem.
> > Thank you.                          vito
> 
> execute the file like this:  ./file
> 
> This is linux-gcc.  The current directory is not in the search path for
> commands unless you edit your shell startup file[s] and put it there,
> (the folks who make distros think it is bad security policy to be able
> to run things from your current directory without meaning to) so if you
> want to run file in the current directory you must make explicit
> reference to the current directory with ./file.  Of course, absolute
> pathname will also work.
> 

------------------------------

From: [EMAIL PROTECTED]
Date: Mon, 29 May 2000 17:29:03 EDT
Subject: Re: Do me a favor!!

On Mon, 29 May 2000 [EMAIL PROTECTED] wrote:

> It's been rumoured that [EMAIL PROTECTED] said:
> >
> > Because it didn't find it where it looks for commands.
>
> Actually, because it found /usr/bin/file instead, and you failed to
> provide an argument.   'file' is a unix command.
>
> Note that it is also a bad idea to call your test program 'test'
> because /usr/bin/test is aonther unix command.
>
> --linas

True.  I read file as <file> and responded that way, since the original
post contained:

> > The error message is the "bash : file :  command not found".

which is a bit improbable if file is literally file.

Lawson


"The obvious mathematical breakthrough would be development of an easy
way to factor large prime numbers." - Bill Gates "The Road Ahead" p265

"The irony of the information age is that it has given new
respectability to uninformed opinion." John Lawton

- ---cut here




________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.

------------------------------

End of linux-gcc-digest V1 #406
*******************************

To subscribe to linux-gcc-digest, send the command:

        subscribe linux-gcc-digest

in the body of a message to "[EMAIL PROTECTED]".  If you want
to subscribe something other than the account the mail is coming from,
such as a local redistribution list, then append that address to the
"subscribe" command; for example, to subscribe "local-linux-gcc":

        subscribe linux-gcc-digest [EMAIL PROTECTED]

A non-digest (direct mail) version of this list is also available; to
subscribe to that instead, replace all instances of "linux-gcc-digest"
in the commands above with "linux-gcc".

Reply via email to