RE: g77 problem with -lstdc++

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

 



Paul Smith wrote:
|On Sun, Apr 27, 2008 at 10:50 PM, Daniel B. Thurman 
|<dant@xxxxxxxxx> wrote:
|> Paul Smith wrote:
|>  |>  Actually, I am trying to compile Algacan from
|>  |>
|>  |>  http://www.ime.usp.br/~egbirgin/tango/codes.php
|>  |>
|>  |>  and I am not being successful.
|>  |
|>  |In addition, see
|>  |
|>  |http://www.ime.usp.br/~egbirgin/tango/c.php
|>  |
|>
[
snip - long explaination: cannot compile bundle
        but was able to run "toy" test applications.
]
|
|Thanks, Daniel. Have you tried toyprob.c? The C interface is the
|problematic one as well as the R one.
|

The "R" one?  Dunno what you are talking about.

As for C/C++, just individually download each file as instructed
on the download page but in addition, include algencan.f since
that file was ommitted from the page.  Need this to complete
compilation.

Both gcc(C) and g++(C++) "toy" interfaces compiles and runs.

> make
g++ -O4 -Df2cFortran -c cwrapper.c
g++ -O4 -Df2cFortran -c toyprob.c
g77 -O4 -xf77-cpp-input -c algencan.f
g++ -O4 -Df2cFortran -c algencanma.c
g77 -O4 -lstdc++ cwrapper.o toyprob.o algencanma.o algencan.o \
                        -o algencanma

./algencanma - runs, no problem.
(will not output results, no point.)


No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 4/26/2008 2:17 PM
 

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux