CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   source bashrc problem (

davedong August 14, 2011 22:21

source bashrc problem
i'm fresh in openfoam. i faced some troubles when i sourced /opt/openfoam201/etc/bashrc.

gcc error: unrecognized option --showme: compile
gcc error: unrecognized option --showme: link

ps: my gcc version is the latest, v4.6.1.

wyldckat August 15, 2011 15:43

Greetings Dong Liang,

You've given us too little information to go on.

I deduced by the little information you've provided that you might be using Ubuntu Oneiric, which is still under development, but it's the only Ubuntu that comes with gcc 4.6.1. So I popped the latest live CD into a virtual machine and installed it. Then installed the OpenFOAM Debian packages. And I did not have the same problems you've described.

So, if you would please describe what steps you've taken and which Linux distribution you are using, then maybe we can help you further!

Best regards,

All times are GMT -4. The time now is 14:26.