Doing simple I/O in clntsrv example

Björn Döbel doebel at os.inf.tu-dresden.de
Sat May 17 19:17:12 CEST 2014


Am 17.05.2014 17:47, schrieb Marcus Hähnel:
> Hi Valentin,
> 
> On 2014-05-17 13:00, Valentin Hauner wrote:
>> I did not change the Makefile, so g++ is used for compiling (and not
>> gcc). I've added
>>> CXX_FLAGS = -lstdc++
>> but that doesn't help.
>>

In addition to what Marcus already said, note that in many build systems
adding a library to CXXFLAGS will not do what you want. CXXFLAGS is
meant to contain parameters passed to the *compiler*, whereas LDFLAGS is
GNU/Make's standard variable to contain *linker* flags.

Just nitpicking thouhg ;)
Bjoern




More information about the l4-hackers mailing list