Re: g77 problem with -lstdc++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Instead of futzing with all that and since you're not compiling any fortran here,
just linking, try:
	gcc -O4 -lstdc++ cwrapper.o toyprob.o algencanma.o algencan.o -o algencanma
(you might need to add "-lfortran" or some such if your main program is in Fortran).

Hope this helps,

libstdc++ is a standard library - when linking with with gcc or g++ you
really should need to specify it by hand, so just remove the -lstdc++

Chris

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux