🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++
Article #278

C++ (G++, Actually) Under VxWorks

#278
From: Stu Lewin
Date: Mon, 06 Aug 1990 21:38
24 lines
1590 bytes
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)
Technical Details
Message-ID: <LEWIN.90Aug6173812@batman.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!sdd.hp.com!uakari.primate.wisc.edu!aplcen!uunet!rocket!lewin

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <LEWIN.90Aug6173812@batman.uucp>
Date: 6 Aug 90 21:38:12 GMT
Sender: news@rocket.UUCP
Followup-To: gnu.g++
Organization: Lockheed Sanders Inc.
Lines: 24