Xref: utzoo gnu.g++:1019 comp.lang.c++:8829 comp.realtime:804 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!sdd.hp.com!uakari.primate.wisc.edu!aplcen!uunet!rocket!lewin From: lewin@rocket.uucp (Stu Lewin) Newsgroups: gnu.g++,comp.lang.c++,comp.realtime Subject: C++ (G++, Actually) Under VxWorks Message-ID: Date: 6 Aug 90 21:38:12 GMT Sender: news@rocket.UUCP Followup-To: gnu.g++ Organization: Lockheed Sanders Inc. Lines: 24 I'm somewhat new to C++ programming, so please bear with the naivete of this question: I want to write some C++ code to run under VxWorks on a Motorola-147 board (it's either that or Ada ;-) I am using a Sun3, g++ (Version 1.37, I think) and VxWorks (Version 4.02). I've written C code and gotten that to work OK, but when I try to build something with C++ I get a number of unresolved symbols at download time to the board. My command line argument for linking is: "g++ -r -o $@ -nostdlib -static $(OBJECTS)" where the objects have all been compiled with: "g++ -O -sun3 -DDEBUG -c file.cc" I guess what I'm asking is two fold: (1) Has anyone ever done this before? and if not, (2) Do I stand a chance of getting it to work? Please reply via email, and I will summarize any replies I get to the net. Thanks! -- Stu Lewin Lockheed Sanders, Inc. Ada Projects Leader PO Box 2034, MER24-1583C Signal Processing Center of Technology Nashua, NH 03061-2034 uunet!rocket!lewin 603/885-0179 (Voice) (or) rocket!lewin@savax.Sanders.COM 603/88500631 (FAX)