unknown flag error?

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

 



I am trying to compile a bunch of files that have previously been tested elsewhere (so I know they are ok).

When I type
g++ -o prog  <my files>
I get the following output


In file included from /usr/local/lib/gcc/powerpc-apple-darwin8.6.0/4.2.0/../../../../include/c++/4.2.0/backward/iomanip.h:31,
                 from Array.h:13:
/usr/local/lib/gcc/powerpc-apple-darwin8.6.0/4.2.0/../../../../include/c++/4.2.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
getV0.h:19:48: warning: no newline at end of file
/usr/bin/ld: unknown flag: -macosx_version_min
collect2: ld returned 1 exit status



I think the warnings are unimportant however I do not know where this "unknown flag" is coming from.

I would appreciate any suggestions.

Thanks,
Jose

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux