Public bug reported:

Binary package hint: gcc-4.5

-nostdlibs is a typo of -nostdlib. gcc silently ignores this type and
link to the standard libraries.

Sample output:
$ make -B no-header-files-example
gcc -Wall -pedantic -std=c99 -nostdlibs -o no-header-files-example 
no-header-files-example.c
$ ./no-header-files-example 
12565

** Affects: gcc-4.5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/796429

Title:
  Ignores wrong option -nostdlibs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/796429/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to