9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* $CC <---> $ALEF
@ 1994-08-12  7:04 Hans-Peter
  0 siblings, 0 replies; 3+ messages in thread
From: Hans-Peter @ 1994-08-12  7:04 UTC (permalink / raw)



Dear Sir,

thanks for your answer.

Hans-Peter Bischof






^ permalink raw reply	[flat|nested] 3+ messages in thread

* $CC <---> $ALEF
@ 1994-08-11 12:45 philw
  0 siblings, 0 replies; 3+ messages in thread
From: philw @ 1994-08-11 12:45 UTC (permalink / raw)


ALEF uses a different calling convention
from C. You cannot mix languages.






^ permalink raw reply	[flat|nested] 3+ messages in thread

* $CC <---> $ALEF
@ 1994-08-11  9:28 Hans-Peter
  0 siblings, 0 replies; 3+ messages in thread
From: Hans-Peter @ 1994-08-11  9:28 UTC (permalink / raw)




Hi,

i wan't to mix an alef source and a C source like this.

	$ALEF -w -c alef_src.l	--> alef_src.$O
	$CC   -w    cc_src.c	--> cc_src.$O
	$LD -o target alef_src.$O cc_src.$O

This failed, because some declarations in alef.h and /sys/include/*h
mismatch. An example:

	grep realloc alef.h
	void    *realloc(void*, uint);

	grep realloc *h libc.h
	extern   void*   realloc(void*, long);


and uint is not a long.


Question: Exist an alef implementation
          without these problems?


Thanks for your help.

-hp






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1994-08-12  7:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-08-12  7:04 $CC <---> $ALEF Hans-Peter
  -- strict thread matches above, loose matches on Subject: below --
1994-08-11 12:45 philw
1994-08-11  9:28 Hans-Peter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).