public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* EM64T processeur
@ 2005-09-07 14:26 BRENDLE Jean Marc
  2005-09-07 17:03 ` Arturas Moskvinas
  2005-09-07 20:23 ` static libary ok, dynamic not ok, multiple definiton error ivar
  0 siblings, 2 replies; 3+ messages in thread
From: BRENDLE Jean Marc @ 2005-09-07 14:26 UTC (permalink / raw)
  To: gcc-help

Hi,


Please can you tell me if Intel processeur EM64T are supported by gcc 4.0.1

thanks for all
best regards


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ecole et Observatoire des Sciences de la Terre
BRENDLE Jean Marc
5 rue renÃ… Descartes 67084 Strasbourg Cedex
tel. 03.90.24.00.26    fax 03.90.24.0125
Email JeanMarc.Brendle@eost.u-strasbg.fr

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

* Re: EM64T processeur
  2005-09-07 14:26 EM64T processeur BRENDLE Jean Marc
@ 2005-09-07 17:03 ` Arturas Moskvinas
  2005-09-07 20:23 ` static libary ok, dynamic not ok, multiple definiton error ivar
  1 sibling, 0 replies; 3+ messages in thread
From: Arturas Moskvinas @ 2005-09-07 17:03 UTC (permalink / raw)
  To: JeanMarc.Brendle; +Cc: gcc-help

> Please can you tell me if Intel processeur EM64T are supported by gcc 4.0.1

Intel EM64T (extended memory technology) named technology is the same
as AMD64, and gcc is supporting this target. So it means EM64T is
supported by gcc 4.0.1.

Arturas Moskvinas

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

* static libary ok, dynamic not ok, multiple definiton error
  2005-09-07 14:26 EM64T processeur BRENDLE Jean Marc
  2005-09-07 17:03 ` Arturas Moskvinas
@ 2005-09-07 20:23 ` ivar
  1 sibling, 0 replies; 3+ messages in thread
From: ivar @ 2005-09-07 20:23 UTC (permalink / raw)
  To: gcc-help

Hello,
have some c++ files which I would like to compile to shared library.
I use the command
g++ -shared libmylibrary.so file1.o file2.o ....

I can create the library, but when I try to compile with the user program
lp.cpp I get a problem:

g++ lp.cpp -L. -lmylibrary

I get at lot of "mulitple definition" errors on symbols like init_ fp_hw
and many others.

If I try to make a static library using
ar cru libmylibrary.a file1.o file2.o ....
rans libmylibrary.a

and then compile the main program there are no errors.

Can somebody help me out ?
Best regards,
IB

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

end of thread, other threads:[~2005-09-07 20:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-07 14:26 EM64T processeur BRENDLE Jean Marc
2005-09-07 17:03 ` Arturas Moskvinas
2005-09-07 20:23 ` static libary ok, dynamic not ok, multiple definiton error ivar

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).