public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: PLEASE HELP!!
       [not found] <BAY101-F25251F0DA33E9BCA0D67E7A1CC0@phx.gbl>
@ 2005-07-28  2:59 ` Chris Garrett
  0 siblings, 0 replies; 13+ messages in thread
From: Chris Garrett @ 2005-07-28  2:59 UTC (permalink / raw)
  To: gcc

If you really need to just jump into it you can try Chinook
(http://www.degarrah.com/chinookfree.php). It's a cross platform IDE
that ships with GCC/GDB and is free.

Chris


louise kelliher wrote:

> Hiya, im wondering if you could help me, Im at my wits end and need to 
> cover c programming before I start a foundation internet technology 
> course in September. I have been trying for 2 weeks and cant get past 
> the first page. Please could you tell me how to download gcc -v on a 
> windows xp computer. I found a list but none of them said 
> MinGW-1.1.tar.gz and now I think Ive downloaded the wrong one as it 
> wont work, and also I dont know how to create a directory. Please help 
> me. Thanks for your time. Louise Kelliher
>
>
>
>
>
>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Please help!!!
  2019-05-06 13:02 Please help!!! Алексей Хилаев via gcc
  2019-05-06 15:30 ` Segher Boessenkool
@ 2019-05-06 18:12 ` Jim Wilson
  1 sibling, 0 replies; 13+ messages in thread
From: Jim Wilson @ 2019-05-06 18:12 UTC (permalink / raw)
  To: Алексей
	Хилаев
  Cc: GCC Development

On Mon, May 6, 2019 at 6:02 AM Алексей Хилаев via gcc <gcc@gcc.gnu.org> wrote:
> Gcc riscv won`t emit my insns, binutils and spike(riscv sim) work correctly, but gcc don`t. I want to add min/max for integer, gcc compiling correct, sim executing correctly.
> (define_insn "*min_<X:mode><GPR:mode>"
> [(set (match_operand:GPR 0 "register_operand" "=r")
> (smin:GPR (match_operand:X 1 "register_operand" " r")
> (match_operand:X 2 "register_operand" " r")))]
> ""
> "min\t%0,%1,%2"
> [(set_attr "type" "move")
> (set_attr "mode" "<X:MODE>")])

You must have patterns named sminXi3 where X can be s and/or d.
Likewise for smaxXi3.  Once the named patterns exist, then gcc will
automatically call the named patterns to generate RTL when
appropriate.  Then later passes like combine can create new RTL from
the min/max pattern RTL.  See for instance how the existing FP min/max
patterns work.  The pattern name is important.  You might also
consider adding uminXi3 and umaxXi3 patterns.  You can find a list of
supported named patterns in the gcc docs.

Also note that the RTL that you generate must look sensible.  You have
a smin:GPR operation that is accepting Xmode operands which is not OK.
The modes must match.  You can use sign_extend/zero_extend to
sign/zero extend a smaller mode to a larger mode, and subreg to reduce
a larger mode to a smaller one.   These will have to be separate
patterns.  But once you have the basic smin/smax patterns, combine can
create the sign_extend/whatever versions for you.  See for instance
how the addsi3 and addsi3_extend* patterns work.

Jim

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Please help!!!
  2019-05-06 13:02 Please help!!! Алексей Хилаев via gcc
@ 2019-05-06 15:30 ` Segher Boessenkool
  2019-05-06 18:12 ` Jim Wilson
  1 sibling, 0 replies; 13+ messages in thread
From: Segher Boessenkool @ 2019-05-06 15:30 UTC (permalink / raw)
  To: Алексей
	Хилаев
  Cc: gcc

On Mon, May 06, 2019 at 04:01:58PM +0300, Алек�1557147755�й Хилаев via gcc wrote:
> Gcc riscv won`t emit my insns, binutils and spike(riscv sim) work correctly, but gcc don`t. I want to add min/max for integer, gcc compiling correct, sim executing correctly.
> 
> (define_insn "*min_<X:mode><GPR:mode>"
> [(set (match_operand:GPR 0 "register_operand" "=r")
> (smin:GPR (match_operand:X 1 "register_operand" " r")
> (match_operand:X 2 "register_operand" " r")))]
> ""
> "min\t%0,%1,%2"
> [(set_attr "type" "move")
> (set_attr "mode" "<X:MODE>")])

You need to call the patterns "minsi3" and the like, if you want it to be
automatically generated.  Possibly combine can also make these patterns
for you; look at its dump file (-fdump-rtl-combine-all) to see what it
tried.


Segher

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Please help!!!
@ 2019-05-06 13:02 Алексей Хилаев via gcc
  2019-05-06 15:30 ` Segher Boessenkool
  2019-05-06 18:12 ` Jim Wilson
  0 siblings, 2 replies; 13+ messages in thread
From: Алексей Хилаев via gcc @ 2019-05-06 13:02 UTC (permalink / raw)
  To: gcc

Gcc riscv won`t emit my insns, binutils and spike(riscv sim) work correctly, but gcc don`t. I want to add min/max for integer, gcc compiling correct, sim executing correctly.

(define_insn "*min_<X:mode><GPR:mode>"
[(set (match_operand:GPR 0 "register_operand" "=r")
(smin:GPR (match_operand:X 1 "register_operand" " r")
(match_operand:X 2 "register_operand" " r")))]
""
"min\t%0,%1,%2"
[(set_attr "type" "move")
(set_attr "mode" "<X:MODE>")])

С уважением Алексей. телефон 8(904)169-90-96.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: Please help ...
  2005-06-03  6:42 ` Karel Gardas
@ 2005-06-03  7:04   ` Prafulla Shukla
  0 siblings, 0 replies; 13+ messages in thread
From: Prafulla Shukla @ 2005-06-03  7:04 UTC (permalink / raw)
  To: 'Karel Gardas'; +Cc: gcc

[-- Attachment #1: Type: text/plain, Size: 2279 bytes --]

Thanks for an extremely quick reply.
We could get this on one of the OS CDs. No hassles at all.

Regards,
Prafulla Shukla,
ISV,
Patni, Pune,
(W): +91 20 3984 4206
(W): +91 20 3984 4000 (X 4206)

-----Original Message-----
From: Karel Gardas [mailto:kgardas@objectsecurity.com]
Sent: Friday, June 03, 2005 12:12 PM
To: Prafulla Shukla
Cc: gcc@gcc.gnu.org
Subject: Re: Please help ...


On Fri, 3 Jun 2005, Prafulla Shukla wrote:

> Hi,
>
> We require
> gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)
                               ^^^^^^^

What about to try www.redhat.com ?

> This e-mail message may contain proprietary, confidential or legally
> privileged information for the sole use of the person or entity to
> whom this message was originally addressed. Any review, e-transmission
> dissemination or other use of or taking of any action in reliance upon
> this information by persons or entities other than the intended
> recipient is prohibited. If you have received this e-mail in error
> kindly delete  this e-mail from your records. If it appears that this
> mail has been forwarded to you without proper authority, please notify
> us immediately at netadmin@patni.com and delete this mail.

Please do not send such addition to the public mailing lists, especially 
when you expect help provided by people on them.

Karel
--
Karel Gardas                  kgardas@objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com

http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@patni.com and delete this mail. 
_____________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Please help ...
  2005-06-03  6:34 Please help Prafulla Shukla
@ 2005-06-03  6:42 ` Karel Gardas
  2005-06-03  7:04   ` Prafulla Shukla
  0 siblings, 1 reply; 13+ messages in thread
From: Karel Gardas @ 2005-06-03  6:42 UTC (permalink / raw)
  To: Prafulla Shukla; +Cc: gcc

On Fri, 3 Jun 2005, Prafulla Shukla wrote:

> Hi,
>
> We require
> gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)
                               ^^^^^^^

What about to try www.redhat.com ?

> This e-mail message may contain proprietary, confidential or legally
> privileged information for the sole use of the person or entity to
> whom this message was originally addressed. Any review, e-transmission
> dissemination or other use of or taking of any action in reliance upon
> this information by persons or entities other than the intended
> recipient is prohibited. If you have received this e-mail in error
> kindly delete  this e-mail from your records. If it appears that this
> mail has been forwarded to you without proper authority, please notify
> us immediately at netadmin@patni.com and delete this mail.

Please do not send such addition to the public mailing lists, especially 
when you expect help provided by people on them.

Karel
--
Karel Gardas                  kgardas@objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Please help ...
@ 2005-06-03  6:34 Prafulla Shukla
  2005-06-03  6:42 ` Karel Gardas
  0 siblings, 1 reply; 13+ messages in thread
From: Prafulla Shukla @ 2005-06-03  6:34 UTC (permalink / raw)
  To: gcc

[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]

Hi,

We require 
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)

on Intel Itanium2.

Please let us know where can I get this.

Thanks and Regards,
Prafulla Shukla,
ISV,
Patni, Pune,
(W): +91 20 3984 4206
(W): +91 20 3984 4000 (X 4206)

http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@patni.com and delete this mail. 
_____________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* PLEASE HELP!
  2005-05-03 13:58 PLEASE HELP! R Lokesh babu
  2005-05-03 14:19 ` Ian Lance Taylor
@ 2005-05-04  5:57 ` R Lokesh babu
  1 sibling, 0 replies; 13+ messages in thread
From: R Lokesh babu @ 2005-05-04  5:57 UTC (permalink / raw)
  To: gcc-help; +Cc: gcc, gcc

Hello,
My application (COMMERCIAL SOFTWARE) links to
libstdc++, By default Solaris OS
does not install the libstdc++ package
(libgcc-3.3-sol9-sparc-local.gz).
Can I re-distribute the lib-gcc package and install it
along with my application
installation. (Is it a violation of GPL?) :)
Or should my Installation validate and ask the user to
install lib-gcc himself 
and re-run the installation.? :(
Please clarify.
Thanks

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: PLEASE HELP!
  2005-05-03 13:58 PLEASE HELP! R Lokesh babu
@ 2005-05-03 14:19 ` Ian Lance Taylor
  2005-05-04  5:57 ` R Lokesh babu
  1 sibling, 0 replies; 13+ messages in thread
From: Ian Lance Taylor @ 2005-05-03 14:19 UTC (permalink / raw)
  To: R Lokesh babu; +Cc: gcc-help, gcc

R Lokesh babu <rlokesh_babu@yahoo.com> writes:

> My application (COMMERCIAL SOFTWARE) links to
> libstdc++, By default Solaris OS
> does not install the libstdc++ package
> (libgcc-3.3-sol9-sparc-local.gz).
> Can I re-distribute the lib-gcc package and install it
> along with my application
> installation. (Is it a violation of GPL?) :)
> Or should my Installation validate and ask the user to
> install lib-gcc himself 
> and re-run the installation.? :(

There is plenty of COMMERCIAL SOFTWARE which is distributed under the
GPL.  I assume that you mean that your application is proprietary, in
that you are distributing a binary without distributing the source
code.

First, I'll note that libstdc++-v3 is under a GPL+exception license.
Building objects using libstdc++-v3 header files, and linking them
into an executable with the libstdc++-v3 library, does not by itself
cause the binary to be covered by the GPL.

Now, to answer your question, you may distribute libstdc++-v3 itself.
However, that distribution is covered by the GPL, and if you
distribute it in binary form, you must also distribute the source
code, or otherwise make it available as described in the GPL.

Finally, I'll note that while I believe that the above is correct,
relying on mailing lists for legal advice is foolish.

Ian

^ permalink raw reply	[flat|nested] 13+ messages in thread

* PLEASE HELP!
@ 2005-05-03 13:58 R Lokesh babu
  2005-05-03 14:19 ` Ian Lance Taylor
  2005-05-04  5:57 ` R Lokesh babu
  0 siblings, 2 replies; 13+ messages in thread
From: R Lokesh babu @ 2005-05-03 13:58 UTC (permalink / raw)
  To: gcc-help; +Cc: gcc, gcc

Hello,
My application (COMMERCIAL SOFTWARE) links to
libstdc++, By default Solaris OS
does not install the libstdc++ package
(libgcc-3.3-sol9-sparc-local.gz).
Can I re-distribute the lib-gcc package and install it
along with my application
installation. (Is it a violation of GPL?) :)
Or should my Installation validate and ask the user to
install lib-gcc himself 
and re-run the installation.? :(
Please clarify.
Thanks

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: PLease help !
  2001-03-13  1:40 PLease help ! Sharon_Zehavi
  2001-03-13  3:51 ` Erik Mouw
@ 2001-03-13  6:33 ` Alexandre Oliva
  1 sibling, 0 replies; 13+ messages in thread
From: Alexandre Oliva @ 2001-03-13  6:33 UTC (permalink / raw)
  To: Sharon_Zehavi; +Cc: gcc

On Mar 13, 2001, Sharon_Zehavi@icominfosys.com wrote:

> I'm having difficulties in linking with gcc.

> collect2: ld terminated with signal 11 [Segmentation fault], core dumped

Nope.  Your difficulties are with ld.  It's part of GNU binutils, a
separate project.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: PLease help !
  2001-03-13  1:40 PLease help ! Sharon_Zehavi
@ 2001-03-13  3:51 ` Erik Mouw
  2001-03-13  6:33 ` Alexandre Oliva
  1 sibling, 0 replies; 13+ messages in thread
From: Erik Mouw @ 2001-03-13  3:51 UTC (permalink / raw)
  To: Sharon_Zehavi; +Cc: gcc

On Tue, Mar 13, 2001 at 10:36:25AM +0100, Sharon_Zehavi@icominfosys.com wrote:
> I'm having difficulties in linking with gcc. The command I enter is:
> 
> gcc xxx.o -L(something) -L(another something) -l(something) -l(another
> something) -o xxx
> 
> The message I get is:
> 
> collect2: ld terminated with signal 11 [Segmentation fault], core dumped
> 
> I'm working with Red-Hat Linux 7.0. By the way, compiling for object files
> went smoothly.

Sounds like a bug in your memory subsystem, or an overclocked CPU.
Please read the sig11 FAQ at:

  http://www.bitwizard.nl/sig11/


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* PLease help !
@ 2001-03-13  1:40 Sharon_Zehavi
  2001-03-13  3:51 ` Erik Mouw
  2001-03-13  6:33 ` Alexandre Oliva
  0 siblings, 2 replies; 13+ messages in thread
From: Sharon_Zehavi @ 2001-03-13  1:40 UTC (permalink / raw)
  To: gcc

Hello !

I'm having difficulties in linking with gcc. The command I enter is:

gcc xxx.o -L(something) -L(another something) -l(something) -l(another
something) -o xxx

The message I get is:

collect2: ld terminated with signal 11 [Segmentation fault], core dumped

I'm working with Red-Hat Linux 7.0. By the way, compiling for object files
went smoothly.

Thanks a lot in advance,

Sharon Zehavi

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-05-06 18:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <BAY101-F25251F0DA33E9BCA0D67E7A1CC0@phx.gbl>
2005-07-28  2:59 ` PLEASE HELP!! Chris Garrett
2019-05-06 13:02 Please help!!! Алексей Хилаев via gcc
2019-05-06 15:30 ` Segher Boessenkool
2019-05-06 18:12 ` Jim Wilson
  -- strict thread matches above, loose matches on Subject: below --
2005-06-03  6:34 Please help Prafulla Shukla
2005-06-03  6:42 ` Karel Gardas
2005-06-03  7:04   ` Prafulla Shukla
2005-05-03 13:58 PLEASE HELP! R Lokesh babu
2005-05-03 14:19 ` Ian Lance Taylor
2005-05-04  5:57 ` R Lokesh babu
2001-03-13  1:40 PLease help ! Sharon_Zehavi
2001-03-13  3:51 ` Erik Mouw
2001-03-13  6:33 ` Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).