This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GCC won't compile


--- Donald Brinkman <brinkman@omi.com> wrote:
> I have been working on porting an IRIX application into a windows
> environment, and I am using Cygwin for the creation of a DLL. I have managed
> to work through all the kinks in compiler differences, and all of my source
> now compiles to the object level.  Before I try to construct the library, I
> want to make sure that everything still works the way it should, so I
> fetched over a test program that uses the functions that will be in the
> library and tried to compile it with the following command:
> 
> gcc foobar.c++ -I ./ -w
> 
> The compiler spits out a bunch of warnings, but creates an object file just
> fine.  On link, though, I get a whole bunch of the following:
> 

You've used the wrong frontend.  Instead of gcc use g++.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]