help-make
[Top][All Lists]
Advanced

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

Q: passing define values from Makefile to gcc?


From: Heiko Nardmann
Subject: Q: passing define values from Makefile to gcc?
Date: Thu, 16 Oct 2003 10:34:59 +0200
User-agent: KMail/1.5.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I currently have the problem that I want to pass a define from the Makefile to 
gcc with a value which contains a space.

gcc -D'mv=my value'

But everytime gcc only tries to treat "value" as a file and of course does not 
find it ...

How do I have to protect the expression to get it passed to gcc ?

- -- 
Heiko Nardmann (Dipl.-Ing. Technische Informatik)
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax  : +49 271 48950-50

Besuchen Sie uns
vom 20. - 24.10.2003 auf der Systems in München, Halle B2, Stand 315 und
vom 06. - 08.11.2003 auf der Comtec in Dresden, Halle 4, Stand B5.
Wir freuen uns auf das Gespräch mit Ihnen.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iEYEARECAAYFAj+OWDwACgkQpm53PRScYyhcAgCffVFSXKV3EVZXlwGp10wvqQqZ
Uj0AoN8Rr3w0FyA4BcOzZaZAsrD4n+oe
=skBV
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]