yet another gcc prob

Gerard Beekmans gerard at
Mon Jul 31 13:40:27 PDT 2000

> no i removed both dirs before i compiled.


Create $LFS/test.c file containing
// begin test.c
#include <stdio.h>
int main() {
return 0 }
// end test.c

enter chroot, compile and execute with:
chroot $LFS bash --login
gcc -o /test /test.c

Does it print 'hi' or complains about no such file or directory?

Gerard Beekmans

-*- If Linux doesn't have the solution, you have the wrong problem -*-
Mail archive:
IRC access: server: port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)

More information about the lfs-dev mailing list