Subject: ARGH: cc on alpha
To: None <port-alpha@NetBSD.ORG, tv@pobox.com>
From: Tim Rightnour <root@garbled.net>
List: port-alpha
Date: 07/24/1998 03:20:05
Ok.. this one has me baffled:

rigel# cc foo.c -Wl,-rpath -Wl,/usr/X11R6/lib -I/usr/X11R6/include
-L/usr/X11R6/lib -lXpm

works fine.. same command on my 1.3 i386 box blows up.. however.. on the i386:
cc foo.c -R/usr/X11R6/lib -I/usr/X11R6/include -L/usr/X11R6/lib -lXpm

works fine.. and alpha:
rigel# cc foo.c -R/usr/X11R6/lib -I/usr/X11R6/include -L/usr/X11R6/lib -lXpm
cc: unrecognized option `-R/usr/X11R6/lib'
then proceeds to *ignore it* and make a broken binary...

How the heck do you create a portable build target like this??!

---
Tim Rightnour    -  root@garbled.net
http://www.zynetwc.com/~garbled/garbled.html