[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] problem with includepath in mintlib
- To: mint <mint@fishpool.com>
- Subject: [MiNT] problem with includepath in mintlib
- From: Miro Kropacek <miro.kropacek@gmail.com>
- Date: Thu, 02 Oct 2008 00:25:56 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=B/ZfTAWVK73UAa5atE+JLRj0PXsIMKypL9A0LF2Fjdw=; b=M67EU6LcLr7HPtKBg4YyWsRQrjMWpsaDf6S2trvoOkRYGoutRkrgcohha+aNpk9Q4h Zfct4/v6pddSRv1cp7f8t+DUlp8KyXzAcnbnpv/YhY+11fGyxlDgkGFpP+NGvpkvtMjO xJmYYFt2sLV7XGimodLINgS/ngg18y/Yu5Lxo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; b=oBTXfPoBqA0rgJw9hPARhjhMLwrMmqG81UBPqTFrgxtXDCNw47IMKctrxznKFbjTK2 2KUc3UQNggbIKoVVGez8g5qw90lsIGw4qxS6avpj9BDzg+5ltw1tuYS0E07MRa5DYxS0 saEDkEaOVTmURp4y1XXakywdp89i2OQfrdmZc=
- List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
- List-id: <mint.lists.fishpool.fi>
- List-owner: <mailto:tjhukkan@fishpool.fi>
- List-post: <mailto:mint@lists.fishpool.fi>
- List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
- List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
- Organization: Mystic Bytes
- Sender: mint-bounce@lists.fishpool.fi
- User-agent: Thunderbird 2.0.0.17 (X11/20080925)
Hi,
I'm playing with mintlib cross compilation and I again noticed strange
bug which appears at least to me since I tried to cross compile mintlib
for the first time.
It's the line in checkrules and buildrules:
-I$(top_srcdir)/mintlib -I$(top_srcdir)/stdlib
-I$$(<$(top_srcdir)/includepath)
when I use $(top_srcdir)/includepath with some paths, gcc will
completely ignore it. After closer look I see it just uses '-I' (but
this is only visible in debug output -- on the screen that command looks
right!) instead if -I/and/whatever/was/int/that/file ... funny thing,
when I copy&paste the broken compilation command, compilation succeeded.
I tried this:
-I$(top_srcdir)/mintlib -I$(top_srcdir)/stdlib -I`cat
$(top_srcdir)/includepath`
i.e. I did the same, just used another syntax -- and it works. My
question is -- what's wrong here? It seems like some macro-expansion
problem but I wasn't able to catch it.
--
MiKRO / Mystic Bytes
http://mikro.atari.org