[Fwd: Re: Link/Load problem using gpc Trap unit]
-------- Message d'origine -------- Sujet: Re: Link/Load problem using gpc Trap unit Date: Thu, 07 Apr 2005 18:17:09 +0100 De: Maurice Lombardi <Maurice.Lombardi@ujf-grenoble.fr> A: Angelo FUMAGALLI <Angelo.Fumagalli@alcatel.it> Références: <E1DIUER-00032L-00@hera.math.uni.wroc.pl><1112730270.11406.474775@goedel.fjf.gnu.de><003901c53b74$ef09f720$7c286297@Fumagalli> <1112886396.968.886374@goedel.fjf.gnu.de> <013601c53b8c$5a79a930$7c286297@Fumagalli> Angelo.Fumagalli@alcatel.it a écrit:
gpc pi.o ulib.a gpclib.a gcclib.a -o p.exe
gpclib.a or libgpc.a ??
to solve the undefined reference have I also to link the trap.o and trapc.o files???
yes, everything you need in that case, but when you link with gpc (instead of ld) it finds himself libgpc.a and libgcc.a (so a wrong name may succeed). Try to use the option -v to see what is done. Maurice -- Maurice Lombardi Laboratoire de Spectrometrie Physique, Universite Joseph Fourier de Grenoble, BP87 38402 Saint Martin d'Heres Cedex FRANCE Tel: 33 (0)4 76 51 47 51 Fax: 33 (0)4 76 63 54 95 mailto:Maurice.Lombardi@ujf-grenoble.fr -- Maurice Lombardi Laboratoire de Spectrometrie Physique, Universite Joseph Fourier de Grenoble, BP87 38402 Saint Martin d'Heres Cedex FRANCE Tel: 33 (0)4 76 51 47 51 Fax: 33 (0)4 76 63 54 95 mailto:Maurice.Lombardi@ujf-grenoble.fr
participants (1)
-
Maurice Lombardi