GCC Problem July 21, 2008
Posted by genetical in Techincal Support.Tags: c, compile error, external, external reference, gcc
add a comment
It seems that GCC is broken when it comes to trying to compile source code that contains external references to object files/DLL’s/etc. When compiling, it says, “gcc: installation problem, cannot exec ‘cc1plus’” No such file or directory“. Now I have tried reinstalling GCC and it still seems to be broken. Maybe someone else has a clue as to how we can fix this? To see the code that generates this error go on Sylow at “/home/steve/chris/redo/” and run the command “sudo gcc -c exRef.C“. The code will compile as C++ source if you modify the code by uncommenting the “extern “C” ” stuff and run the command “sudo g++ -c exRef.C” but we need to be able to do this in C in order to use the hello2.C program we have.
-Chris
C++ external calls to Fortran executables July 14, 2008
Posted by genetical in boinc.Tags: api, c, external, fortran, link
add a comment
On Sylow at /home/summer/wrappertest, there are two folders: simple and boinc-broken. The former contains source code for both PC and Linux, of which the PC source code is stable and the Linux source is stable to the extent of making external calls, but its respective Fortran-executable is not currently working. In the latter is PC source code that implements the BOINC API but is not properly linked to the BOINC API yet. I am using the following site now as a guide and hope to have the PC code linked with the BOINC API in the coming days:
http://www.spy-hill.com/~myers/help/boinc/boinc-on-windows.html
-Chris